Form Validation - InfoPath Dev
in

InfoPath Dev

Form Validation

Last post 03-04-2010 08:28 AM by prostration. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-04-2010 07:13 AM

    Form Validation

    I have a form with a button on it, the button has rules and custom code in it. I want to make it so that if there are any validation errors in the form the rules are not applied and the code is not executed. How can I do this?

  • 03-04-2010 08:28 AM In reply to

    I got it working, I got the count of the errors in the form with this.Errors.Count. So I just have an if that checks if there are errors or not execute the rest of the code. For the rules im adding conditions to them or coding them instead of having them as button rules.

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.