Can you elaborate? Are you saying 1
ActionForm and 3 Action objects? Do you validate in the ActionForm or
in the Action? Can you please explain the "dirty flags"
technique?
----- Original Message -----
Sent: Tuesday, April 24, 2001 3:38
PM
Subject: RE: *** implementing consecutive
form validation? ***
Try
using a single Form but 3 different Actions (for flexibility). The form is
send from page to page. Set a dirtyflag in the form which checks what page the
user is in. Based on that value, do the corresponding validation in the
Form.
Amar..
If a form is made up of three consecutive
pages and I want to validate page by page, how should I go about doing
this? Do I use three ActionForms and one Action? Do I
use the validation the ActionForm offers for basic validation?
Do I fill one ActionForm's validation method with "if/then" statements
to test if I am on the first, second, or third page of the form and
then use the Action's validate method at the end?
I was interested in what you all were
implementing.
Cheers
Jonathan |
|