NOTE: This information is applicable only for clients with the Forms+ product.  

You can now use advanced features such as calculations and conditional logic in SchoolCash Forms+ to help your schools collect fees in new and innovative ways in SchoolCash Online. An example is the ability to let parents use discount codes to allow for fee waivers, fee discounts, and pricing caps. Discount codes can be used to waive or discount the cost of items if a student belongs to a free or reduced student group, or if there is a pricing cap that the schools have in place for certain students.

In the example item below, the school is collecting fees for a field trip to the science museum and the planetarium. In addition to being extremely useful in collecting fees and information from the parents in a user-friendly manner, the form attached to this item also allows the parents to use discount codes.

These discount codes can be shared with these students and their families and can be built into the form to handle discounts automatically during fee payment. In this example, the numbers from 33927 to 34927 are considered valid discount codes by the school. Here, a valid code has been entered in the form and a discount of $40 has been applied making the amount due $10.    

Setting up the form in SchoolCash Forms

To implement discount codes using a form, you can start by adding a description element explaining how the discount code works. See the example in the form below.

The next element in the example form is a radio button asking the parents if they have been provided with a discount code by the school. If they select “No”, they will pay the full amount. If they select “yes”, the new form number element “Discount Code” shows up. This “Discount Code” element makes use of conditional logic with the rule: If “Do you have a discount code provided by the school?” is “Yes” as shown below.   


You can add number elements and use the toggle ‘Number from calculations’ to set values for these elements. The “Price no code” element has a Number value of “50” while the “Code discount” element has a number value of “40” in this example. You can choose to keep these elements hidden from the parent by toggling on ‘Hidden’ under the element properties.



The “Code discount” element also has conditional logic enabled with the rule that it will only show when the “Discount Code” element is between 33927 & 34927, which are the valid codes in this case. This will ensure that if the “Discount Code” is outside of this range of numbers, a discount will not be applied to the final price.


The last step here is to calculate the final price of the field trip. This will be the amount owed by the parent. This “Final Price” element is also a number element with the ‘Number from Calculations’ toggled on. The mathematical equation we have used here is “Price no code” field minus(-) the “Code discount” field. This will ensure if the discount code is valid, the parent will be charged a discounted fee of $10 ($50-$40) in this case.

You can set multiple discount codes to set multiple discount levels if needed using a similar method.