Dear all,
I have two fields:
1. Field1
2. Field2
I also have two Radio buttons with the same name but with different labels,
1.RadioButton(1).label = "YES"
2.RadioButton(2).label = "NO"
From the fields I have to make an evaluation and set the radio button as checked/unchecked.
The formula is like this:
if Field1 >= Field2 then
radiobutton(1).checked = true; // Radio Button with "YES" label is checked
radiobutton(2).checked = false; // Radio Button with "NO" label is unchecked
else
radiobutton(1).checked = false; // Radio Button with "YES" label is unchecked
radiobutton(2).checked = true; // Radio Button with "NO" label is checked
How can I achieve this in Acrobat? :)
You just set the value you want to be checked, like so:
You place this code as the custom calculation script of one of the radio-buttons.
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com