LiveCycle ES2
Sure this easy question has came up before, but I cannot find the solution anywhere.
I am creating a form where the user would fill in their contact information. (address, phone, email, etc.)
Then they will need to fill in their return shipment address too. I would like to have a checkbox so when it is checked, it would autopopulate the return shipment address fields with the contact info field entries (copy), since these are usually the same data entries.
I can accomplish this in Acrobat Pro but for whatever reason my file size increases substantially when I add too much script. So I am going to give this a try and after seeing all the functionality included with LiveCycle, it's probably best I start learning.
Thanks for the help!
-CM
Views
Replies
Total Likes
In the change event for the checkbox you could put something like (in formcalc):
if ($ == 1) then
shipping.address1 = postal.address1
shipping.address2 = postal.address2
etc..
else
shipping.address1 = ""
shipping.address2 = ""
etc...
endif
(obviously changing shipping.address1 to whatever your 1st shipping field is, etc)
Views
Replies
Total Likes
That worked great. Thank you!