Re: Validating single fields in multi-page forms

2004-09-08 Thread Bill Siggelkow
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

Re: Validating single fields in multi-page forms

2004-09-08 Thread Langdon Stevenson
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

Re: Validating single fields in multi-page forms

2004-09-04 Thread Bill Siggelkow
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

Validating single fields in multi-page forms

2004-09-04 Thread Langdon Stevenson
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