In case if you are writing a code in button click event of InfoPath page and you would like to validate the required fields input or any other validation, then here is a one liner code that you need to write.
this.errors.count
if the count is 0 that means there is no error, else there are errors.
Happy coding!!
this.errors.count
if the count is 0 that means there is no error, else there are errors.
Happy coding!!
No comments:
Post a Comment