Anyway to not save form with Errors? - InfoPath Dev
in

InfoPath Dev

Anyway to not save form with Errors?

Last post 06-08-2006 01:06 PM by Adub21. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-07-2006 09:36 AM

    • Adub21
    • Not Ranked
    • Joined on 05-18-2006
    • USA
    • Posts 25

    Anyway to not save form with Errors?

    I have a form that has rules set up in the validating to give errors if the data does not meet certain conditions. The form is giving a message "Are you sure you want to save this form when there are errors" or something to that effect.

    Is there a way that I can tell the form to not close unless they fix the errors?
  • 06-07-2006 12:22 PM In reply to

    Re: Anyway to not save form with Errors?

    You might try calling XDocument.Errors.DeleteAll(); in the OnSaveRequest event handler.
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 06-08-2006 01:06 PM In reply to

    • Adub21
    • Not Ranked
    • Joined on 05-18-2006
    • USA
    • Posts 25

    Re: Anyway to not save form with Errors?

    Okay, I will try that. Thank you.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.