We have a custom submit action working now with "post.POST.jsp". It redirects when it needs to when there are errors, etc. It will also do inter-field validation for us.
Question: What does "revalidate on server" do? The docs say:
"The server-side revalidation feature provides the ability to also run the validations that an adaptive forms author has provided while designing an adaptive form on the server. It prevents any possible compromise of data submissions and business rules violations represented in terms of form validations."
Is this intended to be another way to do what we've already done? (more OOTB)
While authoring an Adaptive form, author can create validation rules, calculation rules etc. for various fields (via rule editor). These rules are run on client before submission, to ensure that correct data is being submitted.
Similarly if the author wishes to run the same rules at server before configured submit action is invoked, one can check 'Revalidate on server' option. In case server side validation fails, list of errors is send back to client, and the errors are shown on the fields (whose validation failed) of Adaptive form.
If your post.POST.jsp, is also re-evaluating the same rules you defined for the form via rule editor, you might want to use 'Revalidate on server' option.
The link you specified is for site's form and not adaptive form. We don't need or honor any servervalidation.jsp.
All you need to do is goto Form Authoring, and open Form Container dialog, and check 'Revalidate on server' under submissions
Can you please elaborate on use cases where you don't wish to do an inter field validations on client side. We have a lot of our customers having complex validation logic which is done on client side and also have 'Re-validate on server' checked.
Re validation on server is for added security, to prevent propagation of any invalid data.