PDA

View Full Version : "Accept terms" form submission


kaptk2002
10-18-2002, 02:58 PM
I used DynamicDrive.com's "Accept terms" form submission (http://www.dynamicdrive.com/dynamicindex16/acceptterm.htm) tutorial and I want the submit button to link to another pager but the only way the button works as an active link is when the click is disable (agree box is unchecked) which is defeating the purpose of using the script in the first place. so my question is with what tag do i use to make the active checked box allow the "Enter" button to link to the next page in the same window?

I know this may seem simple to some of you but I only do web design for personal use and I have to learn as I go along.

BigDaddy
10-18-2002, 03:22 PM
By removing "disabled" from the submit button tag, it will be displayed at all times, not just when the user clicks on the check box.

The idea is that you want to make the user agree to the terms, click the 'agree" box, and the button appears. Then the page submits to the page specified in the "action" part of the form.

kaptk2002
10-18-2002, 04:20 PM
ok...maybe i didn't make this clear the first time. I want the "enter" button to be disabled until the agree to terms box is checked.

once the accept box is check i want to link the now enabled button to "home.htm".

hence i only want the link to work when the button is active hence the agree box has to be checked in order for the site viewer to proceed.

adios
10-19-2002, 02:18 AM
Doesn't the script do that?

Philip M
10-19-2002, 08:09 AM
According to DD the script only works in MSIE 5.0+. This seems to reduce its usefulness.

lacrypta
10-20-2002, 12:01 AM
this script helps enforce it, by disabling the submit button (in IE4+ and NS6+) or process (all other browsers) until he/she checks a box indicating compliance.
you sould read the description