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

Custom number field defaults to 0 for particpant, when none set

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.7.29
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No
    • How it should work:
      Custom number field should be empty on save, if no default value has been set under custom field, and the user does not submit a value.

      Description

      Tested locally, and on demo site. To reproduce:

      • Create custom field set for participant
      • Add number field, set default as blank
      • Edit participant, leaving custom number field black
      • On save, the field will be set to 0.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eileen Eileen McNaughton
                Reporter:
                devmate Adam Kwiatkowski
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: