You storing the NINO?  Would be better check that DOB....

1 possible way...
Duplicate the form into the session scope
Carry over to the continue page
Set a flag upon submission of that page
On your main act page  look for the flag, and if there, rewrite all the
session form structure into the local form structure
No need to edit much of the main action page that way

I think that roughly does what you want...

Why can't your use hidden vars?

--
dc

-----Original Message-----
From: Shahzad.Butt
Sent: 10 December 2003 11:43


Hi

I am providing user a form to add new employees in the system. Problem
I am facing is that users are adding same employees twice (as adding is
managed by different departments). Now this adding form
(dsp_addEmployee.cfm) is quite complicated and I dont want to touch it
at all neither do I want to touch its act page (act_addEmployee.cfm)
where its acutally adding looking at loads of different criterias.
Solution we came up with is that check the date of birth in the form as
user submits the form and provide the user with list a of all employees
for that date of birth and a message that checks if the employee already
exist. If h/she does then go somewhere (doesn't matter where), if no
then click on CONTINUE and it will run the act page. This CONTINUE seems
a bit tricky as I can have a new page called
dsp_ShowEmployeesForSameDOB.cfm between dsp_addEmployee.cfm and
act_addEmployee. But on continue that dsp_ShowEmployeesForSameDOB.cfm
needs to carry all form variables (attributes here as i am using FB3). I
cannot store them again in hidden variables as its too complicated and
messy.


So whats the solution for this problem?


Thanks
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to