Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-12-2005, 12:23 AM   PM User | #1
vorl
Regular Coder

 
Join Date: Feb 2005
Posts: 190
Thanks: 25
Thanked 0 Times in 0 Posts
vorl is an unknown quantity at this point
Passing form variables

Hi

Could someone show me how or advise me on this topic:

I have a form consisting of text fields, text box, Checkbox, and list fields. After submitting the form it goes to a thank you page. On this thank you page I would like the variables the users have submitted in the form of which then the users can print. Also if possible I would like the layout of the submitted fields to be customizable.

Thanks for any help

Vorl
vorl is offline   Reply With Quote
Old 08-12-2005, 10:40 AM   PM User | #2
martin_narg
Regular Coder

 
martin_narg's Avatar
 
Join Date: Jul 2002
Location: Chamonix, France
Posts: 600
Thanks: 1
Thanked 3 Times in 3 Posts
martin_narg is an unknown quantity at this point
You will be best off using your server-side language that handles the form - php or asp or whatever you have chosen to list out the submitted form field values.

Then you can specify your layout for printing using a media print stylesheet:
Code:
<style type="text/css">
@media print {
  /* style sheet for print goes here */
}
</style>
Hope this helps

m_n
__________________
"Cos it's strange isn't it. You stand in the middle of a library and go 'Aaaaaaaaaaaaaaaaggggggghhhhhhh!'
and everybody just stares at you. But you do the same in an aeroplane, and everybody joins in."
-Tommy Cooper
martin_narg is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:42 AM.


Advertisement
Log in to turn off these ads.