OK, I'm new to livecycle and a beginner at scripting.
I have managed (through trial & error) to link an xml file to a dropdown list.
The body of the example xml file consists of;
<?xml version="1.0" encoding="UTF-8"?>
SPRINGWOOD
4127
QLD
01/07/2009
01/07/3000
DAISY HILL
4650
QLD
01/07/2009
01/07/3000
LOGANHOLME
4290
QLD
01/07/2009
01/07/3000
KEDRON
4036
QLD
01/07/2009
01/07/3000
HERSTON
4010
QLD
01/07/2009
01/07/3000
And as can be seen, this is a basic list of Australian Suburbs and Zip or Postcodes.
My dropdown list field on my form is labelled "Suburb" and I have two other text fields "Postcode" & "State" that are sourced from the same xml file.
I have looked at the examples supplied and cannot work out how to dynamically populate the Postcode and Sate field by changing the Suburb field without writing script that includes details of all 4,500 suburbs (the complete list).
My question is, Is there an easy way of linking the Suburb to the Postcode and State within the one "detail" record?
Thanks in advance,
Adrian.