Title: Condition on Calculation
Last modified: October 2, 2020

---

# Condition on Calculation

 *  Resolved [nassimbjf](https://wordpress.org/support/users/nassimbjf/)
 * (@nassimbjf)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/condition-on-calculation/)
 * Hi best plugin ever,
    Thanks for your amazing support Please check the form in
   this link first: [https://voixoff.ma/malek/](https://voixoff.ma/malek/) in this
   form I have 2 fields : – Project Category – Script length in – Project Category
   we have 4 items, each one has its own value for example ** – Webvideo and corporate
   film : 150 $** This form helps our customers to know the price of Voice Over 
   depending on the script length or the number of words in his script, and the 
   price I calculate it like this : ({number-1}/150)*{select-1} – in this form, 
   if the script length is 150 words the price is 150$ – if the script length is
   200 words the price is 200$
 * My Question is : is there a way if the client sets a number under 150 the price
   stays 150$ ( only if it’s under 150 words) ?
    if Yes, please help me.
 * Thank you so much for your amazing support
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcondition-on-calculation%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/condition-on-calculation/#post-13488641)
 * Hi [@nassimbjf](https://wordpress.org/support/users/nassimbjf/)
 * We are happy to hear you like the product and the support.
 * Currently, we can’t add conditions to the calculation form, but we are already
   working on this feature.
 * I can see you don’t have the payment on the form, in this case, a workaround 
   is creating two different calculation fields.
 * One calculation to show only for values less than 149: [https://monosnap.com/file/h8yy7Tl8rCFlWaVvNlDP4foWw3jnOI](https://monosnap.com/file/h8yy7Tl8rCFlWaVvNlDP4foWw3jnOI)
 * This has a fixed number on formula, or let’s say it is the min value of select
   one so the formula is only {select-1}.
 * And then the second calculation the visibility to show on two cases:
 * – Is 150 and greater than 150, then you will use this formula:
 * ({number-1}/150)*{select-1}
 * You can find more about visibility on [https://premium.wpmudev.org/docs/wpmu-dev-plugins/forminator/#forminator-fields](https://premium.wpmudev.org/docs/wpmu-dev-plugins/forminator/#forminator-fields)
 * Let us know if you have any additional question on this.
    Best Regards Patrick
   Freitas
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/condition-on-calculation/#post-13514734)
 * Hi [@nassimbjf](https://wordpress.org/support/users/nassimbjf/)
 * I hope you are doing well.
 * We haven’t heard from you in a while, I’ll go and mark this thread as resolved.
 * However, feel free to let us know if you have any additional question or problem.
 * Best Regards
    Patrick Freitas

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Condition on Calculation’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

## Tags

 * [calculation](https://wordpress.org/support/topic-tag/calculation/)

 * 2 replies
 * 2 participants
 * Last reply from: [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/condition-on-calculation/#post-13514734)
 * Status: resolved