HI all, i am new to infopath sp1. I have an XML file as the Datasource for
one of the fields (field1) on the form. I have the same XML file as a
datasource for a different field (field2) on the form. Based on the value
chosen in field1, i want to filter the data in field2. How could i do this?
Based on the XML below when the user selects "TestApp1" in field1 i would
like to show two roles in field2 (Test APP1 Role1, Test APP1 Role2)
XML looks like below.
<XMLNS...>
<Root>
<Application name="TestApp1">
<Role>Test APP1 Role1</Role>
<Role>Test APP1 Role2</Role>
</Application>
<Application name="TestApp2">
<Role>Test APP2 Role1</Role>
<Role>Test APP2 Role2</Role>
</Application>
</Root>
Thanks
There is an InfoPathDev.com Dev Nugget that explains how to do this. It's titled, "Creating Non-Repeating Cascading Drop-Down List Boxes".

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
HI all, i am new to infopath sp1. I have an XML file as the Datasource for
one of the fields (field1) on the form. I have the same XML file as a
datasource for a different field (field2) on the form. Based on the value
chosen in field1, i want to filter the data in field2. How could i do this?
Based on the XML below when the user selects "TestApp1" in field1 i would
like to show two roles in field2 (Test APP1 Role1, Test APP1 Role2)
XML looks like below.
<XMLNS...>
<Root>
<Application name="TestApp1">
<Role>Test APP1 Role1</Role>
<Role>Test APP1 Role2</Role>
</Application>
<Application name="TestApp2">
<Role>Test APP2 Role1</Role>
<Role>Test APP2 Role2</Role>
</Application>
</Root>
Thanks
Houston Lucifer - 21 Aug 2004 22:15 GMT
Thanks
> There is an InfoPathDev.com Dev Nugget that explains how to do this. It's titled, "Creating Non-Repeating Cascading Drop-Down List Boxes".
>
[quoted text clipped - 19 lines]
>
> Thanks