{"id":35622,"date":"2019-09-27T14:24:50","date_gmt":"2019-09-27T14:24:50","guid":{"rendered":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/?p=35622"},"modified":"2022-10-25T10:39:57","modified_gmt":"2022-10-25T10:39:57","slug":"custom-template-variables","status":"publish","type":"post","link":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/","title":{"rendered":"Custom template variables on 123FormBuilder online forms"},"content":{"rendered":"<p>In this post, we&#8217;ll take a look at all the email template variables that our <a href=\"\/\">form builder<\/a> has to offer. Using custom templates as your foundation, you can design a unique email and make it look more professional.<\/p>\n<p>The default email template contains an HTML table that renders user input. However, you can add additional information and recipients&nbsp;can receive all the necessary details about submission entries.<\/p>\n<p>In order to add variables in your template click the plus sign near the<b> Body<\/b> section. This will open a dropdown list with all the available options.<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/addvarriablesemail.png\" alt=\"customize email\" width=\"620\" height=\"150\"><\/p>\n<p>You can add information about the user&#8217;s session: IP, Country, Browser, Device type, Referrer, Form Host.<\/p>\n<p>If you have an order web form you can add variables related to their transaction details such as Payment Link, Payment Amount, Payment Currency, Payment Status (complete or incomplete), Payment Processor Name, Coupon codes. Along with the Form Summary you can choose to incorporate the Payment Summary.<\/p>\n<p>Custom links such as the <em>edit submission<\/em>&nbsp;or <em>approval link<\/em> can also be placed in the email body. Add the Quiz summary or the Quiz score if you have built a <em>quiz form<\/em>.<\/p>\n<p>We made the following template for an order form as an example:<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/customvariables.png\" alt=\"customize email\" width=\"620\" height=\"150\"><\/p>\n<p>All variables will be replaced. A variable&nbsp;will be empty when a user does not fill out a field.&nbsp;<a href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/can-i-make-a-required-field\/\">Mark&nbsp;fields as required<\/a> so that you can collect the most important information from your&nbsp;users.<\/p>\n<p><b>Hide empty fields<\/b>: If you enable this option, the fields that haven\u2019t been filled will no longer be included in the notification email.<\/p>\n<p>The hide empty fields option works with both<b> custom and default<\/b> email templates.<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/hideemptyfields.png\" alt=\"customize email\" width=\"520\" height=\"150\"><\/p>\n<p>Here is how the email template arrives in the inbox:<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/customvariablesemail.png\" alt=\"customize email\" width=\"620\" height=\"150\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, we&#8217;ll take a look at all the email template variables that our form builder has to offer. Using custom templates as your foundation, you can design a unique email and make it look more professional. The default email template contains an HTML table that renders user input. However, you can add additional [&hellip;]<\/p>\n","protected":false},"author":49,"featured_media":-1,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[87],"tags":[834,835],"class_list":["post-35622","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-notifications","tag-custom-template-variable","tag-hide-empty-fields"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Custom template variables | 123FormBuilder Docs<\/title>\n<meta name=\"description\" content=\"Set custom variables in the body of your email notifications. The variables are placeholders in a template that will be replaced with the user input.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom template variables on 123FormBuilder online forms\" \/>\n<meta property=\"og:description\" content=\"Set custom variables in the body of your email notifications. The variables are placeholders in a template that will be replaced with the user input.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/\" \/>\n<meta property=\"og:site_name\" content=\"123FormBuilder Knowledge Base\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-27T14:24:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-25T10:39:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/addvarriablesemail.png\" \/>\n<meta name=\"author\" content=\"Julia\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Julia\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Custom template variables | 123FormBuilder Docs","description":"Set custom variables in the body of your email notifications. The variables are placeholders in a template that will be replaced with the user input.","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:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/","og_locale":"en_US","og_type":"article","og_title":"Custom template variables on 123FormBuilder online forms","og_description":"Set custom variables in the body of your email notifications. The variables are placeholders in a template that will be replaced with the user input.","og_url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/","og_site_name":"123FormBuilder Knowledge Base","article_published_time":"2019-09-27T14:24:50+00:00","article_modified_time":"2022-10-25T10:39:57+00:00","og_image":[{"url":"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/addvarriablesemail.png","type":"","width":"","height":""}],"author":"Julia","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Julia","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/#article","isPartOf":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/"},"author":{"name":"Julia","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#\/schema\/person\/cc469207f9fad9e280a743a5dc96a843"},"headline":"Custom template variables on 123FormBuilder online forms","datePublished":"2019-09-27T14:24:50+00:00","dateModified":"2022-10-25T10:39:57+00:00","mainEntityOfPage":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/"},"wordCount":299,"commentCount":0,"image":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/#primaryimage"},"thumbnailUrl":"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/addvarriablesemail.png","keywords":["custom template variable","hide empty fields"],"articleSection":["Notifications"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/","url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/","name":"Custom template variables | 123FormBuilder Docs","isPartOf":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/#primaryimage"},"image":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/#primaryimage"},"thumbnailUrl":"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/addvarriablesemail.png","datePublished":"2019-09-27T14:24:50+00:00","dateModified":"2022-10-25T10:39:57+00:00","author":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#\/schema\/person\/cc469207f9fad9e280a743a5dc96a843"},"description":"Set custom variables in the body of your email notifications. The variables are placeholders in a template that will be replaced with the user input.","breadcrumb":{"@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/#primaryimage","url":"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/addvarriablesemail.png","contentUrl":"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/addvarriablesemail.png"},{"@type":"BreadcrumbList","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/custom-template-variables\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/"},{"@type":"ListItem","position":2,"name":"Custom template variables on 123FormBuilder online forms"}]},{"@type":"WebSite","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#website","url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/","name":"123FormBuilder Knowledge Base","description":"Search our documentation platform for answers, service specifications and 3rd-party integrations.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/#\/schema\/person\/cc469207f9fad9e280a743a5dc96a843","name":"Julia","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1b07bbd30c86170f8eb191468f69aaeab7b6cfddcd35ceaf4099ab76a5dccb06?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2FJulia%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1b07bbd30c86170f8eb191468f69aaeab7b6cfddcd35ceaf4099ab76a5dccb06?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2FJulia%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b07bbd30c86170f8eb191468f69aaeab7b6cfddcd35ceaf4099ab76a5dccb06?s=96&d=https%3A%2F%2Fui-avatars.com%2Fapi%2FJulia%2F96%2Ff3f3f3%2Faaa%2F1%2F0.5%2Ffalse%2Ftrue&r=g","caption":"Julia"},"url":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/author\/julia-unguras123formbuilder-com\/"}]}},"_links":{"self":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts\/35622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/users\/49"}],"replies":[{"embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/comments?post=35622"}],"version-history":[{"count":21,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts\/35622\/revisions"}],"predecessor-version":[{"id":44800,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/posts\/35622\/revisions\/44800"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/media?parent=35622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/categories?post=35622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/123formbuilder.polarbuildingcleaning.net\/docs\/wp-json\/wp\/v2\/tags?post=35622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}