Expand my Community achievements bar.

Drop down box updates text box

Avatar

Former Community Member
Hi,



Does any one know how I would do the following:



I have a form of 20 drop down list which are dynamically populated with CompanyName field from an access database. Below each drop down list in my form, there are text boxes and when I select the company name from the drop down I require it to update the text box with the CompanyName, Address, and PostCode for that company from the same access database. I have got the data connection and dynamic populated the drop down bit fine but I am struggling with the updating of the text box bit.

I am using LiveCycle Designer 8.0.



Thanks for your help!
3 Replies

Avatar

Level 6
On the change event of the drop-down

MyTextField.rawValue = xfa.event.newText;

Avatar

Former Community Member
Hi Jared!



I had a similar problem too

thanks ... its working fine

Avatar

Former Community Member
Hi Jared / Gaurav,



I have tried the code

MyTextField.rawValue = xfa.event.newText; by changing it to

Address.rawValue = xfa.event.newText; but it just puts the company name again in the text box.



Any ideas?

Thanks