Results 1 to 7 of 7

Thread: Form Input, Confirmation Page and Thank you Page

  1. #1
    Join Date
    Mar 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Form Input, Confirmation Page and Thank you Page

    Hi guys,

    First post here please go easy on me as I am kinda weak in java script and had a bad exp in another forum with some hostile members. I hope this forumn is much more friendlier .

    I am trying to revamp this survey form
    http://www.mayooryspa.com/Html/Know%20Your%20Body.htm
    which I previously did and found it messy and I would like it to forward to a confirmation page where the user gets to see the details he or she has entered and also letting the user know that the his message has been sent.

    I have tried searching the net for tutorials on this but had no luck at all. Most of them are seems to done in CGI perl format which I have no clue about. I hope you guys can recommend me a site or can give me a liek a simple example of how to call output of an input form. Many Thanks

    Rgds
    Tony

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Do you want to accomplish this using Javascript or a server side (PHP, ASP, etc) language? If you are looking for a PHP solution, you could probably take a look at the following websites:

    http://www.php.net/
    http://www.php-mysql-tutorial.com

    If you can post the code for the HTML form, we could probably write a script for you, or at least point you in the right direction.

    Hope this helps.
    Last edited by thetestingsite; 03-25-2007 at 07:41 PM.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Mar 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Many thanks for your reply. I would like to create the whole thing to be in Javascript as I dont have a server to try out my php script. here is the code for the survey form. There are quite a lot of errors. The form mainly ask the audience to select their body type and I want it to end up in another page showing your body type is this blah blah. My alert code seems not to be working as well.

    Here is the code I uploaded in a text file on a another free web site geocities.com as there is a file size limit on the forum as well as upload.

    http://www.geocities.com/wrathofgibryle/bodyform.txt


    You can contact me at tonywanders@yahoo.com if you have any suggestion or anything that can help me make this form a succes I would really appreacate it. Best Regards
    Tony

  4. #4
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    557
    Thanks
    8
    Thanked 66 Times in 66 Posts

    Default

    Hi there,

    Your best bet is to use a server w/database (PHP, ASP). I cannot think of any JScript that could have the functions to grab data without a server system, you may want to try looking around. There are many hosting companies that are cheap.

    Hope this helps!
    --Josh

  5. #5
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Along with what JShor said, there are several free hosts that have server side scripting installed. Check around google, but I think one is called "100webhost.com" or something like that. Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  6. #6
    Join Date
    Mar 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi thanks for the replies guys.

    Ill try to sign up on the php soon and figure it out.
    The reason why I wanted to use pure java script because of this site here which is what I am trying to achieve where it displays what the user has selected on another page. Is there any good sites on the net with good tutorials on forms, javascript and php? Or any books anyone can recommend me would really apreaciate it. I am more of a designer and never really was good in the programming part so I am kinda like noob at it and need like a step by step tutorial. Thanks

    http://www.jsmadeeasy.com/javascript...orm/sample.htm

    cheers

  7. #7
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    As far as tutorials for PHP, I would recommend one of the following:

    http://www.php.net/
    http://www.php-mysql-tutorial.com

    As for learning anything else (PHP included), I would recommend the following:

    http://www.w3schools.com (this one has tutorials anything and everything pretty much.)

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

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
  •