O'Reilly logo

Drupal 7 Themes by Ric Shreves

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

How Forms work in Drupal

The forms in Drupal are tightly integrated with the core. Forms are always displayed either inside the page content region or in blocks, therefore working with forms also means working with the area surrounding the form. As a result of these various complications, theming the Drupal forms requires awareness of a variety of techniques and can frankly be a bit of a chore.

Note

For developers, there is a dedicated API for Drupal forms. The API makes it possible to access the full functionality of the forms and to create your own forms. While it is not necessary to dig into the API to theme your forms, if you wish to do more, for example adding new fields or deleting mandatory fields, you will need to reference the API. Start ...

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