Build a donation form

License Note

You will need a Gravity Forms Pro or Elite License to collect payments with your donation form (depending on your preferred payment gateway).

You can get a head start on the donation form using this Gravity Forms template, or you can start from scratch.

You’ll probably want to collect at least the donor’s name and email address. You may want to give them a place to add a note and the option to display their donation anonymously. Then you’ll need a payment field.

Let’s start building!

Completed Donation Form including Name, Email, Donation Message, Donation Amount and Total Fields

First, I added required fields for Name and Email address.

Next, I added a Single Line Text field to allow the donor to include a message with their donation. Alternatively, you could choose to allow them more room for their message using a Paragraph Text field. I also added a field description telling the user that their message will be displayed publicly.

Next, I added an option to display the donation anonymously, with a description that indicates that the fundraiser will see the donor’s name, but the public display will show “Anonymous”.

Finally, I added the donation fields. You’ll want to start with a Product field. There are several types of Product fields, so let’s review the options:

  1. Single Product – use this if you only want users to be able to donate a certain amount (e.g. $20).
  2. Drop Down & Radio Button – these allow you to suggest various pricing levels so that your donors can choose the best option for them. 
  3. User Defined Price – this allows your donors to enter any donation amount they choose. (Gravity Forms Price Range from Gravity Perks allows you to set a minimum and maximum price on this field if you would like to restrict it.)
  4. Hidden & Calculation – we will not be using these options for this form.

I used the Radio Button product field type and set three pricing levels: $5, $10, and $20. I also added an “Other” option. Gravity Forms does not support an “Other” option out of the box like they do with a standard radio button field, so this requires a small workaround – Simply add a fourth option, and give it a label of “Other” and a price of $0 as seen below.

The choices for a Gravity Forms Radio Buttons field showing donation amounts from $5 to $20

Next, add another Product field and set the field type to “User Defined Price”. Make this field required and then enable conditional logic. 

Required button is checked on the General tab of Amount of Donation field

Set the conditional logic to show this field when the “Other” option is selected in the field above.

Conditional logic filters

Next, add a Total field. When you’re done, your form should look like this:

Completed Donation Form including Name, Email, Donation Message, Donation Amount and Total Fields

Finally, add the field of your preferred payment gateway. Gravity Forms integrates with Stripe, PayPal, and other payment processors. Once you’ve chosen a payment gateway, install the required plugin and configure the feed.

After you’ve updated your confirmation messages and notifications, enter a few test entries so you’ll be able to see what they look like in your View.