SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 1999
    Location
    Munster
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have this large form located at http://www.sophisticatedsounds.com/_...only/form.html and i was wondering if there is a way that i can have it over mulitple pages. Like have them answer like 10 question then hit the next button and answer another 10 pages. And then on the last page it sends me the results. Thank you for any help that i can get. Thanks.

  2. #2
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I take it you're on a NT server. You'll probably want to use VBScript for this.

    You'll need to make use of POST form variables. So therefore on the first page there would be a <input type="hidden" name="stage" value="1" /> and on the second the value would be two. Your script would read this, then (say on the transitition from pg1 to pg2) make a bunch of hidden for fields with the old data you just entered.

    It would be very complex and my suggestion is just to keep it on one page.

  3. #3
    SitePoint Enthusiast
    Join Date
    Dec 1999
    Location
    Munster
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No i am on a unix server. Is there a way to do that. Or any cgi scripts out there that can do this. Thank you.

  4. #4
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah yes FrontPage extensions my bad. The technique would still work though.

    Of course on the last page everything would be processed and added to the database, e-mailed to you, stored in a file, or whatever else you want to do with it.

  5. #5
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    If you're prepared to learn a new language, what you want can be done easily using PHP. Check out my tutorial series, "Building a Database-Driven Web Site using PHP and MySQL" on WebmasterBase.com for a good introduction to PHP.


    ------------------
    -Kevin Yank.
    http://www.SitePoint.com/
    Helping Small Business Grow Online!


Bookmarks

Posting Permissions

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