Skip to main content
Known Participant
Aug 24, 2020 12:13 AM UTC
Answered

Alert when checking a radio button

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 is closed to new replies. Start a new post to keep the conversation going.
ls_rbls
ls_rblsCorrect answer
Community Expert
Aug 24, 2020 2:58 AM UTC

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

 

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

2 replies

ls_rbls
Community Expert
ls_rblsCommunity ExpertCorrect answer
Community Expert
Aug 24, 2020 2:58 AM UTC

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

 

if (this.getField("TB").value >1000) {app.alert("too high");}
Translate
Technical Generalist
Known Participant
Aug 24, 2020 3:23 AM UTC

Thank you very much, it works!

Translate