How to know validation of which control is getting failed

Sometimes in XPage applications it happens that our code do not run due to validation errors.
It becomes really difficult to debug if the form contains too many fields. To simplify the debug process in this scenario I have written a code snippet which gives client id of the control for which validation is getting failed.

One thought on “How to know validation of which control is getting failed

Leave a Reply to Naveen Cancel reply

Your email address will not be published. Required fields are marked *