Title: Conditionals on calculation elements not working
Last modified: May 12, 2017

---

# Conditionals on calculation elements not working

 *  Resolved [specagent](https://wordpress.org/support/users/specagent/)
 * (@specagent)
 * [9 years ago](https://wordpress.org/support/topic/conditionals-on-calculation-elements-not-working/)
 * Hi everyone,
 * I’m trying to set up a product configurator in CalderaForms. Basically, I need
   to add up the values from several fields and display a suggestion based on the
   total number.
    My approach has been to use a calculation field in order to calculate
   the total amount, create conditionals for each “value bracket” (0, 1-300000, 
   etc.) and link each condition to an HTML element containing the respective product.
 * My problem is that conditionals on calculation elements never seem to fire. If
   I set the condition to “show”, the linked HTML element always stays hidden, even
   if the condition is fulfilled. If I set it to “hide” and negate it, the HTML 
   element is always displayed. The calculation itself can’t be the problem – the
   total number is calculated correctly.
 * I’ve tried to work around that by removing the h3 tag, creating a hidden element
   that takes its value from the calculation element, and then linking the conditionals
   to that hidden element. Chrome’ developer tools show that the hidden element 
   has the correct numerical value, but the conditionals still never fire.
 * Has anyone got any ideas?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Josh Pollock](https://wordpress.org/support/users/shelob9/)
 * (@shelob9)
 * [9 years ago](https://wordpress.org/support/topic/conditionals-on-calculation-elements-not-working/#post-9125920)
 * Thanks for using Caldera Forms. Sorry about this bug
 * This is a known issue in 1.5.0.9 that is already fixed: [https://github.com/CalderaWP/Caldera-Forms/issues/1570](https://github.com/CalderaWP/Caldera-Forms/issues/1570)

Viewing 1 replies (of 1 total)

The topic ‘Conditionals on calculation elements not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/caldera-forms_475846.svg)
 * [Caldera Forms - More Than Contact Forms](https://wordpress.org/plugins/caldera-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/caldera-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/caldera-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/caldera-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/caldera-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/caldera-forms/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Josh Pollock](https://wordpress.org/support/users/shelob9/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/conditionals-on-calculation-elements-not-working/#post-9125920)
 * Status: resolved