I want to customize the warning dialog box of the infopath
forms which displays in validation. It shows in a dialog box like:
The form cannot be submitted because it contains validation errors. Errors are marked with either a red asterisk (required fields) or a red, dashed border (invalid values).
Use Ctrl+Shift+O to go to the next errors. Use Ctrl+Shift+I to view error details.
Rather than showing this we want to show the proper validation message like "Name can not be blank".