Support » Plugin: GiveWP - Donation Plugin and Fundraising Platform » Possible to set Custom Amount as default in form?

  • Resolved susantau

    (@susantau)


    Is it possible to set the Custom Amount to be the default in the form, so that the amount field in the form is not filled in except by the donator?

    • This topic was modified 3 weeks, 2 days ago by susantau.
Viewing 1 replies (of 1 total)
  • Plugin Support Ben Meredith

    (@benmeredithgmailcom)

    Hi @susantau,

    Happy to help here. There’s not a code-free way to default the box to a custom amount where the box is empty, but you can default it to 0 and require donors to fill in that amount.

    Regarding displaying the donation amount as 0, we have a custom snippet that will allow you to do that.

    https://github.com/impress-org/givewp-snippet-library/blob/master/form-customizations/auto-focuse-on-amount.php

    A few caveats:

    Give doesn’t allow this by default because we try to adhere to fundraising best practices. Suggesting an amount (using the default amount option) will dramatically increase the number and amount of donations your organization receives. Part of that is that the donor has fewer clicks before they donate. Another part is just the psychology: ask for a big amount. The folks who can, will, the folks who can’t will adjust to a level they can give.

    Additionally, from a technical perspective the form cannot be submitted at all with a zero amount for validation purposes.

    Finally, the page will auto-scroll to that spot on the page upon load if you use the custom snippet. That’s unavoidable.

    If you need assistance implementing custom PHP code on your website we have this guide:

    https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/

    Please note that this code snippet is provided as an example of how you can extend Give with code. It’s up to you to implement and customize to your liking. We cannot provide support for custom code on your website, only the code that we create and distribute.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.