Moodle
  1. Moodle
  2. MDL-7816

Quickform: allow date selector to be optional (with checkbox)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: Forms Library
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Rank:
      11778

      Description

      It would be good if the date_selector form type had an 'optional' parameter that automatically added a checkbox to the same field, which would then set the value to 0 unless the checkbox was checked.

        Activity

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: