Validation - InfoPath Dev
in

InfoPath Dev

Validation

Last post 09-21-2004 02:02 PM by Greg Collins. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-20-2004 11:56 PM

    Validation

    Hi, hope someone has the answer to this it seems simple but I cannot find the solution.

    Is there any way within managed code to check the overall state of the forms validation. As in an IsFormValid property or similar. Also is there a way of checking the validation state of an individual field?

    Any pointer would be much appreciated.

    Cheers,

    Simon
  • 09-21-2004 02:02 PM In reply to

    The place you want to look is in the thisXDocument.Errors collection. You can find out if there are any validation errors using .Count, and you can check the individual nodes that validation errors occur on as well.

    Greg Collins [InfoPath MVP]
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.