How to do data validation before the submit by email
I am developing an offline interactive form. There is submit button inside, which should check all data and submit the form by email if checking passes.
My problem is that I can not cancel the submit event when the checking failed.
I use Adobe LiveCycle Designer 7.1.3284.
If I use Email Submit Button, I can do validation in presubmit event. But I can not cancel the event. Even there is error in validation, form is submitted anyway.
If I use normal button, I can do validation in Click event. But I can not submit form with code.
Is there anyone who has experience on this issue?