Validating the whole form - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Validating the whole form

Last post 09-14-2006 10:33 AM by dloeffl. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-14-2006 09:01 AM

    • dloeffl
    • Not Ranked
    • Joined on 09-14-2006
    • USA
    • Posts 3

    Validating the whole form

    When sending a form via e-mail using InfoPath 2003 (SP2), the interface prompts you to warn of validation errors. This feature does not provide a "hard stop" preventing users from proceeding and actually sending the form.

    I am using some scripts to create an e-mail to a user and am looking for a way to stop the script if there is a validation error AND prevent the user from continuing to send the form.
  • 09-14-2006 10:08 AM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: Validating the whole form

    Hi dloeffl Welcome to the forums,

    You can set your own message, when user tries to sending a form via email with validation errors.

    if(thisXDocument.Errors.Count >0)
    {
    thisXDocument.UI.Alert("Your message");
    return;
    }
  • 09-14-2006 10:33 AM In reply to

    • dloeffl
    • Not Ranked
    • Joined on 09-14-2006
    • USA
    • Posts 3

    Re: Validating the whole form

    Thank you so much for the quick response! I knew there had to be something very simple.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.