Results 1 to 10 of 10

Thread: "Accept terms" form submission

  1. #1
    Join Date
    Feb 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default "Accept terms" form submission

    "Accept terms" form submission

    http://www.dynamicdrive.com/dynamici...acceptterm.htm

    I have been able to get the accept term check box to work and my code sends it to the thanks! page as though it worked but I never receive my emailform with all the info.

    Site page
    http://www.pridehockey.net/registration.html

    Thanks!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Actual form submission is an entirely different thing. You'll need to hook up the form to some server side form submission script to handle that portion. Here's a list of PHP ones: http://php.resourceindex.com/Complet...rm_Processing/

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

    Default

    Looking at your site, it appears that the form is going to "/CGI-BIN/emailform.pl". You may need to make sure that this file is set up correctly and or switch to a different form processor if you cannot get this one working.

    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

  4. #4
    Join Date
    May 2008
    Posts
    10
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    Hello everyone!

    I am glad i found a place to find someone help me!

    I have been working on this script (http://www.dynamicdrive.com/dynamici...acceptterm.htm) for about 11 hours now.

    3 stops for food and water.

    my nerves are not good. i really want to crash my laptop.

    Please someone tell me how to work out with it.

    This is what i need to do...

    We are in the 1st page (index.html)
    There we have a text area where we have our terms of use.

    I need the script to DISABLE the Continue button!

    The Continue button should be activated in one of two ways (JUST ONE!):

    1. By scrolling down the text area (i don't prefer it)
    2. By Clicking in the check box.

    After clicking in the check box the button is activated and when they click on the button they get REDIRECTED inside the website.

    Please save me from the dark!!!!

    ps: i also have a button there is leads on Google and maker a search for similar pages as ours.

    thx
    Last edited by kosmasKosmakos; 05-09-2008 at 06:02 AM. Reason: ps

  5. #5
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    What's the problem BTW?..the redirection?

    If so, then just set your form's action:
    Code:
    <form name="agreeform" onSubmit="return defaultagree(this)" action="http://www.google.com">
    See if it helps
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  6. The Following User Says Thank You to rangana For This Useful Post:

    kosmasKosmakos (05-09-2008)

  7. #6
    Join Date
    May 2008
    Posts
    10
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    OMG! Its working! Thank you so so so much! Thank you thank you thank you!

    I wish you the best! Thank you! you are my god! thanks!



    Update: How can i align the button in the center? (under the text)
    Last edited by kosmasKosmakos; 05-09-2008 at 08:07 AM. Reason: Update

  8. #7
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Quote Originally Posted by kosmasKosmakos View Post
    Update: How can i align the button in the center? (under the text)
    Basically, adding this should work for you:
    Code:
    style="text-align:center;"
    ...if that does'nt then show us your codes
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  9. #8
    Join Date
    May 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    First, I must say how much I love this script and appreciate finding it, Thank you!

    But, now I have to ask a question about it as well

    We are going to be using this form on a few pages of our website, taking our customers thru a 3 step process. Is it possible in addition to having the form redirect to the next page (as it is doing brilliantly!) once they check the "agree to terms" button, can it also send us that information via an email ?

    For example: the first page asks them to enter in their name, address, email, etc and once they do that, it takes them to page two via redirection. Can that first page redirect them to page 2 AND send us their information from the form? I am not sure how to make it do both, or if that is even possible.

    Thank you very much!
    Kim

  10. #9
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hi Windkd:
    In order to send the contents of a FORM back to you in general, you'll need to use a server side script for that. CGI is a popular choice: http://cgi.resourceindex.com/Program...rm_Processing/

  11. #10
    Join Date
    May 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you, I will check it out.

    I am familiar with how to get forms to email me the info, what I cant figure out is how to get this particular setup to do both... (I am not even sure if its possible to have it do both)... sorry if I didnt word it correctly.

    I will keep looking around, thanks again for your help.

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
  •