Creating complex field widgets on Drupal

Dharizza Espinach


Working with custom forms can be challenging at the beginning, there are a lot of items and widgets and elements in the Drupal Form API but sometimes we have special needs that are not met by the tools we already have, it is then when we need to start thinking about creating our custom widgets.

In this talk, we're going to dig deeper in the world of the creation of custom widgets, I'm gonna show you an example where we created a custom widget that transforms a JSON schema into a form inside of a bigger form in Drupal.

At the end of this talk, participants will be able to:

create custom widgets with configuration forms.
add complex items to their widgets.



https://2020.badcamp.org/session/creating-complex-field-widgets-drupal

Drupal is a registered trademark of Dries Buytaert.