Give details of validating document
If selected, you must also enter Document Level Validation Separators on the Input Specify a Java Class. See Instream Call Back for more complete information on Enabling Callbacks.
So, to conclude, for automatic validation of your documents use the validation class provided.
Plus you can run a validator on your document and have a slightly better validation error message presented to you.
This is very good for manual tweaking your stuff, making sure that works and then converting that to a code.
And we welcome any constructive suggestions to improve this example.
Now, when you have finished learning how to validate a sample registration form using Java Script, let us take you to the another way doing the same thing.