Displaying event values from checkboxes in a field as a list
I have a PDF form with 83 checkboxes labelled "Group1.Check Box1" through to "Group1.Check Box83". I need the export values of checkboxes that are selected to appear in a field labelled "Awards" as a list.
The Group1 prefix is used for a separate script to display a another field when any checkbox is selected.
I am using the following calculation script for the "Awards" field but cannot get the data to display.
event.value=
this.getField(“Group1.Check Box1”).value+”\r”+
this.getField(“Group1.Check Box2”).value+”\r”+
this.getField(“Group1.Check Box3”).value+”\r”+
(and so on through to 82)
this.getField(“Group1.Check Box83”).value+”\r”;
event.value=event.value.replace(/Off\r/g,””)
Can someone advise where I am going wrong here?
