{"id":1191,"date":"2022-12-02T10:15:53","date_gmt":"2022-12-02T10:15:53","guid":{"rendered":"https:\/\/wpbot.pro\/docs\/knowledgebase\/form-conditions\/"},"modified":"2025-08-14T06:39:40","modified_gmt":"2025-08-14T06:39:40","slug":"form-conditions","status":"publish","type":"kbx_knowledgebase","link":"https:\/\/wpbot.pro\/docs\/knowledgebase\/form-conditions\/","title":{"rendered":"ChatBot Form Builder &#8211; How to Set Conditions for Form Fields"},"content":{"rendered":"<p>This topic covers the processes of using Conversational Form Builders Conditional Logic. You will learn what conditional logic is and how to create and use conditional logic for fields.<\/p>\n<h4>Forms Conditional Groups<\/h4>\n<p>Conditional groups are a set of rules that apply to groups of fields that dynamically change the form layout.<\/p>\n<h4>Steps To Create And Use A Conditional Group<\/h4>\n<ul>\n<li>Step 1 : Go To The Conversational Form Builder Admin Page And Create Or Edit A FormStarting from the WordPress Dashboard, you can navigate to the Conversational Form Builder Admin Page. Create a new form by clicking on New Form in the top Conversational Form Builder menu bar. Edit an existing form by hovering over 1 form from the list of built forms and clicking on Edit. You are now in the Conversational Form Builder Layout Builder.<\/li>\n<li>Step 2 : Go To The Conditions Tab And Create A ConditionYou can navigate to the Conditions tab by clicking on Conditions in the Conversational Form Builder sub-menu bar. Add a conditional group by clicking on Add Conditional Group , then giving the new group and name, and pressing the Enter keyboard key.<\/li>\n<li>Step 3 : Configure The Conditional Groups And Save The FormSetup your conditional group by selecting a Type from the drop-down menu and clicking on Add Conditional Line.There are 1 type of conditional groups for fields:\n<ul>\n<li>Show: Fields in this group are shown if the conditional logic\u2019s conditions are met.<\/li>\n<\/ul>\n<p>Adding a conditional line displays 3 options, left to right:<\/p>\n<ul>\n<li>What Field To Compare? Select one field to base conditional on.<\/li>\n<li>What type of condition? Is that field equal to, not equal to, etc\u2026<\/li>\n<li>What Value To Compare To? Which field or variable value to check against<\/li>\n<\/ul>\n<p>Add an additional rule to a conditional line by clicking on Add Condition. The word and following another condition displays and you can setup another set of conditional rules. In this instance, if condition one and condition two are met then the conditional group rules apply. Add an additional conditional line by clicking on Add Conditional Line. The word or following another conditional line displays and you can setup an alternative set of conditional rules. In this instance, if conditional line one or conditional line 2 are met then the conditional group rules apply. Add all of your conditions and click on Save Form.<\/p>\n<div class=\"qc-img\"><img decoding=\"async\" src=\"assets\/images\/addon\/Screenshot_17.jpg\" alt=\"\" \/><br \/>\n<img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-232\" src=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2022\/12\/Screenshot_17.jpg\" alt=\"\" width=\"1235\" height=\"429\" srcset=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2022\/12\/Screenshot_17.jpg 1235w, https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2022\/12\/Screenshot_17-300x104.jpg 300w, https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2022\/12\/Screenshot_17-1024x356.jpg 1024w, https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2022\/12\/Screenshot_17-768x267.jpg 768w\" sizes=\"(max-width: 1235px) 100vw, 1235px\" \/><\/div>\n<\/li>\n<li>Steps To Add A Conditional Group To A Form Field\n<ul>\n<li>Step 1 : Go To The Layouts Tab And Edit A Form FieldInsert a conditional group to a form field by clicking on the icon on any existing form field. The right side of the Layouts tab now displays Form Field options.<img decoding=\"async\" class=\"alignnone size-full wp-image-234\" src=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2022\/12\/Screenshot_18.jpg\" alt=\"\" width=\"488\" height=\"514\" srcset=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2022\/12\/Screenshot_18.jpg 488w, https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2022\/12\/Screenshot_18-285x300.jpg 285w\" sizes=\"(max-width: 488px) 100vw, 488px\" \/>\n<div class=\"qc-img\"><img decoding=\"async\" src=\"assets\/images\/addon\/Screenshot_18.jpg\" alt=\"\" \/><\/div>\n<\/li>\n<li>Step 2 : Select A Conditional Group And Save The FormSelect one of your conditional groups from the Condition drop-down menu. Add all of the conditional groups and click on Save Form.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This topic covers the processes of using Conversational Form Builders Conditional Logic. You will learn what conditional logic is and [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1313,"parent":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"kbx_category":[21,70],"kbx_tag":[],"class_list":["post-1191","kbx_knowledgebase","type-kbx_knowledgebase","status-publish","has-post-thumbnail","hentry","kbx_category-conversational-forms","kbx_category-conversational-form-builder-pro"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ChatBot Form Builder - How to Set Conditions for Form Fields - WPBot Pro Docs<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpbot.pro\/docs\/knowledgebase\/form-conditions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ChatBot Form Builder - How to Set Conditions for Form Fields - WPBot Pro Docs\" \/>\n<meta property=\"og:description\" content=\"This topic covers the processes of using Conversational Form Builders Conditional Logic. You will learn what conditional logic is and [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpbot.pro\/docs\/knowledgebase\/form-conditions\/\" \/>\n<meta property=\"og:site_name\" content=\"WPBot Pro Docs\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-14T06:39:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2022\/12\/kb-helpdesk-logo-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"256\" \/>\n\t<meta property=\"og:image:height\" content=\"256\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/form-conditions\\\/\",\"url\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/form-conditions\\\/\",\"name\":\"ChatBot Form Builder - How to Set Conditions for Form Fields - WPBot Pro Docs\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/form-conditions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/form-conditions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/kb-helpdesk-logo-1.png\",\"datePublished\":\"2022-12-02T10:15:53+00:00\",\"dateModified\":\"2025-08-14T06:39:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/form-conditions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/form-conditions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/form-conditions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/kb-helpdesk-logo-1.png\",\"contentUrl\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/kb-helpdesk-logo-1.png\",\"width\":256,\"height\":256},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/form-conditions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledgebase\",\"item\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"ChatBot Form Builder &#8211; How to Set Conditions for Form Fields\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/#website\",\"url\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/\",\"name\":\"Get the #1 ChatBot for WordPress \u2013 WPBot\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/#\\\/schema\\\/person\\\/770bebd298cfb4e7525960a804bfd88d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/#\\\/schema\\\/person\\\/770bebd298cfb4e7525960a804bfd88d\",\"name\":\"WPBot\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/chatbot-for-wordpress-wpbot-logo-1.png\",\"url\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/chatbot-for-wordpress-wpbot-logo-1.png\",\"contentUrl\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/chatbot-for-wordpress-wpbot-logo-1.png\",\"width\":202,\"height\":70,\"caption\":\"WPBot\"},\"logo\":{\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/chatbot-for-wordpress-wpbot-logo-1.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ChatBot Form Builder - How to Set Conditions for Form Fields - WPBot Pro Docs","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:\/\/wpbot.pro\/docs\/knowledgebase\/form-conditions\/","og_locale":"en_US","og_type":"article","og_title":"ChatBot Form Builder - How to Set Conditions for Form Fields - WPBot Pro Docs","og_description":"This topic covers the processes of using Conversational Form Builders Conditional Logic. You will learn what conditional logic is and [&hellip;]","og_url":"https:\/\/wpbot.pro\/docs\/knowledgebase\/form-conditions\/","og_site_name":"WPBot Pro Docs","article_modified_time":"2025-08-14T06:39:40+00:00","og_image":[{"width":256,"height":256,"url":"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2022\/12\/kb-helpdesk-logo-1.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpbot.pro\/docs\/knowledgebase\/form-conditions\/","url":"https:\/\/wpbot.pro\/docs\/knowledgebase\/form-conditions\/","name":"ChatBot Form Builder - How to Set Conditions for Form Fields - WPBot Pro Docs","isPartOf":{"@id":"https:\/\/wpbot.pro\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wpbot.pro\/docs\/knowledgebase\/form-conditions\/#primaryimage"},"image":{"@id":"https:\/\/wpbot.pro\/docs\/knowledgebase\/form-conditions\/#primaryimage"},"thumbnailUrl":"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2022\/12\/kb-helpdesk-logo-1.png","datePublished":"2022-12-02T10:15:53+00:00","dateModified":"2025-08-14T06:39:40+00:00","breadcrumb":{"@id":"https:\/\/wpbot.pro\/docs\/knowledgebase\/form-conditions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpbot.pro\/docs\/knowledgebase\/form-conditions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpbot.pro\/docs\/knowledgebase\/form-conditions\/#primaryimage","url":"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2022\/12\/kb-helpdesk-logo-1.png","contentUrl":"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2022\/12\/kb-helpdesk-logo-1.png","width":256,"height":256},{"@type":"BreadcrumbList","@id":"https:\/\/wpbot.pro\/docs\/knowledgebase\/form-conditions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpbot.pro\/docs\/"},{"@type":"ListItem","position":2,"name":"Knowledgebase","item":"https:\/\/wpbot.pro\/docs\/knowledgebase\/"},{"@type":"ListItem","position":3,"name":"ChatBot Form Builder &#8211; How to Set Conditions for Form Fields"}]},{"@type":"WebSite","@id":"https:\/\/wpbot.pro\/docs\/#website","url":"https:\/\/wpbot.pro\/docs\/","name":"Get the #1 ChatBot for WordPress \u2013 WPBot","description":"","publisher":{"@id":"https:\/\/wpbot.pro\/docs\/#\/schema\/person\/770bebd298cfb4e7525960a804bfd88d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpbot.pro\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/wpbot.pro\/docs\/#\/schema\/person\/770bebd298cfb4e7525960a804bfd88d","name":"WPBot","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/09\/chatbot-for-wordpress-wpbot-logo-1.png","url":"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/09\/chatbot-for-wordpress-wpbot-logo-1.png","contentUrl":"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/09\/chatbot-for-wordpress-wpbot-logo-1.png","width":202,"height":70,"caption":"WPBot"},"logo":{"@id":"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/09\/chatbot-for-wordpress-wpbot-logo-1.png"}}]}},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase\/1191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase"}],"about":[{"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/types\/kbx_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/comments?post=1191"}],"version-history":[{"count":4,"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase\/1191\/revisions"}],"predecessor-version":[{"id":1435,"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase\/1191\/revisions\/1435"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/media\/1313"}],"wp:attachment":[{"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/media?parent=1191"}],"wp:term":[{"taxonomy":"kbx_category","embeddable":true,"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/kbx_category?post=1191"},{"taxonomy":"kbx_tag","embeddable":true,"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/kbx_tag?post=1191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}