0

Hi, I think this is my second post here. I am new to coding things the slightest bit complicated, so I hope someone can help me out! Here it is:
I have a website with a very simple form (just a dropdown list, an 'I agree to the Terms of Service' checkbox, and a submit button.
I want to have the submit button grayed out until the 'I agree to the ToS' Button is checked, and of course, I need it to gray back out again if you un-tick it again.
Here is a link to the site: http://www.projectflyffinnovation.com/php. If you want my code, just view the page's source. I currently have a link that does what I want (but clicking it again doesn't gray it out again), but I can't figure out how to make checking the button it it, so I can remove the link.
I would really appeciate some help!
Thanks in advance!
-Keavon

P.S. Please also check out my other post to see if you can help and answer that one too.
http://www.daniweb.com/forums/post1318477.html#post1318477

Edited by keavon: n/a

2
Contributors
3
Replies
5
Views
7 Years
Discussion Span
Last Post by keavon
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Untitled</title>
</head>
<body>
<form>
<input type="checkbox" name="agree" value="yes" onclick="Submitter.disabled = !this.checked" />Do you Agree?
<input type="submit" name="Submitter" id="Submitter" value="Submit" disabled="disabled"/>
</form></body>
</html>
0

Thank you SO MUCH! It works!!!!!!
I have posted on so many forums about... err... well my other question, and you are the first person to answer... both of my questions! :P
Thanks!
daniweb.com is the forum I find the most help on. xD
Thanks!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.