Copy link to clipboard
Copied
I am creating an interactive pdf using InDesign. When I create a checkbox or radio button, I notice there is a field for a button value. It defaults to Yes or Choice, respectively. This also implies other values might be assigned for potentially more control. Does anyone know if there a list of button values anywhere?
filmbufs wrote
I was hoping to find a list of button values
It's an open field; it can be anything.
If you have a series of radio buttons which allow the user to choose among colors, for instance, their export values might be Yellow, Green, Blue, Red, etc. That way, collected data will clearly show that field's output (export value) as the actual color name. It also facilitates Javascripting arguments like:
if (colorbutton.value == "RED")
{
this.getField("REDShoes").display = display.
...Copy link to clipboard
Copied
Hi filmbufs,
Button Value corresponds to the export value in Acrobat and can also be used to identify a radio button in a group in an accessible form.
For more information please refer to following threads:
Regards,
Srishti
Copy link to clipboard
Copied
Thank you for your reply, srishtib8795206​.
I was hoping to find a list of button values one could input into this field. Or, at the very least, some other options besides "Yes" for a checkbox or "Choice" for a radio button.
Copy link to clipboard
Copied
filmbufs wrote
I was hoping to find a list of button values
It's an open field; it can be anything.
If you have a series of radio buttons which allow the user to choose among colors, for instance, their export values might be Yellow, Green, Blue, Red, etc. That way, collected data will clearly show that field's output (export value) as the actual color name. It also facilitates Javascripting arguments like:
if (colorbutton.value == "RED")
{
this.getField("REDShoes").display = display.visible;
}
Theoretically, this would set the display of a field which shows red shoes to 'visible' when the radio button group's export value equals "RED"
Copy link to clipboard
Copied
Ah...that makes great sense, John. I think I understand that field now. Many thanks!