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

<!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>

Thanks, i'll try it out too
:P

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!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.