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

Alert when checking a radio button

Explorer ,
Aug 23, 2020 Aug 23, 2020

In a form I created, I have a Radio button RB1.  If the RB1 is selected, I'd like to have an alert message ('too high') if the calculation in another Text Box (TB) is >1000.

Thanks

 

TOPICS
Acrobat SDK and JavaScript
681
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

correct answers 1 Correct answer

Community Expert , Aug 23, 2020 Aug 23, 2020

Use a mouse-up action script in the radio button field:

 

if (this.getField("TB").value >1000) {app.alert("too high");}
Translate
Community Expert ,
Aug 23, 2020 Aug 23, 2020

Use a mouse-up action script in the radio button field:

 

if (this.getField("TB").value >1000) {app.alert("too high");}
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
Explorer ,
Aug 23, 2020 Aug 23, 2020
LATEST

Thank you very much, it works!

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