**floydpr**Is it possible to have the form calculate the total of a donation based on how many times they select for the donation to be made?

For example, if we want employess to say how much they want to donate to the United Way and then how many paychecks they want that amount taken out, we wonderred if the form could multiply the amount by the number of paychecks and provide a total. Does that make sense?

- JotForm Support
**Mike_T**Thank you for contacting us.

Is this supposed to be an online payment form (integrated with PayPal or some other payment system) or just a form that will be calculating the total based on user input?

We are looking forward to hearing from you.

**floydpr**It will not be integrated with any payment system. The total will be put in a spreadsheet that will be used for payroll deduction.

Mark Hannah

Intranet Content Specialist

Public Relations

706.509.3253 phone | 770.905.9172 cell | 706.509.3241 fax

mhannah@floyd.org | www.floyd.org

Corporate Support Center, 420 E. 2nd Ave., Suite 104, Rome, GA 30161

**KadeJM**It seems to me that you are basically looking to create a mathematical equasion on the form where they could enter in say " A " amount as the paycheck minus " B " for a set Donation amount to come out of the Employees Paycheck. Then have it multiplied by " C " amount for the Quanity equalling a sum of some sort " D " to be taken out of their paycheck each time depending on how many times for their quantity they chose. I kind of think that is probably how this would be done, Is that correct?

Unfortunately I don't know of a way that this would be possible with any feature we have. It would likely have to be built with the form's Source Code as a custom workaround and then embedded onto your website for use. We can try to help you with this but it may take some time to figure out more.

- JotForm Support
**Mike_T**I have cloned your form, added a total field, then took the form source code and added my custom script along with the form code to the web page:

https://shots.jotform.com/mike/examples/donation-total.html

If you would like to use this solution with form source code and custom script we can try to help.

Thank you.