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 fieldset components

Now that we have two distinct groups of input fields on our form, that is, speaker personal information and presentation information, it would make our form more organized if we had a way to clearly separate the two groups of fields. HTML (Hypertext Markup Language) enables field grouping by means of fieldsets.

We're going to add two fieldsets to our form to improve the organizational layout of the form by separating our input fields into their respective groups.

How to do it...

  1. Add a new fieldset component named Speaker Details and just accept the default settings by saving the component.
  2. Add and save another fieldset component named Presentation Details.
  3. Now we're going to drag each input field into its respective fieldset ...

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