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.
How can I get the calculator widget to ignore certain part of a dropdowAsked by globalweb on July 04, 2016 at 03:52 AM
How can I get the calculator widget to ignore certain part of a dropdown value?
For example here are the values we plan to have:
$49 - 10 Leads
$99 - 25 Leads
It needs to use the dollar value for calculation, but ignore the total lead #.
This is a re-post of a comment on How to Perform Form Calculation Using a Widget
You will need to add calculation values to achieve this, here is a guide that will help you to do it: How-to-Assign-Calculation-Value
Then in the option that you want to ignore you can avoid adding a value, instead you can use a character, something like this "-" as the calculation widget will include number only, this value will be excluded.
Here is a sample form with this method: https://form.jotform.com/61853441074959
But if you need this option to have a calculation value although you're not using it, then you should use conditions, you will exclude the value when it is selected, the condition that will help you to achieve it is "Update / Calculate Field", here is an example about how the condition should look:
Please if you have questions let us know, we will be glad to help you.