Well, if I recall from your original post you only wanted to validate
the fields on the current page only. Validator provides support for a
page attribute that you can use for wizard-style forms. Validator will
use that attribute to validate form fields on the current page and any
previous page
Hi Bill
Thanks for your suggestion. I have switched to ValidatorActionForm for
my validation and now get the desired result (validation of only the
fields that appear on the specific page). So problem solved!
I am curious though about your interpretation of "wizard style". The
form is indeed
If I understand you correctly, you are using a form for multiple-pages
but not in a wizard fashion. The best way to do this is to use
path-mapping for validator -- in this case your form extends
ValidatorActionForm (or DynaValidatorActionForm) and you specify the
path to the action for the form
Hi
I have a multi-page form (about 8 pages total) that take just a few
fields per page that I am implementing in Struts (this is my first
Struts project).
I have succeeded in setting up and implementing validation using the
Validator Framework. Each page passes a "page" number and all
validat
4 matches
Mail list logo