What happened when Zoho encounters a "Cancel Submit" inside of If, else If validation logic? Does the code leave the If branch and abort the remainder of the code?
I'm working on a stateless form and want to go through each field (about 8 fields) and insure the proper data is there, looking for nulls, duplicates, etc. I just want to be aware of the best way to abort the Submit at any point along the way, and NOT deal with the remainder of the checks down the code.
EDIT: I now learn "Cancel Submit" is not available for stateless form. Ok, so how can a user simply abort the submit action (write script) on a stateless form's "Submit" button if certain field data is not correct? I don't want to go to another URL as mentioned elsewhere I want to stay there with the same data entered and tell the user what is going on.
Or is "cancel Submit" not valid on "Submit" type button? But what about in script for a "Button" type button?
Along the same lines, I can't see any sort of "goto" code word to also help deal with such issues in script. Am I missing something here?