Avoiding Negative Contributions on Membership Renewal

Created on 9 March 2024, 9 months ago
Updated 10 March 2024, 9 months ago

I am building a membership renewal form and would like to enable the member to make an additional contribution upon renewal. The contribution amount is of type CiviCRM number and has a minimum set to 0.

The user is still able to create a negative number in contributions, which subtracts from the overall total, thus lowering their membership renewal amount.

How can I avoid this?

πŸ’¬ Support request
Status

Active

Version

6.2

Component

Webform/Drupal

Created by

πŸ‡ΊπŸ‡ΈUnited States lhubbert

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @lhubbert
  • πŸ‡¨πŸ‡¦Canada karing πŸ‡¨πŸ‡¦

    Thank you for the report. I'm also seeing it when reTyping it to a Number or when adding a Number field (so that's native Webform).

    Quick work around: reType total_amount to a Select and let people make a top donation selecting a set amount - $10, $20, $50, whatever amounts are appropriate.

  • πŸ‡ΊπŸ‡ΈUnited States lhubbert

    Thanks, KarinG. I did try changing to a number field as well and saw that it could be set to a negative amount. Unfortunately, this is for a rather high-end member organization so the extra donations could be anything from $100 to $1000. I'll hold off on the extra donations for now and hope a fix is found at some point.

Production build 0.71.5 2024