Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

fecting data from xml automatically.

Avatar

Level 2

i just need to display the fields that are fetching the data automatically from the xml.

just imagine 3 fields named country,state,city.

i need to display the data of these 3 fields form the xml. if i select the country, for the related country,the state should display, same for city.

and also the xml should attach automatically to the form.

can anyone plz help me.

2 Replies

Avatar

Level 10

If you bind your form to the XML then it will populate the values into the respective fields.

How are you planning to pass the XML to the form? What is your process of getting the data? That makes a difference in choosing the options.

Thanks

Srini

Avatar

Level 2

Hi Srini,

thanks for the reply, right now im attaching the xml in to the form using javascript. im having 5 fields

ex2.JPG

my xml looks like this.

xml.JPG

what i need to do is, when i enter 001 in EID field, and enter tab, the other fields like name,sbg,sbu,sbe,country should autopopulate from the xml. plz help me..

regards,

ramya.