What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
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.
Form Rules Logic IssueAsked by Orel on September 16, 2015 at 11:14 AM
I have a form with several options for donation memberships. A user can select any number of memberships, each of differing cost. I would like the resulting price to be tallied automatically. For example, user 1 can sign up for A, B, and C. A costs 100, B 200, C 300, and so on. The final result should be 600. I can't presently figure out a way to do that. The field options allow me to have a form for price, and a form for checkboxes where I put the donation option fields, but no way to auto-calculate the checkboxes selected and their associated value. If you can please help me with that, that would be great.
You can achieve this using check-boxes then adding calculation values after that you can use the form calculation widget and calculate the total of the selected options using the average function
Here is short screencast on how to add the calculation to the form calculation widget.
Please let us know if you need additional clarification.
Here is a link to the form used in the demo http://www.jotformpro.com/form/52512723819961
The calculation seems to be summing up the values and not averaging it. How do you average?
Your thread has been updated, please use the formula suggested by Kiran.