JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Implimenting Total ModifierAsked by jjhosac on April 30, 2015 at 01:41 PM
I am trying to add an option to accept donations as a percent of the total purchase. How would I use conditions or calculations to modify the total when a donation option is selected by the user?
You could add a field asking if they would like to make a donation. Then associate the "No" option with a calculation value of 0 and the yes option with a calculation value of your percentage:
Then setup your calculation to take your total and multiply it your percentage, then add that number to your total:
Here is my test form so you can see the setup working in your form:
It is currently adding 3% but you can adjust this value to whatever you would like.
If you have any further questions or need any help getting this setup in your form, let us know and we will be happy to help.
That was a huge help but I modified the form slightly to make it look cleaner. I am still having issues getting the total to change so the user can see the total prior to submission. Thank you for taking your time to help me out. Rather than having 2 separate fields, I just posed the question with radio buttons to simplify the form and the process for myself as well.