Is there any chance I can move specifics sub-element to Custom Composite? Either, I couldn't find any way how to use flexbox inside in a custom composite.

For example, I wish to have;

[First name] [Last name]
[Yes, I am coming or no, coming] [allergies list]

Rather than all in a row:

[First name] [Last name] [Yes, I am coming or no, coming] [allergies list]

Can I also use conditional logic in the custom composite element such as if people click "Yes, I am coming" means allergies list will be visible?

  • drupal.org/project/field_group and a little bit of CSS, that's all. – leymannx Apr 27 at 22:30
  • Out of curiosity, what is Custom Composite? – leymannx Apr 27 at 22:32
  • Custom Composite is an element from webform for Drupal 8 which allow us to click, "add one more". So it could repeat the same question every time when adding one more. – Truls S. Yggeseth Apr 28 at 13:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.