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.
Calculation field: How to change prices depending on optionsAsked by speejack on May 22, 2014 at 07:58 AM
Thank you for your explanation earlier. However, I still can't figure out how to set it up properly.
Pls take a look at this form: http://www.jotform.com//?formID=41395497948373
The client fills in the amount of minutes, which is multiplied by 1 ($ an hour), than they have 2 more options to choose, these options need to be included in the price calculation. Even after following instructions and selecting them I don't know how to get this added up into the calculation field.
Can you help?
Thanks a lot,
First of all you should really use radio buttons instead of checkboxes. Since the user want the user to choose EITHER standart OR VERBATIM. You do not want them to choose both.
I have prepared an example here:
Please try it first and see if this is what you wanted. If it is, you can either clone the form or apply it to your form. Here is a screenshot tutorial:
First I added two hidden fields. You make fields hidden by adding a regular field and then selecting "Hide" from options:
So, after adding Type Value and Turnaround Value, I need to make them change depending on what the user choses. Again, checkboxes makes this slightly incorrect. If you use radio buttons they will work better.
For each one I added a condition:
The calculation will set a value to the hidden fields:
Next, I added these fields to the calculation field:
It works pretty well. If you have any further questions please let me know.
In addition, you can also assign separated and specific calculation values each one of your checkboxes and Radio Button options in order to get the desired calculation.
To add the Calculation values to your check boxes, please follow these stesp:
1. Right click on the Type field.
2. Then, click on Show Properties.
3. Then, add the values in the Calculation Values section. Simply click on the Click to Edit area.
I hope this helps you. Feel free to let us know you need further assistance with this query.
That's actually a much simpler solution. Instead of creating hidden fields, give each option a calculation value. And the final calculation will be similar.
By the way, here is the URL of my cloned form with the already-added calculation values.
The calculation values of the options of my form are 0.30 and the formula is in this way.