Skip to main content
Known Participant
August 24, 2020
Answered

Alert when checking a radio button

  • August 24, 2020
  • 1 reply
  • 642 views

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

 

This topic has been closed for replies.
Correct answer ls_rbls

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

 

if (this.getField("TB").value >1000) {app.alert("too high");}

1 reply

ls_rbls
Community Expert
ls_rblsCommunity ExpertCorrect answer
Community Expert
August 24, 2020

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

 

if (this.getField("TB").value >1000) {app.alert("too high");}
Known Participant
August 24, 2020

Thank you very much, it works!