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
    New to the CF scene
    Join Date
    Sep 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Passing data from a form on one page to another form on another page

    Hello,

    How can I pass form data from a form on one page, to a form on another.

    Here is what I need exactly:

    I am working on the following website:

    http://kleinstudiosinc.net/tntexterminating/

    There is a form in the header titled "Shedule Service"

    I would like a user to enter the details, and when he/she clicks the "Go" button, that information should show up in the corresponding fields on the page below:

    http://kleinstudiosinc.net/tntexterminating/?page_id=8

    This means that the user will have to enter information for other fields but not for those already filled afetr data was passed on from the previous form.

    Does it make sense?

    Your help will be greatly appreciated.

    Thanks,

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    This has got nothing to do with AJAX, or even Javascript.

    Submit your first form to your second form (via the form's "action" attribute), and use a server-side language to prepoulate the revelant fields with the submitted data.


  •  

    Posting Permissions

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