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
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...