Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

advancedform

95 sites Security covered
View on drupal.org

A UI tweak to hide certain features or the form interface from normal use, but still have them available on the page for validation and quick access.

This slims down the UI to make things seem simpler, without overloading the maintenance tasks with layers of permissions, or removing any control from the user.

USAGE

When enabled, any configured form can have elements hidden (by css) for normal use, and a small client-side button [Advanced] can be pressed to reveal the rest of the form as needed.

CONFIGURATION

The syntax for defining which form elements are 'hidden' is based entirely on css selectors, with some shortcuts.
node-form:[#revision-information]
- will hide the revision information fieldset on node forms.
block-admin-configure:[#user-specific-visibility-settings]
- will remove a seldom-used option from block admin pages.

Use firebug or similar to find the correct selectors to choose your target form elements.

A number of additional css classes are inserted into the form element for additional, specific control.
Taxonomy terms selected on node forms are also set as context classes, so it's possible to define rules that only apply when a certain term is selected in the
form.
More instructions are on the config page, which can be found at
/admin/settings/advancedform (D6)
/admin/config/user-interface/advancedform (D7)

To debug the css or see how it works, look at the path '/advancedform_css'

Permissions (required)

The 7.x-1.0 release introduces a permission that provides access to the toggle button. If installing or upgrading, you should check user permissions and grant access to the roles that will have the ability to use advanced fields.

SEE ALSO

Written with reference to formfilter.module which does a similar job through access restrictions, whereas I want to trust my users, but avoid confusing
them. And clean up my own admin edit interface.
This module is intended to be more lightweight than formfilter, and does not have such an extensive admin UI. It is recommended you compare this module with that one and decide which suits you best.

vertical_tabs.module is excellent, and takes a different approach at minimizing the screen size and hiding unwanted elements.
This module has not been tested with and may not work well with vertical_tabs

OTHERS:
nodeformsettings.module - is a set of custom UI tweaks, half of which can now be done by this module.

compact forms - marginally tidies up some forms on the client side.

form defaults- advertises a UI for form_alter type operations. Untested

Jammer - advertises similar features, though due to the odd name, it didn't come up in any initial searches for similar solutions. It's got a D7 version, so may be worth trying.

Simplify does some of this also. It offers a limited pre-set list of page elements you can turn on and off with a config UI. It operates on the PHP side, so doesn't offer the on/off toggle.

BACKGROUND

This is more useful for in-house development with a set of trusted content editors. It was built for tutoring, where I needed to be able to demonstrate the functionality of the site as editors would see it, yet still have access to admin functions without messing around with switchuser etc.
So I switched off the clutter.
Collapsed fieldsets are a good start, but there's still too many of them by the time we start with ecommerce products etc.

Note this 'permission' isn't actually secure - the full form is still available to browser hacks - like disable css or js

CSS-hide trick for context-sensitive forms developed by dman 2006

Activity

Total releases
1
First release
Nov 2025
Latest release
4 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
2.0.0 Stable Nov 25, 2025