You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Todd Story <To...@aelera.com> on 2001/06/04 16:28:59 UTC
Wizard form approach
Is anyone currently using multiple pages (same ActionForm) in a wizard-esque
manner? If so, how are you doing validation without knowing the details of
which elements are displayed on which page? In other words I'd like some
fields to be required without having the user to go back 3 pages. Thanks.
Re: Wizard form approach
Posted by Jeff Trent <jt...@structsoft.com>.
Look at the mail archives. Basically, you carry two extra fields on your
form, 'CurrentPage' and 'NextPage'. When validate is called, do validation
against fields on the CurrentPage.
- jeff
----- Original Message -----
From: "Todd Story" <To...@aelera.com>
To: "Struts-User (E-mail)" <st...@jakarta.apache.org>
Sent: Monday, June 04, 2001 10:28 AM
Subject: Wizard form approach
> Is anyone currently using multiple pages (same ActionForm) in a
wizard-esque
> manner? If so, how are you doing validation without knowing the details
of
> which elements are displayed on which page? In other words I'd like some
> fields to be required without having the user to go back 3 pages. Thanks.
>