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 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Dec 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Forms sent to new page into a table

    i know it is possible to send forms to a new page and have it setup into a table style but i have not been able to find any info on it. can you direct me in the right path?

  • #2
    New Coder
    Join Date
    Jun 2002
    Location
    Australia
    Posts
    81
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This is possible via the use of a server side language. PHP or ASP are both good to use to do this (although I prefer PHP)

    wabirdman

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Depends on the time of year
    Posts
    478
    Thanks
    0
    Thanked 0 Times in 0 Posts
    if you do not have access to a server side language, or are too lazy to figure it out, you can, instead of using html tables, set up blank form fields (eg. type="input") and change the value of the inputs as whatever the user entered. However, this all has to be on the same page.

    Duniyadnd

  • #4
    Regular Coder
    Join Date
    Dec 2002
    Location
    Minneapolis, MN
    Posts
    208
    Thanks
    0
    Thanked 1 Time in 1 Post
    not really. i have written a JS that will move information across your pages... through the address bar.

    so if you dont mind that then this is all you need.

    download this file

    in your pages HEAD tag place this line to access the .js file:
    Code:
    <script language="JavaScript" type="text/javascript" src="filename.js"></script>
    filename.js = the file you downloaded above, but change this to the name you renamed the file to. (if you left it be then type the exact name of the file)

    now, to send info to another page you can do it through a form:
    Code:
    <form action="page2.html" method="GET" enctype="text/plain">
    throught a link:
    Code:
    <a href="page2.html?name=anthony&age=20">click</a>
    page2.html = the page you want the information to go to.

    now to access this new info on page2.html, all you need is a little scripting like so.
    Code:
    <script>document.write(gER("name"));</script>
    you just type the name of the variable in the function and wallah! you have the info.
    anthony

  • #5
    New to the CF scene
    Join Date
    Dec 2002
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the help and info. i will let you know how it turns out


  •  

    Posting Permissions

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