Automatically fill in a text field when a checkbox is checked
Do I do this in InDesign or Acrobat?
I have 5 checkboxes as possible answers to a question and want to have a text field automatically populated with the answer that's selected.
For example, if the person checks the checkbox for "1", then the number 1 would appear in the text field at the end of the line. Same if the person selects the box for 2, 3, 4, or 5 - the text box would fill in with the correct number. Only one checkbox can be checked in the row. (I don't want to use radio buttons because there's no way to deselect them all once one has been selected.)
What script could I put in the text field (rather than in each individual checkbox)?
I have searched everywhere, but can't find the exact help I need. Can someone help? Thank you so much!
- Charlaine
