Element Shuffle
Component ID
1132056
Component name
Element Shuffle
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Manipulates the order of form description and input elements, and optionally make the description collapsible. This is useful to unclutter node forms with a lot of long descriptions.
This module is two-fold:
- Fields and fieldgroup has options for changing the input/description order, and making the description toggable
- The Form API is extended with two new attributes
#description_above- Move the description before the input element
#toggle_description- Makes the description collapsible using a button to toggle it
Use these whenever you're altering or creating forms and want to manipulate the descriptions.
Usage
Enable the module and configure fields and fieldgroups in the content type field management interface. Add a nice, long description for the fields and make the description toggable in the Element Shuffle fieldgroup of the field.
Similar projects
- Form Tips. This module will manipulate descriptions based on XPath/jQuery selectors on the rendered HTML, whereas Element Shuffle will require the form to specify which elements to manipulate.
