Hi,
I am working on a custom form and am quite new to Livecycle.
I would like to do something basic such as
country drop down (populated from an xml file)
province / state drop down (populated from xml file).
I was able to populate the country but am unsure how to proceed so that the province/state drop down is dynamically populated from an xml file as well.
Cheers
Henry
Views
Replies
Total Likes
Hi Henry,
Could you please share your XML so that I can have a look at it ?
Thanks.
Bibhu.
Views
Replies
Total Likes
Sure here is a sample.
country.xml is
<CountryList>
<Country>
<Name>CANANDA</Name>
<Code>CAN</Code>
</Country>
<Country>
<Name>United States of America </Name>
<Code>USA</Code>
</Country>
<StateList>
<State>
<Name>Ontario</Name>
<Code>CAN</Code>
</State>
<State>
<Name>Quebec </Name>
<Code>CAN</Code>
</State>
<State>
<Name>Oregon</Name>
<Code>USA</Code>
</State>
<State>
<Name>New york</Name>
<Code>USA</Code>
</State>
Views
Replies
Total Likes
Hi,
As far as I know you can embed only one XML into your form. Here you have two XML. More over the XML does not specify for which country you have what state/ province. You can also do what you want by the use of a linked dropdown where if you select something in one dropdown like in Country in the second dropdown(state/province) associated values will be added to the drop down.
Is this all you are after ?
Thanks.
Bibhu.
Views
Replies
Total Likes
Yes that's correct. A linked drop down box. After selecting the country, I want to search the 2nd xml for all the USA tags, and enter those states that are associated into the 2nd drop down.
Views
Replies
Total Likes
Hi,
Here is a link for a sample form. https://acrobat.com/#d=oE5bec4D5UqEbuKvxugZOA. I have not used XML here.
Hope it helps.
Thanks.
Bibhu.
Views
Replies
Total Likes