CRM-14868 '$' in amount_other causes error

    Details

    • Documentation Required?:
      None

      Description

      When a '$' is entered in the Other Amount field an error is given, "Please enter a valid amount". This is reported regularly, though not often, and some people who would contribute give up.

      It would be easier for the user if currency symbols were stripped before validating the input.

      More information available at:
      http://forum.civicrm.org/index.php?topic=27285.10

        Attachments

          Activity

          [CRM-14868] '$' in amount_other causes error
          Donald A. Lobo added a comment -


          would help to get it in an earlier release if you (or your consultant/developer) can contribute a patch towards fixing this

          paul campbell added a comment -

          For QA

          Coleman Watts added a comment -

          Is there a patch or PR you would like us to QA?

          David Greenberg added a comment -

          Jon Goldberg posted this comment on duplicate issue (thanks for QA Jon!!)
          =============
          You're absolutely correct, this was a duplicate of CRM-14868. The scope of CRM-1274 was a bit wider than CRM-14868, so I tested that the fix for CRM-14868 works in all the places listed in CRM-1274 that CRM-14868 didn't mention (e.g. when editing the monetary amount for membership types). It works in all of them, so this is completely duplicated, and the fix works well!

            People

            • Assignee:
              Coleman Watts
              Reporter:
              V Spagnolo

              Dates

              • Created:
                Updated:
                Resolved: