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

Adding textarea components

We need to gather some information from speakers regarding the presentation they plan to deliver at our conference. Organizers have specified that the presentation title may not be longer than fifty characters and is a required field. Organizers also need a brief synopsis of the content of the presentations for inclusion in marketing material.

How to do it...

  1. Add a new mandatory textfield component named Presentation title.
  2. On the settings page, set the Maxlength property to 50 and save the component.
  3. Add a new mandatory textarea component named Synopsis.
  4. In the Description text area on the settings page for the textarea, we enter the following descriptive text before clciking Save component:

Please provide a clear and concise ...

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