Hi there

 

I have a form which I am using to allow a user to enter data into an
application.

 

Basically I have it that the user enters the data and then I display the
results back to the user - so that they can confirm what they have entered
is complete and accurate.

 

The use will then press submit on the confirmation page.

 

I was trying to figure out the best approach to do this.

 

Initially on the confirmation page I was going to:

 

1.      Display the values entered by using
<cfoutput>#form.dataentered#</cfoutput>

2.      At the same time store a copy of the form data entered into session
variables

 

Then once the user pressed submit on the confirmation page I was going to
take the values that had been stored in the session variables and use them
to write to the database.

 

I was thinking then - is this the best approach?

 

Alternatively I could save the form data on the confirmation page to hidden
values and then on the action page use the data in the hidden fields to
write to the database.

 

I look forward to hearing ideas and thoughts on the best approach.

 

Regards

 

P 

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271246
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to