jQuery UI Widgets
Illustration by John Hersey

Challenge: Upgrade the contact form


From:

jQuery UI Widgets

with Joe Chellman

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now

Video: Challenge: Upgrade the contact form

For this jQuery UI challenge, you're working with the client, Explore California, specifically working on their contact page. Generally speaking they like it, but there's a few things that they'd like to see happen. First they'd like these two panes to be collapsed into an accordion. They'd also like to have a date picker on the date of tour page, and they want to make sure that you can't select a date that isn't before tomorrow. In other words, they don't want people to be able to request information for tours that have already happened. Next, they want to be able to, not only have people check off which ones they like, but allow them to drag to the top of the list the ones that they like most.
please wait ...
Watch the Online Video Course jQuery UI Widgets
33m 53s Intermediate Nov 11, 2013

Viewers: in countries Watching now:

Despite the possibilities offered in HTML5, there's still a call for customizable widgets that can be used in websites and web apps. jQuery UI, a popular plugin for jQuery, is here to answer that call. Joe Chellman shows how to install the plugin, use the accordion and date picker widgets, and add behaviors that change how existing page elements respond to user input. Finally, you'll apply the concepts you've learned to a typical project you might see coming from a client—a survey form.

This course is a short companion piece to jQuery for Web Designers. See that course for information about building your core jQuery skill set.

Subject:
Web
Software:
jQuery
Author:
Joe Chellman

Challenge: Upgrade the contact form

For this jQuery UI challenge, you're working with the client, Explore California, specifically working on their contact page. Generally speaking they like it, but there's a few things that they'd like to see happen. First they'd like these two panes to be collapsed into an accordion. They'd also like to have a date picker on the date of tour page, and they want to make sure that you can't select a date that isn't before tomorrow. In other words, they don't want people to be able to request information for tours that have already happened. Next, they want to be able to, not only have people check off which ones they like, but allow them to drag to the top of the list the ones that they like most.

And then submit them. So there's three parts here. Let's go over them. Here are the pieces of our jQUERY UI challenge. First, convert the contact form into an accordion. One of the things you should note here, is that each pane might not fit the content exactly. One of them might be too big, one of them might be too small. So when you instantiate it, see how it looks, and you might need to adjust the options to make sure it looks just right. This is going to take a little bit of massaging of the HTML most likely, to fit the requirements of the Accordion widget. Next you're going to need to add a date picker.

And when you add the date picker, set a minimum date of tomorrow, so that people can't choose a date that's already passed, or is today. And then finally make the tour choices sortable. You don't have to worry about processing the results when the form is submitted. Just make sure that they're sortable and people can check off the ones they like. This challenge is going to incorporate some massaging of the HTML, you might need to tweak a bit of the CSS, although I have provided for you a CSS file that makes the theme of the UI widgets, look a little better on this page. If you want to do some more massaging of those, feel free to.

That's your jQuery UI challenge. Good luck.

There are currently no FAQs about jQuery UI Widgets.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed jQuery UI Widgets.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.