Offer discounted prices in a form

In this article:


Introduction

While the primary purpose of LGL forms is to help you collect online donations and build a recurring gift program, many of our customers also manage ticket sales or event registration fees using forms. Some organizations also provide discount codes for registration/tickets and want to offer the option for registrants to apply the code in their event registration form to receive a discount on the cost.

While LGL forms does not offer the ability for a discount code to be applied to a total dollar amount in a form, it is possible to set up a form that uses a simple discount code scenario, where the discounted pricing is displayed when the form user supplies the correct discount or promo code.

How it works

Setting up a form to offer a set of discount options requires:

  • Adding a promo or discount field (using a "Single-line input" field), with a display rule set to equal the name of the code
  • Creating multiple copies of your form’s Amount field, with one set of discounted amounts listed in each, and then
  • Using display rules to determine when to show which set

By default, the general/non-discount field will show in the form. When one of the codes is typed into the applicable field, that field will disappear and be replaced by the appropriate discount field.

While it’s your choice how many levels of discount to offer, we recommend only one or two. The fields and mapping required to set up the discounted pricing will quickly become difficult to navigate and manage for a higher number of discount levels.

NOTE: LGL forms does not offer the ability to be based on “this condition OR that condition” simultaneously because a display rule for a field can be based only on input from a single field. An example of a single input type is the answer to the request, “Please type your promo code here”.

Example: Use display rules to show discounted prices for event tickets

Please follow these instructions to build a single set of discount prices into your event registration form.

  1. Build your event registration form, including a "Single-line input" field where users can input their promo or discount code.
  2. Add an Amount field for each set of prices, discounted and full rate, that you are offering. This screenshot shows an example of how this should look.
  3. 2017-02-06_1526.png
  4. Add display rules to the full price Amount field to prevent the discount prices from displaying if your registrant doesn’t add a promo code:
  5. 2017-02-06_1533.png

    2017-02-06_1533_001.png

  6. Do the same for the discounted price Amount field, but cause it to display when the promo code is added:
  7. 2017-02-06_1536.png

    2017-02-06_1536_001.png

    NOTE: Remember to click the Save & Finish button when you’re done editing your form:

    2017-02-06_1539.png

  8. In your form mapping, you can use an Amount field for each set of amounts: 1. “Amount with discount” (the discounted amount) and, 2. “Amount” (the full price):

2017-02-06_1544_001.png

NOTE: When your fields are all mapped, remember to click the Save & finish button:

2017-02-06_1552.png

Now you have a form that will display a discounted set of prices when your donor types the correct promo code of “50off” into the Promo code field:

2017-02-06_1602.png

NOTE: In your form, you won’t want to provide the promo code that will unlock the discount prices. This is here to share the discount code with you, so that you can test that the form is working.