Hi,
I need to populate a field with a value consisting of a combination of values from 3 fields.
1] Street address (123 Main Street)
2] City (Anytown)
3] State (CO)
New field
A combination of the 3 with extra spaces removed and a comma inserted after the state
I am thinking I would need to collect the 3 field values to memory variables, create the new variable and write it to the 4th field.
Thank you in advance,
Peter
event.value = getField("Street address").value + " " getField("City").value + ", " + getField("State").value;
If you want line-breaks in between the lines, use "\n" instead of the space and comma I've added.
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com