How to create a partial date field in Drupal (i.e. Year & Month without Day) | Debug Academy
One of Drupal's main strengths is its data modeling. But sometimes choosing the appropriate field type comes with a form widget that isn't what we're looking for. For example, using a Date field results in the form displaying a date "widget" (form input) which includes a full date consisting of a day, month, and year, and optionally a time. How to remove the time from a date field in Drupal Because removing the time from date fields is such a common request, Drupal allows its removal without writing any custom code.
Add comment