O'Reilly logo

Drupal 7 Webform Cookbook by Douglas Vernon Denny

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required