Title: Conditional logic question
Last modified: May 9, 2022

---

# Conditional logic question

 *  Resolved [bbdigital78](https://wordpress.org/support/users/bbdigital78/)
 * (@bbdigital78)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/conditional-logic-question-4/)
 * I’m building a “what would it cost to sell your house” calculator.
 * Calculating the cost to sell your house I have fields for such expenses as Paint,
   New Carpet, etc.
 * For these fields we want to use the slider and we want to set a minimum amount
   that would be more than $0. For example, based on our team’s expertise we know
   that painting an average size house in our area costs between $700 – $1800.
 * If the customer estimates that painting will cost $1000, the slider works perfectly,
   inserting that $1000 figure into our final equation.
 * The problem is if the customer thinks they don’t need paint and the number for
   paint should = $0. I can’t do that if my slider is set between $700 – $1000 because
   my figure for paint would be $700 minimum.
 * Is there any conditional logic where I can have a question, like “Do you expect
   to have to paint your house?” (Yes / No) then if YES, the slider described above
   would appear and that figure would appear in my equation, if NO then the slider
   doesn’t appear and that field doesn’t appear in my equation effectively making
   that field have a value of $0.
 * (Or if there’s another way to do this I’m open to hear it)
 * I currently have the free version, upgrading is not a problem if the functionality
   is there.

Viewing 1 replies (of 1 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/conditional-logic-question-4/#post-15629989)
 * Hello [@bbdigital78](https://wordpress.org/support/users/bbdigital78/)
 * Thank you very much for using our plugin. Yes, that’s possible. You can insert
   a checkbox field in the form with the question “Do you expect to have to paint
   your house?” and configure the slider field as dependent on it. More information
   about dependencies by reading the following post in the plugin’s blog:
 * [https://cff.dwbooster.com/blog/2020/03/01/dependencies](https://cff.dwbooster.com/blog/2020/03/01/dependencies)
 * Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Conditional logic question’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/conditional-logic-question-4/#post-15629989)
 * Status: resolved