- globalwebAsked 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
- JotForm SupportKevin_GAnswered on July 04, 2016 at 09:18 AM
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.