Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-3970

Checkbox's default value is CHECKED

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.4
    • Fix Version/s: 2.2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      The default value for checkboxes is 1, as set in packages/HTML/QuickForm/checkbox.php, however the CHECKED property is not also set. CiviCRM properly toggles the CHECKED property if the value is changed, but it isn't set on the initial value. I find it hard to believe that this problem really exists, so maybe I'm missing something. But the problem shows up for me, on the Drupal user register page, that the value for the checkbox is set to 1, but it's not CHECKED.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              douggreen Doug Green
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: