{"id":1188,"date":"2022-12-02T10:15:19","date_gmt":"2022-12-02T10:15:19","guid":{"rendered":"https:\/\/turbopowers.com\/kbx\/knowledgebase\/using-magic-tags\/"},"modified":"2024-09-18T08:58:33","modified_gmt":"2024-09-18T08:58:33","slug":"using-magic-tags","status":"publish","type":"kbx_knowledgebase","link":"https:\/\/turbopowers.com\/kbx\/knowledgebase\/using-magic-tags\/","title":{"rendered":"Using Magic Tags"},"content":{"rendered":"<p>When you are creating a form or working with the information submitted to a form, for example when setting up an auto-responder message from a form, you often need to use dynamic information from that form. For example, if you wanted your auto-responder message to start with \u201cHi Roy\u201d when the value of the form field with the slug \u201cfirst_name\u201d was Roy and start with \u201cHi Rachel\u201d when the value of the form field with the slug \u201cfirst_name\u201d was Rachel, you would write \u201cHi %first_name%\u201d in the beginning of your auto-responder message.<\/p>\n<p>In Conversational Form Builder, we use the term \u201cMagic Tag\u201d to refer to the placeholders that you use while setting up your forms, which are then dynamically replaced by Conversational Form Builder. They are also much like WordPress shortcodes.<\/p>\n<p>Conversational Form Builders magic tags come in a single form:<\/p>\n<ul>\n<li><b>Field Slug Magic Tags<\/b>\u00a0Example %primary_email%. These magic tags substitute for the value of a field. They identify fields by their slugs.<\/li>\n<\/ul>\n<h4>Where Magic Tags Can Be Used<\/h4>\n<p>Magic tags can be used as the default value of a form field or the value of a hidden field. They can also be used as the values of variables, or to create emails, or to populate processor settings.<\/p>\n<div><\/div>\n<div class=\"qc-img\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-246\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2022\/12\/Screenshot_26.jpg\" alt=\"\" width=\"1021\" height=\"319\" srcset=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2022\/12\/Screenshot_26.jpg 1021w, https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2022\/12\/Screenshot_26-300x94.jpg 300w, https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2022\/12\/Screenshot_26-768x240.jpg 768w\" sizes=\"(max-width: 1021px) 100vw, 1021px\" \/><img decoding=\"async\" src=\"assets\/images\/addon\/Screenshot_26.jpg\" alt=\"\" \/><\/p>\n<\/div>\n<p>Every field in the current form has a magic tag formed with the field\u2019s slug with a percentage sign before and after. For example, if you have a field in your form with the slug \u201chats\u201d and wanted to show its value in the email, you would use the magic tag \u201c%hats%\u201d.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you are creating a form or working with the information submitted to a form, for example when setting up an auto-responder message from a form, you often need to use dynamic information from that form. For example, if you wanted your auto-responder message to start with \u201cHi Roy\u201d when the value of the form [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"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":"","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],"kbx_tag":[],"class_list":["post-1188","kbx_knowledgebase","type-kbx_knowledgebase","status-publish","hentry","kbx_category-conversational-forms"],"_links":{"self":[{"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_knowledgebase\/1188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_knowledgebase"}],"about":[{"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/types\/kbx_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/comments?post=1188"}],"version-history":[{"count":0,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_knowledgebase\/1188\/revisions"}],"wp:attachment":[{"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/media?parent=1188"}],"wp:term":[{"taxonomy":"kbx_category","embeddable":true,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_category?post=1188"},{"taxonomy":"kbx_tag","embeddable":true,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_tag?post=1188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}