{"id":34073,"date":"2023-02-01T08:39:35","date_gmt":"2023-02-01T08:39:35","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=34073"},"modified":"2023-04-12T09:57:32","modified_gmt":"2023-04-12T09:57:32","slug":"conditional-visibility-rules-for-form-fields-overview","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/","title":{"rendered":"Conditional Visibility Rules for Form Fields Overview"},"content":{"rendered":"\n<p><em>JetEngine <\/em>Forms functionalities give you the opportunity to create an astonishing form. Not only will it look glorious, but it also can be made dynamic and flexible. With the help of <strong>Conditional Visibility Rules<\/strong>, you can dynamically show, hide, or fill with pre-set data any of the form fields. It is possible to set one or multiple rules for every part of the form.<\/p>\n\n\n\n<p>To set conditional rules, go to <strong><em>JetEngine &gt; Forms<\/em><\/strong> and open the one you would like to change (to learn how to create a form, check our <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-a-booking-form-layout\/\" target=\"_blank\" rel=\"noreferrer noopener\">Form Layout tutorial<\/a>). On the right side of a form field tile, there is a conditional rules button (the one with the crossed arrows). Click it.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/conditional-logic-button.png\" alt=\"conditional rules button\">\n\n\n\n<p>To add a new conditional rule, hit the \u201c<strong>New Rule<\/strong>\u201d button. Here\u2019s what the conditional rule table looks like:<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/new-conditional-rule.png\" alt=\"new conditional rule window\">\n\n\n\n<p>Let\u2019s take a closer look at its features.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"type\">Type<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>This row has a drop-down menu with three options:<\/p>\n\n\n\n<ul>\n<li><strong>Show this field if<\/strong> \u2013 the field will be shown if the conditions you set are met.<\/li>\n\n\n\n<li><strong>Hide this field if<\/strong> \u2013 the field will be hidden if the conditions you set are met.<\/li>\n\n\n\n<li><strong>Set value for this field if<\/strong> \u2013 in this case, if the conditions are met, the field will be filled with the data you type into the <strong>Value to set<\/strong> text area.<\/li>\n<\/ul>\n\n\n\n<p>Let&#8217;s assume you\u2019ve chosen the first option, <strong>Show this field if<\/strong>.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"field\">Field<\/h2>\n\n\n\n<p>In the drop-down menu, you will find the names of all fields you\u2019ve already added to the form. The field you are setting a rule for will be dependent on the one you choose in this row.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"operator\">Operator<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Here you can choose the comparison rule. The value of the field that you have chosen (in the previous row) will be somehow compared with the data you place into the <strong>Value to compare<\/strong> bar.<br><\/p>\n\n\n\n<ul>\n<li><strong>Equal<\/strong>. If the field value is similar to the one you put into the <strong>Value to set<\/strong> text area, the dependent field will be shown. For example, let\u2019s assume that the second field of your form has to appear only if the value of the first field is 5.<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/new-rule-settings1.png\" alt=\"equal operator conditional rule\">\n\n\n<div class=\"note-banner d-flex border-bold border-jetsmartfilters rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z\" fill=\"#FA5450\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Warning<\/div><p class=\"m-0\">The values have to be separated by commas. The range has to be set from the lowest value to the highest (\u201c1,5\u201d not \u201c5,1\u201d). The range includes the mentioned values (\u201c1,5\u201d range will work on \u201c1,2,3,4,5\u201d values).<\/p><\/div><\/div>\n\n\n\n<ul>\n<li><strong>In the list<\/strong>. This operator works with the <strong>Radio<\/strong>, <strong>Checkbox, <\/strong>and <strong>Select <\/strong>field types. If the option that a user selects is similar to the value you type into the <strong>Value to set<\/strong> text area, the dependent field will be shown. For example, let\u2019s assume that the first field of your form has to appear only if the user selects the value \u201c2\u201d from the list.<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/new-rule-radio.png\" alt=\"in the list operator conditional rule\">\n\n\n<div class=\"note-banner d-flex border-bold border-jetthemecore rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M9 21C9 21.5 9.4 22 10 22H14C14.6 22 15 21.5 15 21V20H9V21ZM12 2C8.1 2 5 5.1 5 9C5 11.4 6.2 13.5 8 14.7V17C8 17.5 8.4 18 9 18H15C15.6 18 16 17.5 16 17V14.7C17.8 13.4 19 11.3 19 9C19 5.1 15.9 2 12 2Z\" fill=\"#F2D23C\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Things to know<\/div><p class=\"m-0\">You can use the <strong>Contain text<\/strong> operator for Media fields too. For example, if you type \u201c.png\u201d in the <strong>Value to set<\/strong> text area, the dependent field will be shown when the user inserts a PNG file to the <strong>Media<\/strong> field.<\/p><\/div><\/div>\n<\/div><\/div>\n\n\n\n<p>You can add as many conditional rules for every field as necessary. Just make sure they don\u2019t contradict each other. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This overview reveals the details of conditional visibility mechanics. You will learn how to set the visibility of any form field according to your needs.<\/p>\n","protected":false},"author":9,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[403],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set Conditional Rules for Form Visibility \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"JetEngine Forms will help you not only create a stunning form but also make it flexible and dynamic with the Conditional Visibility Rules.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Conditional Rules for Form Visibility \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"JetEngine Forms will help you not only create a stunning form but also make it flexible and dynamic with the Conditional Visibility Rules.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-12T09:57:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/conditional-logic-button.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/\",\"name\":\"How to Set Conditional Rules for Form Visibility \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2023-02-01T08:39:35+00:00\",\"dateModified\":\"2023-04-12T09:57:32+00:00\",\"description\":\"JetEngine Forms will help you not only create a stunning form but also make it flexible and dynamic with the Conditional Visibility Rules.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Conditional Visibility Rules for Form Fields Overview\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set Conditional Rules for Form Visibility \u2014 JetEngine | Crocoblock","description":"JetEngine Forms will help you not only create a stunning form but also make it flexible and dynamic with the Conditional Visibility Rules.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/","og_locale":"en_US","og_type":"article","og_title":"How to Set Conditional Rules for Form Visibility \u2014 JetEngine | Crocoblock","og_description":"JetEngine Forms will help you not only create a stunning form but also make it flexible and dynamic with the Conditional Visibility Rules.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/","og_site_name":"Help Center","article_modified_time":"2023-04-12T09:57:32+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/conditional-logic-button.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/","name":"How to Set Conditional Rules for Form Visibility \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2023-02-01T08:39:35+00:00","dateModified":"2023-04-12T09:57:32+00:00","description":"JetEngine Forms will help you not only create a stunning form but also make it flexible and dynamic with the Conditional Visibility Rules.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/conditional-visibility-rules-for-form-fields-overview\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"Conditional Visibility Rules for Form Fields Overview"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/34073"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/9"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=34073"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=34073"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=34073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}