From the course: jQuery for Web Designers
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Solution: Dynamic contact form - jQuery Tutorial
From the course: jQuery for Web Designers
Solution: Dynamic contact form
(soft chiming music) - [Voiceover] Okay, let's take a look at my solution to the web form shuffle challenge. We're dealing with this area down here, the General Information area. Now the first task was to make sure that all of these checkboxes were disabled when the page first loads. And if I try to click any of them, yes indeed, I can see that they don't work. Once I click this, they all become available. And then if I happen to uncheck this again, here they are, all disabled. Very good. And now, if I submit this form, I've said, "Please do sign me up for the mailing list." And I go to contact-submitted. If I click No thanks! I go to contact-submitted-nosub. Okay, so this is everything that we wanted to do. Now let's see how I did it. Okay, first up, I'm making a selection of the checkboxes. So what I've done here is I've selected the checkbox group, which if we inspect this, you'd see that we have a div that encloses all of those checkboxes of interest. So I selected all of those…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.