I am not a programmer and very new to Adobe LiveCycle ES.
I created a Check Request Form for my company. In one section, I have a particular drop-down list that contains the following info:
Company Name, Address, City, State, Zip Code
The user of this form wants to change this format. They want me to take the data that is in the single pull-down list mentioned above and break it into 4 different boxes:
Company Name
Address
City, State
Zip
Is there a way to take the data that is in the 1st format (1 line of data) and insert a line break so that the address falls to the 2nd box , then insert another line break so that the City and State fall to the 3rd box and so on.
If not, can you suggest a way as to how I can go about creating/entering the Company Name on the form so that it pulls in the correct Address, City, State, Zip and populates the appropriate boxes?
Many Thanks!
Dawn
Views
Replies
Total Likes
There is a javascript function that will allow you to split the string into component parts. It puts these parts into an array. Here is some sample code that should give you the idea. Assuming TextField1 has the compete string and TextField2 is the field you want to enter the separted string into.
Paul
Views
Replies
Total Likes