Duplicate values in Drop downs

T

Tam

Hi, I am very new to Infopath and XML.. I donno if this would be the right
place to ask this question or not..
I have a dependent list created using an XML file .. There are two drop
downs in my form Test Plan Names and Test Group Names. Test Group Names are
dependent on Test Plan Names. I am getting duplicate values in Test Plan
Names Drop down when I use this XML code...

<TestPlans>
<TestGroup TestPlan="A">AA</TestGroup>
<TestGroup TestPlan="A">AB</TestGroup>
<TestGroup TestPlan="A">AC</TestGroup>

<TestGroup TestPlan="B">BA</TestGroup>
<TestGroup TestPlan="B ">BB</TestGroup>
<TestGroup TestPlan="B">BC</TestGroup>
</TestPlans>

Now I have the Drop down Test Plan Names as AAABBB and the second drop down
is able to get the values based on the TestPlan.. No problem.

I want to get AB in the first drop down and depending on first drop down
value selected second drop down values should show up .. e.g if A is 1st, 2nd
should be AAABAC. Would appreciate if anyone can help me with this.. any
other machanism also should be good other than this xml file which I got it
in one of discussion form.

Thanks in Advance.. Tam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top