Betterdate

Component ID

92617

Component name

Betterdate

Component type

module

Development status

Component security advisory coverage

not-covered

Downloads

2575

Component created

Component changed

Component body

Betterdate makes non-required FAPI date fields work as expected.

In Drupal core versions 4, 5, and 6, FAPI 'date' form fields cannot distinguish between required and non-required fields. In both cases, a user must enter a date, even if the field has been designated not required.

This module silently finds all date fields, and modifies the non-required fields to have null options (represented by "--"), and default forms to these null options.