CRM-1336 Custom Data (Admin) - Validation is Incorrect for Money >> Select Field Values

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: 1.6
    • Component/s: None
    • Labels:
      None

      Description

      Create a new custom data field, with Data Type = Money and Input Type= Select.
      For multiple choice option 1, enter "High" for Label and 50.00 for Value.
      Save..

      You get this validation error on the Value:
      Please enter a valid value for this field.

      This is a bug, since 50.00 IS a valid money value.

        Attachments

          Activity

          [CRM-1336] Custom Data (Admin) - Validation is Incorrect for Money >> Select Field Values
          Abhilasha Vasu added a comment -

          modified qfVariable function in Rule.php to allow variable with ' . '
          resolved in rev. 7386

          Piotr Szotkowski added a comment -

          If you're allowing the dot, you should also allow the comma, as coma is the monetary decimal separator for many locales: 20,00 z?.

          Kurund Jalmi added a comment -

          options should allow comma for custom field type money

          Swati Vaidya added a comment -

          Fixed with r-7735

          Swati Vaidya added a comment -

          Tested with r-7735

          Piotr Szotkowski added a comment -

          Reopening closed issues to make them editable.

          Piotr Szotkowski added a comment -

          Changing the issue to resolved and unverified for 1.8.

          Piotr Szotkowski added a comment -

          Make the issue unverified for 1.8.

          Piotr Szotkowski added a comment -

          Assigning to Sameer for 1.8 verification.

            People

            • Assignee:
              Sameer Mare
              Reporter:
              David Greenberg

              Dates

              • Created:
                Updated:
                Resolved: