Skip to Content
avatar image
Former Member

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?

Best Regards,

Jun

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 22, 2008 at 02:35 PM

    Hi Jun,

    Use a normal button to validate and set the presence of the E-mail button only if validation is successful, else keep the Submit by E-mail button hidden.

    Regards,

    Reema.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      I faced the same problem and what i've done is to hide the submit button until all controls are ok .

      When controls are ok i make the button visible, if user change a value and controls become not ok the button diseapears.

      Hope this help you.

      Regards