Enabling date pop-up

As briefly mentioned in the recipe Adding a date component discussed in Chapter 4, Discovering More Components, we can vastly improve the user interface for date component's input.

Getting ready

Let us go to the project home page to download and install the Date module: http://drupal.org/project/date.

How to do it...

The Date module carries a lot of diverse functionalities. For Webform to use the date selection pop-up, we need to enable both the Date API and Date Popup modules.

How to do it...

How it works...

All Webform date components will now render with a pop-up calendar to facilitate date selection and input. Let's view our Speaker Registration form and click on the calendar icon that now appears next to our Arrival date component to get an idea of what this means for our users.

How it works...
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset