Title: Conditional Logic
Last modified: February 15, 2019

---

# Conditional Logic

 *  Resolved [0rbita](https://wordpress.org/support/users/0rbita/)
 * (@0rbita)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/conditional-logic-50/)
 * Hello,
 * I have tried a million ways to do this:
 * I have a few fields that should be shown like this:
    – if height is less than
   55 (field A) + field D is checked or field E is checked – if height is between
   56 and 130 + width greater than 130 (field B) + field D is checked or field E
   is checked – if height is between 131 and 270 + width less than 270 (field C)
   + field D is checked or field E is checked … and so on…
 * I have those Conditional Logics on another form, but now I am doing multiple 
   steps form and I am redoing everything.
    For some reason, the Conditional is 
   not able to work properly on this new form. So, I have a measurement condition,
   but it should also display only if some fields are checked.
 * It works not to shown those A or B or C fields when the D and E fields are not
   checked.
    But the measurement conditions are not good.
 * What can I do?
 * Thank you

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

 *  Thread Starter [0rbita](https://wordpress.org/support/users/0rbita/)
 * (@0rbita)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/conditional-logic-50/#post-11210931)
 * Hello again
 * Well, I had been trying every combination with those “and” and “or” and it looks
   like that is working properly now.
 * Thank you!
 *  Thread Starter [0rbita](https://wordpress.org/support/users/0rbita/)
 * (@0rbita)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/conditional-logic-50/#post-11211574)
 * Sorry,
 * It is not working properly when I finish putting all the conditional logic.
 * I have some conditional that should show field A if
    number 1 > 130 number 2 
   = 10 And another conditional that should show field B if number 1 < 131 number
   2 = 10
 * I know that the condition is the same for number 2 in both cases, however, number
   1 is different…
    So how can I fix it?
 * Thank you
 *  Plugin Author [EDGARROJAS](https://wordpress.org/support/users/edgarrojas/)
 * (@edgarrojas)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/conditional-logic-50/#post-11211893)
 * Ok but what is the problem? The field a or b is not shown when number2 =10 and
   number1<131?

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

The topic ‘Conditional Logic’ is closed to new replies.

 * ![](https://ps.w.org/smart-forms/assets/icon-256x256.jpg?rev=1226707)
 * [Smart Forms - when you need more than just a contact form](https://wordpress.org/plugins/smart-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-forms/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [EDGARROJAS](https://wordpress.org/support/users/edgarrojas/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/conditional-logic-50/#post-11211893)
 * Status: resolved