Copy link to clipboard
Copied
I'm sure this is simple but I'm new to scripting...I have an Adobe form with 12 radio buttons in the same group, each one with different choice name (Option 1, 2, etc.). I would like the button choice name to appear in a text box when it's selected. Using Acrobat Pro DC.
Copy link to clipboard
Copied
Please post the name of the Adobe program you use so a Moderator may move this message to that forum
Copy link to clipboard
Copied
Use a calculation script in the Text field to set the value of the field to the radiobutton group value.
var cRadioVal = this.getField(<name of radio button>);
event.value = (cRadioVal=="Off")?"":cRadioVal;
You can read more about radio buttons here:
https://www.pdfscripting.com/public/Checkboxes-and-Radio-Buttons.cfm