Solution: Dynamic contact form


show more Solution: Dynamic contact form provides you with in-depth training on Web. Taught by Joe Chellman as part of the jQuery for Web Designers show less
please wait ...

Solution: Dynamic contact form

In this challenge, we needed to toggle whether these check boxes were enabled or disabled based on the state of this check box and then make the forms submit to different places based on these radio buttons. So first, let's make sure that this thing actually works. So we can see that the page has loaded, and all of these check boxes, no matter how much I would like to click them, are disabled. Click this check box, or its label even, and all of these are enabled or disabled as appropriate. You can check all these, and if I go back up here, and uncheck this box, they're all disabled again. They keep their check state, but they are disabled.

Then if I submit this, right now if I ask for monthly discounts, I submit it, I go to contacts submitted, I say no thanks. I go to the other place. Okay. Let's see how this thing is put together, so here I am in contact.htm and I'll jump down to the bottom to javascript. Ok, so first of all, I am selecting all of these checkboxes using this class that s...

Solution: Dynamic contact form
Video duration: 3m 12s 1h 42m Intermediate

Viewers:

Solution: Dynamic contact form provides you with in-depth training on Web. Taught by Joe Chellman as part of the jQuery for Web Designers

Subject:
Web
Software:
jQuery
Author:
please wait ...