Is it possible to have a pop up window show before I commit to hitting a submit button in salesforce so I can confirm everything was filled out correctly? So that if it wasn't I can abort.
Hi @mail
Can you please clarify your request with an example?
Note that Text Blaze snippets show a popup if they have a form field in them. For example: if you put the following blank text field in your snippet:
{formtext}
It will cause your snippet to open in a popup window.
Let us know if it works for you.
I mean more in terms of a pop up alert, for instance it would say "confirm". It stays up and doesn't continue the script until I've had a minute to double check what it did previously before it moves on and hits a submit button that sends info to an end user. If everything looks ok I hit enter and it continues the script to submit, otherwise I hit escape and abort.
I see. As of now, the only way to do this is to review all the data in the form window itself, and then if it looks good, then submit it and it will run all at once.
If you'd like, I can move your request to the Feature Ideas section.
You could use the {error} command with the block
setting to prevent submission: Text Blaze | {error}
You could then wrap the error message in a {formtoggle} to remove the error once you have checked the snippet.
For example:
Contents...
Contents...
{note}{formtoggle: name=Uncheck this when you have finished checking; default=yes}{error: Carefully check this before submitting; block=yes}{endformtoggle}{endnote}