Donation Pages

Amount

Gift Amount Helper Classes

Makes the Gift Amount Radio Inputs look like Buttons. Also works as a page level class.

radio-to-buttons_donationAmt

When the Radio to Buttons class is added you can change the number of buttons by including a second helper class or by defining your own values in CSS.

ClassDescription
donation-amount_count_1Shows 1 button per row
donation-amount_count_2Shows 2 buttons per row
donation-amount_count_3Shows 3 buttons per row
donation-amount_count_4Shows 4 buttons per row
donation-amount_count_5Shows 5 buttons per row

Live Giving Amounts

Added as classes on content) (example)

  • live-giving-amount
    • If $60 one-time is selected without Processing Fee
      • $60 = $60
    • If $60 one-time is selected with Processing Fee
      • $60 + Processing Fee ($60 * .029 + $0.30) = $62.04
  • live-giving-frequency
    • If $60 one-time is selected
      • The value is blank
    • If $60 monthly is selected
      • The value is monthly because the value in the frequency selector is monthly
  • live-giving-upsell-amount
    • If $60 one-time is selected without Processing Fee
      • $60 / 12 months = $5 (Rounded up by $5) = $5
    • If $60.01 one-time is selected without Processing Fee
      • $60.01 / 12 months = $5.00083 (Rounded up by $5) = $10
    • If $60 one-time is selected with Processing Fee
      • $60 + Processing Fee ($60 * .029 + $0.30) = $62.04
      • $62.04 / 12 months = $5.17 (Rounded up by $5) = $10
    • If $60.01 one-time is selected with Processing Fee
      • $60.01 + Processing Fee ($60.01 * .029 + $0.30) = $62.040
      • $62.040 / 12 months = $5.17 (Rounded up by $5) = $10
  • live-giving-upsell-amount-raw
    • Same as live-giving-upsell-amount but no $ symbol prefixed

Hide / Show content based on amount

You should know!

These classes can also be used on thank you pages

Utility classes to hide/show a component based on giving amount.

showifamount-{operand}-{value}

You should know!

showifamount- classes can also be used on thank you pages

Operands:

  • lessthan - Shows component when giving amount is less than {value} - Example:
showifamount-lessthan-10
  • lessthanorequalto - Shows component when giving amount is less than or equal to {value} - Example:
showifamount-lessthanorequalto-10
  • equalto - Shows component when giving amount is exactly equal to {value} - Example:
showifamount-equalto-10
  • greaterthanorequalto - Shows component when giving amount is greater than or equal to {value} - Example:
showifamount-greaterthanorequalto-10
  • greaterthan - Shows component when giving amount is greater than {value} - Example:
showifamount-greaterthan-10
  • between - Shows component when giving amount is between {valuemin} and {valuemax} - Example:
showifamount-between-10-100

Native Ask String / Swap Lists

This is documentation about managing the ask string swap list in Engaging Networks and is not specific to ENgrid, but it comes up often enough that we have a step-by-step guide. Here is how to update One-time or Monthly giving amounts on a page that uses a Form Component with a Swap List.

StepInstructionScreenshot
1Edit the Form Component with the “Donation Amount” field.screenshot
2If linked, unlink the Form Component from the Component Library.screenshot
3Save the form component back to the component library with an appropriate name that includes the amounts.screenshot
4Click the Dependencies icon.screenshot
5Click the pencil (edit) icon on your desired option in the pop-up.screenshot
6Manage the “Swap List” by clicking the pencil icon next to the associated Swap List.screenshot
7Click the pencil icon next to the Monthly Swap List in the pop-up.screenshot
8Edit the pre-defined giving amounts for Monthly.-
9IMPORTANT: Ensure the value is updated when changing the label.screenshot
10IMPORTANT: The last option should always be “Other” with a value of “other”.screenshot
11IMPORTANT: Understand how the default amount for the One-time Swap List works.recording
12Save the swap list, and close the pop-up.screenshot
13Save the alternative content, and close the pop-up.screenshot
14Save the field update.screenshot
15Save the dependency configuration, and close the pop-up.screenshot
16Save the page.screenshot
17Note the instant changes on the page you were editing if the form is saved to the Library.-
18Be aware that other pages using the same Library Form Component could take up to 1hr for the changes to propagate.-

Custom Ask String / Swap Lists

EngridAmounts

Using the window.EngridAmounts variable you can set dynamic amounts at the page level.

Example:

<script>
window.EngridAmounts = {
  "onetime": {
    amounts: {
      "10": 10,
      "30": 30,
      "50": 50,
      "100": 100,
      "Other": "other",
    },
    default: 30,
  },
  "monthly": {
    amounts: {
      "5": 5,
      "15": 15,
      "25": 25,
      "30": 30,
      "Other": "other",
    },
    default: 15,
  },
};
</script>
Previous
Frequency