These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Linking of xml Fields

ozsupra
Registered: May 17 2009
Posts: 22
Answered

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.

ozsupra
Registered: May 17 2009
Posts: 22
OK, that's obviously too hard. How about an expert advising if it can be done. I am looking for a Yes or No here, that's all.
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4308
I do not think this is possible on a national scale. Just look at how many states have a 'Springfield' besides the Simpson's.

George Kaiser

ozsupra
Registered: May 17 2009
Posts: 22
Thanks George,
Although I have removed all duplicates Ialso believe that the sheer bulk of available choices would deliver such poor responce times as to make the form unusable.

Thanks Again,
Adrian.