Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Summarize Email Form Values before posting...

Status
Not open for further replies.

jwkolker

Programmer
Jan 9, 2003
68
US
Hi:

How do I add an on submit summary page that will summarize the values entered on my html mail form and allow my user to go back to correct or submit to continue.

I would prefer to not use cgi or perl - want a script that can be loaded from the page like java or a simple html option.

Thank you.

JK

John Kolker
Programmer
jwkolker@comcast.net
 
Hi mate,

You can do this with any server side language.

Pass the values and echo them twice on the confirm page, 1 as text for the user to see and the other into a hidden field. Then give them 2 buttons, one for finish and the other for back, show the appropriate page based on the button used.

Another way to store the values between pages would be session vars.

Hope this helps

Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
Hi Wullie - do you have an html sample that you can show me? Or a sample page out there that does that?

JK

John Kolker
Programmer
jwkolker@comcast.net
 
Hi mate,

A sample page would mean nothing. For a start I don't know what language you are using, plain HTML will not do this.

You just need to create a hidden form on the confirm page, and pass the values to that. Basically, you keep sending the data between the forms on each page until they finally hit submit on the confirm page, then you process the data.

Hope this helps

Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
Is there a java script out there that will do this?

JK

John Kolker
Programmer
jwkolker@comcast.net
 
Hi mate,

JS is a bad way to do this if it is a critical process.

JS can be disabled in a browser too easily, and quite often is.

As a rule of thumb, only use client-side scripting when you either have a server-side backup in place or you have no other choice.

Hope this helps.

Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
"JS is a bad way to do this if it is a critical process.
JS can be disabled in a browser too easily, and quite often is"
..... and the little [x] in the right-hand corner of the browser can be clicked at any time as well! :)

unlike JS mother_of_them_all JSP is supperior to ANY (activeX.Dll.crap )online multi-transactional process....
JavaScript is anabled in most of the browsers....it is diss. only with those paranoid (like me :) ) users who dam* well know how to turn it back on IF they really want the info....
If u don't mind the load do what Wullie said and run it ServerSide....

All the best!

> need more info?
:: don't click HERE ::
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top