Field widgets are how you collect the content of your fields within Drupal, there's a wide range of options available depending of the type of field you're working with. So something like a data field might give you the option of inputting the appropriate data either as a text field, a date dropdown or even a calendar dropdown. Different fields have different widgets which are appropriate for them and of course you can look to the Drupal community for more or even create your own! Below are a selection of our articles on Drupal field widgets....

Read some of our articles about Drupal field widgets

Article
Posted on 24th June 2025
Takes about 2 mins to read

When a client has a need or idea that other people might benefit from, it's a great opportunity to contribute a module back to the community. I recently created the new Autocreate Access module to solve a problem on a project where Drupal's autocomplete tagging widget for taxonomy terms didn't work as our client expected. Typically, Drupal sites utilise this field widget to allow users to create new categories for their content on the fly...

Article
Posted on 10th November 2015
Takes about 2 mins to read

Languages make everything so complicated! I just discovered the autocomplete bit on my reference fields wasn't working - until I tried searching by another language, and then the results gave me a surprise: My homepage, originally in French, has had an English translation added, but whilst editing in English, I had to search with the French title in order for the page to come up... with the English title! Here's how to solve this... My...

Article
Posted on 4th February 2014
Takes about 2 mins to read

This is part 2 in my series of articles about Drupal widgets, and specifically creating a custom field. I recommend reading Part 1: Field type first, if you have not done so already. After creating the field type it is now time to create the field widget. ##a) Create the file The field widget must be located as follows: /lib/Drupal/ /Plugin/field/widget/ .php N.B. The field widget name should be in CamelCase. ##b) Add Contains, namespace...