{"id":50601,"date":"2026-01-15T13:34:08","date_gmt":"2026-01-15T13:34:08","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=50601"},"modified":"2026-01-15T14:08:11","modified_gmt":"2026-01-15T14:08:11","slug":"jetappointment-macros-guide","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetappointment\/jetappointment-macros-guide\/","title":{"rendered":"Macros Guide for JetAppointment"},"content":{"rendered":"\n<p>These macros display appointment information in the \u201cSend Email<strong>\u201d <\/strong>post-submit action for <a href=\"https:\/\/jetformbuilder.com\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>JetFormBuilder<\/em><\/a> forms or in the <em>JetEngine<\/em> <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/jetengine-dashboard-settings-overview\/#forms-legacy\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Forms<\/strong><\/a> module (legacy).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"macros-list\">Macros List<\/h2>\n\n\n\n<p>%service_title% \u2014 returns the appointment service name.<\/p>\n\n\n\n<p>%provider_title% \u2014 returns the appointment provider name.<\/p>\n\n\n\n<p>%post-field|post_title_by_id% \u2014 returns the post title. Replace \u2018post-field\u2019 with the name of your form field.<\/p>\n\n\n\n<p>%service_link% \u2014 displays the link to the appointment service.<\/p>\n\n\n\n<p>%provider_link% \u2014 displays the link to the appointment provider.<\/p>\n\n\n\n<p>%appointment_start% \u2014 displays the appointment start date and time. You can set the format for the date, for example, %appointment_start|format_date(F j, Y g:i)%. Learn more from the <a href=\"https:\/\/wordpress.org\/documentation\/article\/customize-date-and-time-format\/#customizing-the-time-and-date-format\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Customizing the Time and Date Format<\/strong><\/a> article.<\/p>\n\n\n\n<p>%appointment_end% \u2014 displays the appointment end date and time. Also accepts date format.<\/p>\n\n\n\n<p>%user_local_time% \u2014 shows the appointment time in the user\u2019s local timezone (if timezone management is enabled).<\/p>\n\n\n\n<p>%user_local_date% \u2014 shows the appointment date in the user\u2019s local timezone (if timezone management is enabled).<\/p>\n\n\n\n<p>%user_timezone% \u2014 outputs the user\u2019s timezone (for example, \u2018America\/Vancouver\u2019) if timezone management is enabled.<\/p>\n\n\n\n<p>%appointment_price% \u2014 displays the individual price of the booked appointment.<\/p>\n\n\n\n<p>%appointmens_list%<\/p>\n\n\n\n<p>\u2026<\/p>\n\n\n\n<p>%appointmens_list_end% \u2014 displays a list of booked appointments if the <strong>Multi Booking<\/strong> is enabled in the <strong><em>WordPress Dashboard &gt; Crocoblock &gt; JetAppointments &gt; <\/em><\/strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/jetappointment-dashboard-overview\/#working-hours\"><strong><em>Working Hours<\/em><\/strong><\/a><strong><em> <\/em><\/strong>tab. You can place text and macros between these tags to format the output, for example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>%appointmens_list%\n\nAppointment Start: %appointment_start|format_date(F j, Y g:i)%\n\nAppointment&nbsp; End: %appointment_end|format_date(g:i)%\n\n%appointmens_list_end%<\/code><\/pre>\n\n\n\n<p>%appointment_meta|_cancel_url% \u2014 outputs the appointment cancellation link.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-use\">How to Use<\/h2>\n\n\n\n<p>Check the guide on <a href=\"https:\/\/jetformbuilder.com\/features\/how-to-build-appointment-form\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Create an Appointment Form<\/strong><\/a>.<\/p>\n\n\n\n<p>Proceed to <strong><em>JetForm &gt; Post Submit Actions<\/em><\/strong>, press the \u201c<strong>+ New Action<\/strong>\u201d button, and select the \u201c<a href=\"https:\/\/jetformbuilder.com\/features\/send-email\/\" target=\"_blank\" rel=\"noreferrer noopener\">Send Email<\/a>\u201d action from the pop-up.<\/p>\n\n\n\n<p>Set the action options according to your needs and select the <strong>CONTENT TYPE<\/strong> (\u201cHTML,\u201d for example).<br>In the <strong>CONTENT <\/strong>textarea, adjust the main body of the email, using the JetAppointment and form field name macros, for instance:<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/01\/send-email-form-action-settings-with-jetappointment-macros.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/01\/send-email-form-action-settings-with-jetappointment-macros.webp\" alt=\"send email form action settings with jetappointment macros\" class=\"wp-image-50604\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/01\/send-email-form-action-settings-with-jetappointment-macros.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/01\/send-email-form-action-settings-with-jetappointment-macros-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/01\/send-email-form-action-settings-with-jetappointment-macros-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/01\/send-email-form-action-settings-with-jetappointment-macros-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/01\/send-email-form-action-settings-with-jetappointment-macros-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/01\/send-email-form-action-settings-with-jetappointment-macros-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Hi, &lt;b&gt;%_user_name%&lt;\/b&gt;!\n\n\nYou already booked:\n\n\n%appointmens_list%\n\n\n&lt;b&gt;%service_title%&lt;\/b&gt; \u2013 &lt;b&gt;%provider_title%&lt;\/b&gt;  \nThe amount of your order: &lt;b&gt;$%appointment_price%.00&lt;\/b&gt;  \nDate and time: %appointment_start|format_date(F j, Y g:i a)% \u2013 %appointment_end|format_date(g:i a)%\n\n\n%appointmens_list_end%\n\n\nThe total amount of your order: &lt;b&gt;$%_total_1%&lt;\/b&gt;\n\n\nAll the best!\n<\/code><\/pre>\n\n\n\n<p>Where:<\/p>\n\n\n\n<ul>\n<li>%_user_name% \u2014 the form field name, inserts the name of the user who submitted the form;<\/li>\n\n\n\n<li>%appointmens_list% and %appointmens_list_end% \u2014 wrap the content that should repeat for each booked appointment;<\/li>\n\n\n\n<li>%service_title% \u2014 displays the booked service name;<\/li>\n\n\n\n<li>%provider_title% \u2014 displays the assigned provider;<\/li>\n\n\n\n<li>%appointment_price% \u2014 shows the price for a single appointment;<\/li>\n\n\n\n<li>%appointment_start% \/ %appointment_end% \u2014 display the appointment date and time. The format_date() modifier controls how the date is shown;<\/li>\n\n\n\n<li>%_total_1% \u2014 the form field name, outputs the total order amount calculated by the form.<\/li>\n<\/ul>\n\n\n\n<p>Additionally, you can use line breaks or &lt;br&gt; tags to control spacing and HTML tags (like &lt;b&gt;, &lt;i&gt;) for styling.<\/p>\n\n\n\n<p>On the front end, we select several appointments, submit the form, and obtain an email.<\/p>\n\n\n\n<figure class=\"wp-block-image text-center size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"611\" height=\"713\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/01\/email-with-jetappointments-details.png\" alt=\"email with jetappointment details\" class=\"wp-image-50602\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/01\/email-with-jetappointments-details.png 611w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/01\/email-with-jetappointments-details-257x300.png 257w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/01\/email-with-jetappointments-details-600x700.png 600w\" sizes=\"(max-width: 611px) 100vw, 611px\" \/><\/figure>\n\n\n\n<p>That\u2019s all. Now you know how <em>JetAppointment<\/em> macros work and how to use them in emails and forms to display dynamic appointment details in WordPress. Additionally, you can check the general\u00a0<a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/macros-guide\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Macros Guide<\/strong><\/a>\u00a0for\u00a0<em>JetEngine<\/em>\u00a0and other Crocoblock plugins.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how JetAppointment macros work and how to use them in emails and forms to display dynamic appointment details in WordPress.<\/p>\n","protected":false},"author":8,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[453],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Macros Guide \u2014 JetAppointment | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how JetAppointment macros work and how to use them in emails and forms to display dynamic appointment details in WordPress.\" \/>\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\/jetappointment\/jetappointment-macros-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Macros Guide \u2014 JetAppointment | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how JetAppointment macros work and how to use them in emails and forms to display dynamic appointment details in WordPress.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetappointment\/jetappointment-macros-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-15T14:08:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/01\/send-email-form-action-settings-with-jetappointment-macros.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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetappointment\/jetappointment-macros-guide\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetappointment\/jetappointment-macros-guide\/\",\"name\":\"Macros Guide \u2014 JetAppointment | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2026-01-15T13:34:08+00:00\",\"dateModified\":\"2026-01-15T14:08:11+00:00\",\"description\":\"Learn how JetAppointment macros work and how to use them in emails and forms to display dynamic appointment details in WordPress.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetappointment\/jetappointment-macros-guide\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetappointment\/jetappointment-macros-guide\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetappointment\/jetappointment-macros-guide\/#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\":\"Macros Guide for JetAppointment\"}]},{\"@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":"Macros Guide \u2014 JetAppointment | Crocoblock","description":"Learn how JetAppointment macros work and how to use them in emails and forms to display dynamic appointment details in WordPress.","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\/jetappointment\/jetappointment-macros-guide\/","og_locale":"en_US","og_type":"article","og_title":"Macros Guide \u2014 JetAppointment | Crocoblock","og_description":"Learn how JetAppointment macros work and how to use them in emails and forms to display dynamic appointment details in WordPress.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetappointment\/jetappointment-macros-guide\/","og_site_name":"Help Center","article_modified_time":"2026-01-15T14:08:11+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/01\/send-email-form-action-settings-with-jetappointment-macros.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetappointment\/jetappointment-macros-guide\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetappointment\/jetappointment-macros-guide\/","name":"Macros Guide \u2014 JetAppointment | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2026-01-15T13:34:08+00:00","dateModified":"2026-01-15T14:08:11+00:00","description":"Learn how JetAppointment macros work and how to use them in emails and forms to display dynamic appointment details in WordPress.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetappointment\/jetappointment-macros-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetappointment\/jetappointment-macros-guide\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetappointment\/jetappointment-macros-guide\/#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":"Macros Guide for JetAppointment"}]},{"@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\/50601"}],"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\/8"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=50601"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=50601"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=50601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}