I have 3 check boxes with the names "VT" "VNT" and "VBJ" and a text field called "Text1"
What i am trying to do achieve is that when you click on a check box, the text VT/VNT/VBJ appears in "Text1"
I can to this easily from a script I found (below) and enter it in the calculate tab in the text field "Text1"
event.value = this.getField("VT").value;
if (event.value == "Off") event.value = ''; // do not display "Off" or no radio button checked
This does the job BUT how do i get the text field "Text1" to include all the check boxes that are ticked such as "VT" and "VNT" so it displays in the text field"Text1" as VT VNT ?
There is a function call 'fillin' provided with Acrobat's sample forms for the PDF form that can join up to 3 fields using an optional separator and adjust for missing data.
You can use function to combine data values with or without a separator and adjust for missing values.
Assuming your export value for the check box is the same as the name of the field, your custom calculation script for the text field can be:
George Kaiser