{"uniqueId":"6356767b2542b","metaTitle":"Understanding Conditional Logic to Build Smarter Forms in Powform","metaDescription":"Master conditional logic with Powform. Create smarter, dynamic forms that adapt to users' choices for a seamless experience and better results.","pageTitle":"Understanding Conditional Logic","jsonFeedLink":"https:\/\/support.powform.com\/wp-json\/support\/api\/v1\/article\/?postType=features&subcategory=conditional-logic&name=understanding-conditional-logic","breadcrumbs":[{"text":"Features","path":"\/features\/"},{"text":"Conditional Logic","path":""},{"text":"Understanding Conditional Logic","path":"\/features\/conditional-logic\/understanding-conditional-logic"}],"excerpt":"Powform offers a complex approach to creating and configuring your forms.\r\n\r\nConditional Logic (CL) allows you to bring smart dynamic forms, helping you collect the most relevant information from your users.\r\n\r\nThis is considered an advanced way to set up your forms. But we\u2019ll explain what CL is and how to use it in an easy-to-understand way!","content":"<p><span style=\"font-weight: 400;\">Powform offers a complex approach to creating and configuring your forms.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Conditional Logic (CL) allows you to bring smart dynamic forms, helping you collect the most relevant information from your users.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This is considered an advanced way to set up your forms. But we\u2019ll explain what CL is and how to use it in an easy-to-understand way!<\/span><\/p>\n<p><img class=\"size-full wp-image-740 aligncenter\" src=\"https:\/\/support.powform.com\/app\/uploads\/2022\/10\/understanding-conditional-logic.png\" alt=\"\" width=\"640\" height=\"543\" \/><\/p>\n<h2><b>What is Conditional Logic<\/b><\/h2>\n<p><img class=\"size-full wp-image-741 aligncenter\" src=\"https:\/\/support.powform.com\/app\/uploads\/2022\/10\/what-is-conditional-logiic.gif\" alt=\"\" width=\"638\" height=\"207\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Basically, CL aims to change your forms as they are being filled out by your users.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Thanks to this function, your form will behave differently depending on specific users actions.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">There are endless possibilities, see some examples of how the rules can be used:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Show a new field if the user selected a Checkbox previously.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Only show a customer the next field if they inserted a value higher than X amount.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Completely disable questions or options if a field is left empty.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Add follow-ups options or questions according to how the users fill out the form.<\/span><\/li>\n<\/ul>\n<p><img class=\"size-full wp-image-739 aligncenter\" src=\"https:\/\/support.powform.com\/app\/uploads\/2022\/10\/text-component.gif\" alt=\"\" width=\"613\" height=\"343\" \/><\/p>\n<h2><b>Where do you find Conditional Logic<\/b><\/h2>\n<p><img class=\"size-full wp-image-736 aligncenter\" src=\"https:\/\/support.powform.com\/app\/uploads\/2022\/10\/find-conditional-logic.png\" alt=\"\" width=\"641\" height=\"546\" \/><\/p>\n<p><span style=\"font-weight: 400;\">After dragging and dropping a component to a form page, you\u2019ll see the CL under the \u201cRules\u201d tab, just as shown below:<\/span><\/p>\n<h2><b>Logically conditioning a component<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Before adding rules, you should determine how another component defined within the form will change the component that is being configured. You can select:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Show: the item will appear to your user;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Hide: this field is still part of the form, but it is now hidden;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Enable: if the criterias are matched, this component may be filled by the user;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Disable: users won\u2019t be able to fill the field.<\/span><\/li>\n<\/ul>\n<p><img class=\"size-full wp-image-737 aligncenter\" src=\"https:\/\/support.powform.com\/app\/uploads\/2022\/10\/logically-conditioning-component-1.gif\" alt=\"\" width=\"636\" height=\"200\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Next, you can choose if you want the condition to be applied if All or Any rules you create are matched in the form.<\/span><\/p>\n<p><img class=\"size-full wp-image-738 aligncenter\" src=\"https:\/\/support.powform.com\/app\/uploads\/2022\/10\/logically-conditioning-component-2.gif\" alt=\"\" width=\"635\" height=\"354\" \/><\/p>\n<p><span style=\"font-weight: 400;\">It\u2019s possible to add new rules by clicking \u201cAdd New Rule\u201d and remove them by clicking the \u201cDelete\u201d button right next to it.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Let\u2019s say you add two or more Rules.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can select \u201cAll\u201d to make it necessary to fulfill every single criteria for the rule to apply.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">On the other hand, the rule will be applied if one criteria is matched by selecting \u201cAny\u201d.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Want to enjoy all of these benefits? <\/span><b>Learn now the General Rules for Conditional Logic<\/b><span style=\"font-weight: 400;\"> with practical examples!<\/span><\/p>\n","images":[],"category":{"id":"163","title":"Conditional Logic","description":"","metaTitle":null,"metaDescription":null,"term":"conditional-logic","count":3,"path":"","updated":1752909654,"status":"publish","order":"7"},"tags":[],"industries":[],"hitCounter":2133,"path":"\/features\/conditional-logic\/understanding-conditional-logic","canonicalUrl":"\/features\/conditional-logic\/understanding-conditional-logic","name":"understanding-conditional-logic","relatedArticles":[]}