Skip to main content
Known Participant
February 24, 2018
Answered

popAlert javascript?

  • February 24, 2018
  • 1 reply
  • 1812 views

Hello everyone, I was wondering, is there a javascript that I could use to that would show and tell the user that they didn't click different button? And, if they have clicked the button it wouldn't show the alert. It's just kinda a reminder to click the other button. Can it be done? If so, can you share the script? Thanks.

This topic has been closed for replies.
Correct answer try67

The script stops all the fields from calculating. It works to do that. Then I have a script to allow the calculations, but that's not a button. Its in the list of choices in the popMenu. Both seem to work fine.

I'm trying to have an alert pop out that would say, "Please click the Halt button before proceeding" and a OK button. But, if the Halt button is clicked the alert would not have to pop out.


Try something like this:

if (this.calculate) app.alert("Please click the Halt button before proceeding.",3);

1 reply

try67
Community Expert
Community Expert
February 24, 2018

Sure, but what should trigger it?

pdfUser1Author
Known Participant
February 25, 2018

well, there's a popMenu button with a bunch of choices. These choices show/hide other fields when chosen. The button I want to attach to the popAlert is to halt (or perform) the calculations. I just would like to remind the user to halt the calculations before the go any further and click the halt button. If they have clicked the halt button then the alert would not be needed and would not show. So, the trigger would be when the user would make a selection from the list of choices in the popMenu list. Would it help to see a bit of the popMenu script?

try67
Community Expert
Community Expert
February 25, 2018

Is the "halt button" an actual button, or something like a check-box?