I have attached the Screen shot and Sail code. Form should not submit when numer

I have attached the Screen shot and Sail code. Form should not submit when numeric validation failed in the hidden section. Pease assist on this.

OriginalPostID-143944

OriginalPostID-143944

  Discussion posts and replies are publicly visible

Parents
  • Your SAIL code appears to work as you describe; a value of 0 for local!c or a non-integer value for local!b prevents the form from submitting.

    You can check this by looking at the value of ri!cancel when in the interface designer (which is mapped to both buttons); it remains null. Once the value of ri!cancel changes, that's the form submitted.

    Whilst it may look like the form is submitting when you click the button as you see the "Loading" notification at the top of the screen, the form won't have submitted until the value of ri!cancel changes.
Reply
  • Your SAIL code appears to work as you describe; a value of 0 for local!c or a non-integer value for local!b prevents the form from submitting.

    You can check this by looking at the value of ri!cancel when in the interface designer (which is mapped to both buttons); it remains null. Once the value of ri!cancel changes, that's the form submitted.

    Whilst it may look like the form is submitting when you click the button as you see the "Loading" notification at the top of the screen, the form won't have submitted until the value of ri!cancel changes.
Children
No Data