Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Formdazzle!

Theming Drupal forms can be difficult and time-consuming. The Formdazzle! module provides a set of utilities that make form theming easier.

With hook_form_alter, hook_theme_suggestion_hook, and hook_preprocess_hook, themers have full control over how forms get rendered. But the Formdazzle module does all the hard work for you. Just enable the module. There’s no configuration. And it automatically adds theme hook suggestions to all parts of your form, even to hidden parts!

Here’s a full list of the things Formdazzle does:

Form and form wrappers

Hidden theme suggestions and form wrapper attributes

Form elements

Form element names, types, labels, and theme wrappers

Miscellaneous features

Views exposed forms, webforms and 100% theme compatibility

Guide maintainers

johnalbin's picture