Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Feb 2005
    Posts
    190
    Thanks
    25
    Thanked 0 Times in 0 Posts

    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

  • #2
    Regular Coder martin_narg's Avatar
    Join Date
    Jul 2002
    Location
    Chamonix, France
    Posts
    600
    Thanks
    1
    Thanked 3 Times in 3 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •