View Full Version : "Accept terms" form submission

02-07-2008, 03:49 PM
"Accept terms" form submission


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


02-07-2008, 09:32 PM
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/Complete_Scripts/Form_Processing/

02-07-2008, 09:43 PM
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.

05-09-2008, 06:00 AM
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/dynamicindex16/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.


05-09-2008, 07:11 AM
What's the problem BTW?..the redirection?

If so, then just set your form's action:

<form name="agreeform" onSubmit="return defaultagree(this)" action="http://www.google.com">

See if it helps :)

05-09-2008, 07:54 AM
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)

05-09-2008, 08:33 AM
Update: How can i align the button in the center? (under the text)

Basically, adding this should work for you:


...if that does'nt then show us your codes ;)

05-09-2008, 05:20 PM
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!

05-10-2008, 08:23 AM
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/Programs_and_Scripts/Perl/Form_Processing/

05-10-2008, 02:16 PM
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.