Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Radio buttons.

New Here ,
Aug 25, 2016 Aug 25, 2016

Would like to use radio buttons but want the text of the answers to be part of the radio buttons field. Is this possible? If not, is there a way to link a standard button to a radio button perhaps?

TOPICS
Acrobat SDK and JavaScript
247
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 25, 2016 Aug 25, 2016

No, there is no sort of label property associated with a radio button. You could add a separate button and use JavaScrip to set the value of the radio button to the export value of the corresponding radio button widget, something like:

// Mouse Up script for a button

getField("Radio1").value = "Maybe";

replace "Radio1" with the name of the radio button group and "Maybe" with the export value (Options tab > Radio Button Choice)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 25, 2016 Aug 25, 2016
LATEST

Brilliant! Will give it a try.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines