When you try to submit all validations on the form are run. If a validation fails then the validation failed message will appear. The user must fix the error before they can submit. You can set script to run server side but this is only useful when you are using LiveCycle to render the form for you.
Let me elaborate my scenario, "User fills in a form. This is an offline activity. There are some validation errors. User saves the form with those errors. N after sometime, he uploads it on a portal for submission."
Now, how to check for the validations at this point when the form is uploaded on the portal?
Please provide ur suggestions, on this specific scenario.