{"id":2760,"date":"2018-06-25T16:52:53","date_gmt":"2018-06-25T14:52:53","guid":{"rendered":"https:\/\/booking-activities.fr\/fr\/docs\/documentation-utilisateur\/formulaires-avances\/display-custom-fields-values-in-your-notifications\/"},"modified":"2023-10-20T10:35:20","modified_gmt":"2023-10-20T08:35:20","slug":"display-custom-fields-values-in-your-notifications","status":"publish","type":"docs","link":"https:\/\/booking-activities.fr\/en\/docs\/user-documentation\/get-started-with-advanced-forms-add-on\/display-custom-fields-values-in-your-notifications\/","title":{"rendered":"Display custom fields values in your notifications"},"content":{"rendered":"<p>Now, you know how to <a href=\"https:\/\/booking-activities.fr\/en\/docs\/user-documentation\/get-started-with-advanced-forms-add-on\/view-and-edit-booking-metadata\/\">view booking metadata<\/a> on the admin panel. You can similarly display these data in the notifications in order for your customers to keep a written record.<\/p>\n<ul>\n<li>Go to &#8220;Booking Activities&#8221; menu, &#8220;Settings&#8221; submenu\n<li>Go to &#8220;Notifications&#8221; tab\n<li>Click on the desired notification\n<\/ul>\n<p><em><strong>Note:<\/strong> If you have added an &#8220;email&#8221;-type field in your booking forms, you can select it in the &#8220;Additional recipients (custom fields)&#8221; option so that this notification will also be sent to the email addresses provided by the customer. The custom field type must be &#8220;Email&#8221;.<\/em><\/p>\n<p>At least two new tags appeared in the available tags list: <code>{custom_fields}<\/code> and <code>{participants}<\/code>. Then, you will find a new tag per custom field: <code>{field_<em>field_name<\/em>}<\/code><\/p>\n<ul>\n<li>Write <code>{custom_fields}<\/code> in your notification body to display the list of the reservation custom fields values\n<li>Write <code>{participants}<\/code> in your notification body to display the list of the reservation custom fields values for each participant\n<li>Write <code>{field_<em>field_name<\/em>}<\/code> in your notification body to display the reservation custom field value only\n<\/ul>\n<table>\n<tr>\n<th style=\"width:150px;\">Tags<\/th>\n<th>Displayed value<\/th>\n<\/tr>\n<tr>\n<td><code>{custom_fields}<\/code><\/td>\n<td>\n<table cellspacing=\"0\" cellpadding=\"0\" style=\"border:none\">\n<tbody>\n<tr>\n<th style=\"width:160px;text-align:left;padding-right:10px\">Field 1<\/th>\n<td>Field 1 value<\/td>\n<\/tr>\n<tr>\n<th style=\"width:160px;text-align:left;padding-right:10px\">Field 2<\/th>\n<td>Field 2 value<\/td>\n<\/tr>\n<tr>\n<th style=\"width:160px;text-align:left;padding-right:10px\">Field 3<\/th>\n<td>&#8230;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td><code>{participants}<\/code><\/td>\n<td>\n<fieldset style=\"padding:10px;\">\n<legend style=\"font-size:1em;width:auto;padding:0 10px;\"><strong>Participant #1<\/strong><\/legend>\n<div><label><strong>Field 1:<\/strong><\/label> <span>Field 1 value<\/span><\/div>\n<div><label><strong>Field 2:<\/strong><\/label> <span>Field 2 value<\/span><\/div>\n<div><label><strong>Field 3:<\/strong><\/label> <span>&#8230;<\/span><\/div>\n<\/fieldset>\n<fieldset style=\"padding:10px;\">\n<legend style=\"font-size:1em;width:auto;padding:0 10px;\"><strong>Participant #2<\/strong><\/legend>\n<div><label><strong>Field 1:<\/strong><\/label> <span>Field 1 value<\/span><\/div>\n<div><label><strong>Field 3:<\/strong><\/label> <span>&#8230;<\/span><\/div>\n<\/fieldset>\n<\/td>\n<\/tr>\n<tr>\n<td><code>{field_<em>field_name<\/em>}<\/code><\/td>\n<td>Field value only<\/td>\n<\/tr>\n<\/table>\n<p><\/p>","protected":false},"featured_media":0,"parent":2743,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_is_vendor_doc":"0","footnotes":""},"doc_tag":[],"class_list":["post-2760","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Display custom fields values in your notifications - Booking Activities<\/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:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-advanced-forms\/afficher-les-valeurs-des-champs-personnalises-dans-vos-notifications\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Display custom fields values in your notifications - Booking Activities\" \/>\n<meta property=\"og:description\" content=\"Now, you know how to view booking metadata on the admin panel. You can similarly display these data in the notifications in order for your customers to keep a written ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-advanced-forms\/afficher-les-valeurs-des-champs-personnalises-dans-vos-notifications\/\" \/>\n<meta property=\"og:site_name\" content=\"Booking Activities\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-20T08:35:20+00:00\" \/>\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:\\\/\\\/booking-activities.fr\\\/en\\\/docs\\\/documentation-utilisateur\\\/demarrer-avec-le-module-advanced-forms\\\/afficher-les-valeurs-des-champs-personnalises-dans-vos-notifications\\\/\",\"url\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/docs\\\/documentation-utilisateur\\\/demarrer-avec-le-module-advanced-forms\\\/afficher-les-valeurs-des-champs-personnalises-dans-vos-notifications\\\/\",\"name\":\"Display custom fields values in your notifications - Booking Activities\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/#website\"},\"datePublished\":\"2018-06-25T14:52:53+00:00\",\"dateModified\":\"2023-10-20T08:35:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/docs\\\/documentation-utilisateur\\\/demarrer-avec-le-module-advanced-forms\\\/afficher-les-valeurs-des-champs-personnalises-dans-vos-notifications\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[[\"https:\\\/\\\/booking-activities.fr\\\/en\\\/docs\\\/documentation-utilisateur\\\/demarrer-avec-le-module-advanced-forms\\\/afficher-les-valeurs-des-champs-personnalises-dans-vos-notifications\\\/\"]]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/docs\\\/documentation-utilisateur\\\/demarrer-avec-le-module-advanced-forms\\\/afficher-les-valeurs-des-champs-personnalises-dans-vos-notifications\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation utilisateur\",\"item\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/docs\\\/documentation-utilisateur\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Advanced Forms\",\"item\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/docs\\\/documentation-utilisateur\\\/demarrer-avec-le-module-advanced-forms\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Afficher les valeurs des champs personnalis\u00e9s dans vos notifications\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/\",\"name\":\"Booking Activities\",\"description\":\"Booking plugin for Wordpress websites\",\"publisher\":{\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/#organization\",\"name\":\"Booking Activities\",\"url\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/booking-activities.fr\\\/wp-content\\\/uploads\\\/Logo_Booking_Activities_light_bg.png\",\"contentUrl\":\"https:\\\/\\\/booking-activities.fr\\\/wp-content\\\/uploads\\\/Logo_Booking_Activities_light_bg.png\",\"width\":512,\"height\":83,\"caption\":\"Booking Activities\"},\"image\":{\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Display custom fields values in your notifications - Booking Activities","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:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-advanced-forms\/afficher-les-valeurs-des-champs-personnalises-dans-vos-notifications\/","og_locale":"en_US","og_type":"article","og_title":"Display custom fields values in your notifications - Booking Activities","og_description":"Now, you know how to view booking metadata on the admin panel. You can similarly display these data in the notifications in order for your customers to keep a written ...","og_url":"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-advanced-forms\/afficher-les-valeurs-des-champs-personnalises-dans-vos-notifications\/","og_site_name":"Booking Activities","article_modified_time":"2023-10-20T08:35:20+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-advanced-forms\/afficher-les-valeurs-des-champs-personnalises-dans-vos-notifications\/","url":"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-advanced-forms\/afficher-les-valeurs-des-champs-personnalises-dans-vos-notifications\/","name":"Display custom fields values in your notifications - Booking Activities","isPartOf":{"@id":"https:\/\/booking-activities.fr\/en\/#website"},"datePublished":"2018-06-25T14:52:53+00:00","dateModified":"2023-10-20T08:35:20+00:00","breadcrumb":{"@id":"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-advanced-forms\/afficher-les-valeurs-des-champs-personnalises-dans-vos-notifications\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":[["https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-advanced-forms\/afficher-les-valeurs-des-champs-personnalises-dans-vos-notifications\/"]]}]},{"@type":"BreadcrumbList","@id":"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-advanced-forms\/afficher-les-valeurs-des-champs-personnalises-dans-vos-notifications\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/booking-activities.fr\/en\/"},{"@type":"ListItem","position":2,"name":"Documentation utilisateur","item":"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/"},{"@type":"ListItem","position":3,"name":"Advanced Forms","item":"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-advanced-forms\/"},{"@type":"ListItem","position":4,"name":"Afficher les valeurs des champs personnalis\u00e9s dans vos notifications"}]},{"@type":"WebSite","@id":"https:\/\/booking-activities.fr\/en\/#website","url":"https:\/\/booking-activities.fr\/en\/","name":"Booking Activities","description":"Booking plugin for Wordpress websites","publisher":{"@id":"https:\/\/booking-activities.fr\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/booking-activities.fr\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/booking-activities.fr\/en\/#organization","name":"Booking Activities","url":"https:\/\/booking-activities.fr\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/booking-activities.fr\/en\/#\/schema\/logo\/image\/","url":"https:\/\/booking-activities.fr\/wp-content\/uploads\/Logo_Booking_Activities_light_bg.png","contentUrl":"https:\/\/booking-activities.fr\/wp-content\/uploads\/Logo_Booking_Activities_light_bg.png","width":512,"height":83,"caption":"Booking Activities"},"image":{"@id":"https:\/\/booking-activities.fr\/en\/#\/schema\/logo\/image\/"}}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/docs\/2760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/comments?post=2760"}],"version-history":[{"count":5,"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/docs\/2760\/revisions"}],"predecessor-version":[{"id":32059,"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/docs\/2760\/revisions\/32059"}],"up":[{"embeddable":true,"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/docs\/2743"}],"prev":[{"title":"[:fr]Afficher et modifier les m\u00e9tadonn\u00e9es des r\u00e9servations[:en]View and edit booking metadata[:]","link":"https:\/\/booking-activities.fr\/en\/docs\/user-documentation\/get-started-with-advanced-forms-add-on\/view-and-edit-booking-metadata\/","href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/docs\/2759"}],"wp:attachment":[{"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/media?parent=2760"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/doc_tag?post=2760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}