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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying Form entries on a second page

Status
Not open for further replies.

GaryCam

Programmer
Dec 16, 2003
69
US
I have an html form in which the user enters name & other data in text fields and makes some selections from menu boxes. I want the submit button on that form to take the user to a second page which then displays the data laid out like a postcard using multiple fonts, colors, etc. How can I do this? Someone in the Javascript forum told me that ColdFusion offers the best way to do this. A very simple example would be most appreciated. And please keep your answer very simple as I'm new to this.

Thanks in advance,
Gary
 
This can most definatly be done with ColdFusion, whether its your best option or not i dont know, ColdFusion requires special hosting for it to run, you may want to check with your ISP for the costs of that.

It would work as follows, this will be difficult to explain without you having any knowledge of ColfFusion but i'll try and break it down.

You would simply need 2 documents, form.cfm and postcard.cfm.

The form would contain your standard HTML form, which would have a post action for all the content to postcard.cfm.

postcard.cfm would then recieve all the values such as #URL.name#, #URL.Address# etc etc and the format them into your desired format.

You can design the standard look of your postcard and the rest of the page using your standard HTML knowledge, you just need ColdFusion to handle the form values and plonk them into place.

There maybe other ways to do this other than ColdFusion, unfortunatly i've only ever worked with PHP and Coldfusion for dynamic content so i'm not sure whether somthing like XHTML might be able to help.

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top