0

Hello Drupal community,

I am trying to create a group of fields with an accordion, so that it can be visible/unvisible with a simple clic on the title of the field's group.

Does anyone know how to do it ? Or know a module that does it ?

1 Answer 1

4

The Field Group module is great for that usage.

Fieldgroup will, as the name implies, group fields together. All fieldable entities will have the possibility to add groups to wrap their fields together. Fieldgroup comes with default HTML wrappers like vertical tabs, horizontal tabs, accordions, fieldsets or div wrappers.

1
  • That sounds good, but how I don't see any accordion widget, how do I implement that functionality? Commented Oct 8, 2017 at 8:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.