{"id":18983,"date":"2020-06-01T08:10:49","date_gmt":"2020-06-01T08:10:49","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=18983"},"modified":"2025-10-22T11:11:30","modified_gmt":"2025-10-22T11:11:30","slug":"how-to-set-the-visibility-of-meta-fields-using-conditional-logic","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/","title":{"rendered":"How to Set the Visibility of Meta Fields Using Conditional Logic"},"content":{"rendered":"\n<p>If your <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/meta-field-types-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Custom Post Type<\/strong><\/a> (<strong>CPT<\/strong>) includes numerous <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/meta-field-types-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">meta fields<\/a>, filling them out can be time-consuming \u2014 especially when many of those fields are not always required.<\/p>\n\n\n\n<p>The <em>JetEngine <\/em>plugin enables the use of the <strong>Conditional Logic <\/strong>function to customize the visibility of each meta field, displaying only the fields that meet specific conditions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"add-the-conditional-logic\">Add the Conditional Logic<\/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>To set up the <strong>Conditional Logic <\/strong>for the meta fields, proceed to <strong><em>WordPress Dashboard > JetEngine > Post Types <\/em><\/strong>and click the \u201c<strong>Edit<\/strong>\u201d button of the needed <strong>CPT <\/strong>or <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-a-custom-post-type-based-on-jetengine-plugin\/\" target=\"_blank\" rel=\"noreferrer noopener\">create<\/a> a new one.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-cpt-or-edit-existing-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-cpt-or-edit-existing-1024x640.webp\" alt=\"add new cpt or edit existing\" class=\"wp-image-49887\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-cpt-or-edit-existing-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-cpt-or-edit-existing-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-cpt-or-edit-existing-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-cpt-or-edit-existing-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-cpt-or-edit-existing-2048x1280.webp 2048w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-cpt-or-edit-existing-600x375.webp 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Scroll down to the <strong>Meta fields<\/strong> tab, and on the right side of each field, click the \u201c<strong>arrows<\/strong>\u201d icon to add the <strong>Conditional Logic<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-the-conditional-logic-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-the-conditional-logic-1024x640.webp\" alt=\"add the conditional logic\" class=\"wp-image-49888\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-the-conditional-logic-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-the-conditional-logic-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-the-conditional-logic-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-the-conditional-logic-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-the-conditional-logic-2048x1280.webp 2048w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-the-conditional-logic-600x375.webp 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"adjust-the-conditional-rule\">Adjust the Conditional Rule<\/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>When the button is clicked, the pop-up will be opened.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/conditional-logic-popup-opened-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/conditional-logic-popup-opened-1024x640.webp\" alt=\"conditional logic popup opened\" class=\"wp-image-49889\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/conditional-logic-popup-opened-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/conditional-logic-popup-opened-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/conditional-logic-popup-opened-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/conditional-logic-popup-opened-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/conditional-logic-popup-opened-2048x1280.webp 2048w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/conditional-logic-popup-opened-600x375.webp 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Turn the <strong>Enable Conditional Logic <\/strong>toggle on. Then, click the \u201c<strong>New<\/strong> <strong>Rule<\/strong>\u201d button.\u00a0<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-rule-button-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-rule-button-1024x640.webp\" alt=\"add new rule button\" class=\"wp-image-49890\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-rule-button-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-rule-button-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-rule-button-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-rule-button-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-rule-button-2048x1280.webp 2048w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-rule-button-600x375.webp 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>New fields appear:<\/p>\n\n\n\n<p>In the <strong>Field <\/strong>input, you can choose one of the other meta fields that are also attached to this <strong>CPT<\/strong>. They are automatically added to the drop-down menu, so you can simply select the one you need. The meta field you are editing will depend on the one you choose in this input.<\/p>\n\n\n\n<p>The <strong>Operator <\/strong>dropdown defines how to compare the value entered in the <strong>Values <\/strong>bar with the one from the chosen field. There are four options here:<\/p>\n\n\n\n<ul>\n<li><strong>Equal <\/strong>\u2014 if those values are similar, the dependable field is shown;<\/li>\n\n\n\n<li><strong>Not Equal<\/strong> \u2014 in this case, the dependable field will stay visible until the data in the <strong>Value <\/strong>text area becomes equal to the value of the meta field that was chosen in the <strong>Field <\/strong>drop-down;<\/li>\n\n\n\n<li><strong>In the list<\/strong> \u2014 this and the next operator work with the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/meta-field-types-overview\/#radio\" target=\"_blank\" rel=\"noreferrer noopener\">radio<\/a>, <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/meta-field-types-overview\/#select\" target=\"_blank\" rel=\"noreferrer noopener\">select<\/a>, and <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/meta-field-types-overview\/#checkbox\" target=\"_blank\" rel=\"noreferrer noopener\">checkbox<\/a> meta field types. If the value (or values, in the case of a checkbox) selected from the list is similar to the one you put into the <strong>Value <\/strong>bar, the dependent field will be shown;<\/li>\n\n\n\n<li><strong>Not in the list<\/strong> \u2014 that\u2019s the opposite case. The dependent field will remain visible until the value, similar to the one you placed in the <strong>Value <\/strong>text area, is chosen from the list;<\/li>\n\n\n\n<li><strong>Empty <\/strong>\u2014 displays the dependent field if the selected meta field has no value (is empty);<\/li>\n\n\n\n<li><strong>Not Empty <\/strong>\u2014 displays the dependent field if the selected meta field contains any value;<\/li>\n\n\n\n<li><strong>Contains <\/strong>\u2014 displays the dependent field if the value from the selected meta field includes the text or number entered in the <strong>Value <\/strong>bar;<\/li>\n\n\n\n<li><strong>Not Contains<\/strong> \u2014 displays the dependent field if the value from the selected meta field does not include the text or number entered in the <strong>Value <\/strong>bar;<\/li>\n\n\n\n<li><strong>Regexp <\/strong>\u2014 displays the dependent field if the value from the selected meta field matches the regular expression pattern specified in the <strong>Value <\/strong>bar;<\/li>\n\n\n\n<li><strong>Not Regexp<\/strong> \u2014 displays the dependent field if the value from the selected meta field does not match the regular expression pattern specified in the <strong>Value <\/strong>bar;<\/li>\n\n\n\n<li><strong>Number of characters is greater than<\/strong> \u2014 displays the dependent field if the number of characters in the selected meta field\u2019s value is greater than the number entered in the <strong>Value <\/strong>bar;<\/li>\n<\/ul>\n\n\n\n<p><strong>Number of characters is less than<\/strong> \u2014 displays the dependent field if the number of characters in the selected meta field\u2019s value is less than the number entered in the <strong>Value <\/strong>bar.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/field-and-operator-inputs-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/field-and-operator-inputs-1024x640.webp\" alt=\"field and operator inputs\" class=\"wp-image-49891\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/field-and-operator-inputs-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/field-and-operator-inputs-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/field-and-operator-inputs-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/field-and-operator-inputs-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/field-and-operator-inputs-2048x1280.webp 2048w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/field-and-operator-inputs-600x375.webp 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>The <strong>Value <\/strong>input can be filled either manually or automatically. If <span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">you have chosen the meta field with pre-set variants (like radio, checkbox, or select) in the <strong>Field <\/strong>drop-down<\/span>, they will be automatically added here as a drop-down menu. In other cases, you can type in the value you need.\u00a0<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/value-input-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/value-input-1024x640.webp\" alt=\"value input\" class=\"wp-image-49892\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/value-input-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/value-input-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/value-input-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/value-input-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/value-input-2048x1280.webp 2048w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/value-input-600x375.webp 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\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\">Be aware that if you add multiple rules, they will all have the \u201cAnd\u201d <strong>Relation<\/strong>. This means the field will be shown only when all the set conditions are met, not just one of them. In case you need to show a field when at least one of the rules is applied, choose the \u201cOr\u201d <strong>Relation<\/strong>.<\/p><\/div><\/div>\n\n\n\n<p>Once you are ready with the rules settings, you can simply close the pop-up, and the settings will be saved automatically.&nbsp;<\/p>\n\n\n\n<p>Click either \u201c<strong>Add post Type<\/strong>\u201d if it is a new <strong>CPT <\/strong>or the \u201c<strong>Update Post Type<\/strong>\u201d button if you edit the existing <strong>CPT<\/strong>.&nbsp;<\/p>\n\n\n\n<p>In our case, we show the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/meta-field-types-overview\/#textarea\" target=\"_blank\" rel=\"noreferrer noopener\">textarea<\/a> field only if the value of the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/meta-field-types-overview\/#number\" target=\"_blank\" rel=\"noreferrer noopener\">number<\/a> field is greater than \u201c5000\u201d.\u00a0<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/sample-condition-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/sample-condition-1024x640.webp\" alt=\"sample condition\" class=\"wp-image-49893\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/sample-condition-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/sample-condition-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/sample-condition-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/sample-condition-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/sample-condition-2048x1280.webp 2048w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/sample-condition-600x375.webp 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>So, when we proceed to the post from the edited <strong>CPT<\/strong>,<strong> <\/strong>we check if the conditional rule works. Here, we see the \u201cJob description\u201d textarea is visible when the number field has a value greater than \u201c5000\u201d.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-greater-than-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-greater-than-1024x640.webp\" alt=\"number greater than\" class=\"wp-image-49894\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-greater-than-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-greater-than-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-greater-than-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-greater-than-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-greater-than-2048x1280.webp 2048w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-greater-than-600x375.webp 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>When the number\u2019s field value is less than \u201c5000\u201d, the textarea is hidden.\u00a0<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-less-than-scaled.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-less-than-1024x640.webp\" alt=\"number less than\" class=\"wp-image-49895\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-less-than-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-less-than-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-less-than-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-less-than-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-less-than-2048x1280.webp 2048w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/number-less-than-600x375.webp 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<p>That\u2019s it. Now, you know how to set up the <strong>Conditional Logic<\/strong> for the meta fields using the WordPress <em>JetEngine <\/em>plugin.\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the help of this tutorial, you will learn how to set the visibility of meta fields in the admin dashboard using the Conditional Logic settings.<\/p>\n","protected":false},"author":20,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[381],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set the Visibility of Meta Fields Using Conditional Logic \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"Make the meta fields filling process easier with JetEngine\u2019s Conditional Logic for meta fields, learn to set the visibility of every field.\" \/>\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\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set the Visibility of Meta Fields Using Conditional Logic \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Make the meta fields filling process easier with JetEngine\u2019s Conditional Logic for meta fields, learn to set the visibility of every field.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-22T11:11:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-cpt-or-edit-existing-1024x640.webp\" \/>\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=\"6 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\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/\",\"name\":\"How to Set the Visibility of Meta Fields Using Conditional Logic \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2020-06-01T08:10:49+00:00\",\"dateModified\":\"2025-10-22T11:11:30+00:00\",\"description\":\"Make the meta fields filling process easier with JetEngine\u2019s Conditional Logic for meta fields, learn to set the visibility of every field.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/#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\":\"How to Set the Visibility of Meta Fields Using Conditional Logic\"}]},{\"@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 the Visibility of Meta Fields Using Conditional Logic \u2014 JetEngine | Crocoblock","description":"Make the meta fields filling process easier with JetEngine\u2019s Conditional Logic for meta fields, learn to set the visibility of every field.","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\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/","og_locale":"en_US","og_type":"article","og_title":"How to Set the Visibility of Meta Fields Using Conditional Logic \u2014 JetEngine | Crocoblock","og_description":"Make the meta fields filling process easier with JetEngine\u2019s Conditional Logic for meta fields, learn to set the visibility of every field.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/","og_site_name":"Help Center","article_modified_time":"2025-10-22T11:11:30+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/10\/add-new-cpt-or-edit-existing-1024x640.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/","name":"How to Set the Visibility of Meta Fields Using Conditional Logic \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2020-06-01T08:10:49+00:00","dateModified":"2025-10-22T11:11:30+00:00","description":"Make the meta fields filling process easier with JetEngine\u2019s Conditional Logic for meta fields, learn to set the visibility of every field.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-set-the-visibility-of-meta-fields-using-conditional-logic\/#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":"How to Set the Visibility of Meta Fields Using Conditional Logic"}]},{"@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\/18983"}],"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\/20"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=18983"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=18983"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=18983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}