{"id":2367,"date":"2019-11-25T13:51:05","date_gmt":"2019-11-25T13:51:05","guid":{"rendered":"https:\/\/www.leadshook.com\/help\/?p=2367"},"modified":"2024-02-14T11:51:39","modified_gmt":"2024-02-14T11:51:39","slug":"default-value-behavior","status":"publish","type":"post","link":"https:\/\/www.leadshook.com\/help\/default-value-behavior\/","title":{"rendered":"Default value behavior"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When you create a custom field you have the option of specifying a default value.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"562\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-4-1024x562.png\" alt=\"\" class=\"wp-image-2368\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-4-1024x562.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-4-300x165.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-4-768x421.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-4-60x33.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-4-150x82.png 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-4.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can see the default value is <strong>&#8220;true&#8221;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, its also possible to override this value in a question node. You have to assign the question a custom field and provide values.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"562\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-5-1024x562.png\" alt=\"\" class=\"wp-image-2369\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-5-1024x562.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-5-300x165.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-5-768x421.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-5-60x33.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-5-150x82.png 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-5.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Here you can see the default value is <strong>&#8220;Default&#8221;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So even though we defined the default value previously, the value in this node will take preference.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note that because we are using a checkbox field, in this example its possible to select two answers. They will display like this:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"562\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-6-1024x562.png\" alt=\"\" class=\"wp-image-2370\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-6-1024x562.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-6-300x165.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-6-768x421.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-6-60x33.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-6-150x82.png 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-6.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: When you create a custom field you have the option of specifying a default value. For example: You can see the default value is &#8220;true&#8221; Now, its also possible to override this value in a question node. You have to assign the question a custom field and provide values. For example: Here you can [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[158,259],"tags":[557,221,558,222],"class_list":["post-2367","post","type-post","status-publish","format-standard","hentry","category-custom-field","category-nodes","tag-behavior","tag-default","tag-defaults","tag-value"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Default value behavior - LeadsHook Knowledge Base<\/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:\/\/www.leadshook.com\/help\/default-value-behavior\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Default value behavior - LeadsHook Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Introduction: When you create a custom field you have the option of specifying a default value. For example: You can see the default value is &#8220;true&#8221; Now, its also possible to override this value in a question node. You have to assign the question a custom field and provide values. For example: Here you can [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.leadshook.com\/help\/default-value-behavior\/\" \/>\n<meta property=\"og:site_name\" content=\"LeadsHook Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/leadshook\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-11-25T13:51:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-14T11:51:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-4-1024x562.png\" \/>\n<meta name=\"author\" content=\"Nik T\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@leadshook\" \/>\n<meta name=\"twitter:site\" content=\"@leadshook\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nik T\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/default-value-behavior\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/default-value-behavior\\\/\"},\"author\":{\"name\":\"Nik T\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\"},\"headline\":\"Default value behavior\",\"datePublished\":\"2019-11-25T13:51:05+00:00\",\"dateModified\":\"2024-02-14T11:51:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/default-value-behavior\\\/\"},\"wordCount\":104,\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/default-value-behavior\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/image-4-1024x562.png\",\"keywords\":[\"behavior\",\"default\",\"defaults\",\"value\"],\"articleSection\":[\"Custom Fields\",\"Nodes\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/default-value-behavior\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/default-value-behavior\\\/\",\"name\":\"Default value behavior - LeadsHook Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/default-value-behavior\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/default-value-behavior\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/image-4-1024x562.png\",\"datePublished\":\"2019-11-25T13:51:05+00:00\",\"dateModified\":\"2024-02-14T11:51:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/default-value-behavior\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.leadshook.com\\\/help\\\/default-value-behavior\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/default-value-behavior\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/image-4.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/image-4.png\",\"width\":1920,\"height\":1053},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/default-value-behavior\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Default value behavior\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"name\":\"LeadsHook Knowledge Base\",\"description\":\"LeadsHook Training &amp; Technical Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\",\"name\":\"LeadsHook\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"width\":350,\"height\":83,\"caption\":\"LeadsHook\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/leadshook\\\/\",\"https:\\\/\\\/x.com\\\/leadshook\",\"https:\\\/\\\/www.linkedin.com\\\/showcase\\\/leadshook\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\",\"name\":\"Nik T\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"caption\":\"Nik T\"},\"sameAs\":[\"http:\\\/\\\/www.LeadsHook.com\"],\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/author\\\/nik\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Default value behavior - LeadsHook Knowledge Base","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:\/\/www.leadshook.com\/help\/default-value-behavior\/","og_locale":"en_US","og_type":"article","og_title":"Default value behavior - LeadsHook Knowledge Base","og_description":"Introduction: When you create a custom field you have the option of specifying a default value. For example: You can see the default value is &#8220;true&#8221; Now, its also possible to override this value in a question node. You have to assign the question a custom field and provide values. For example: Here you can [&hellip;]","og_url":"https:\/\/www.leadshook.com\/help\/default-value-behavior\/","og_site_name":"LeadsHook Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/leadshook\/","article_published_time":"2019-11-25T13:51:05+00:00","article_modified_time":"2024-02-14T11:51:39+00:00","og_image":[{"url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-4-1024x562.png","type":"","width":"","height":""}],"author":"Nik T","twitter_card":"summary_large_image","twitter_creator":"@leadshook","twitter_site":"@leadshook","twitter_misc":{"Written by":"Nik T","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.leadshook.com\/help\/default-value-behavior\/#article","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/default-value-behavior\/"},"author":{"name":"Nik T","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d"},"headline":"Default value behavior","datePublished":"2019-11-25T13:51:05+00:00","dateModified":"2024-02-14T11:51:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/default-value-behavior\/"},"wordCount":104,"publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/default-value-behavior\/#primaryimage"},"thumbnailUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-4-1024x562.png","keywords":["behavior","default","defaults","value"],"articleSection":["Custom Fields","Nodes"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.leadshook.com\/help\/default-value-behavior\/","url":"https:\/\/www.leadshook.com\/help\/default-value-behavior\/","name":"Default value behavior - LeadsHook Knowledge Base","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/default-value-behavior\/#primaryimage"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/default-value-behavior\/#primaryimage"},"thumbnailUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-4-1024x562.png","datePublished":"2019-11-25T13:51:05+00:00","dateModified":"2024-02-14T11:51:39+00:00","breadcrumb":{"@id":"https:\/\/www.leadshook.com\/help\/default-value-behavior\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.leadshook.com\/help\/default-value-behavior\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/default-value-behavior\/#primaryimage","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-4.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2019\/11\/image-4.png","width":1920,"height":1053},{"@type":"BreadcrumbList","@id":"https:\/\/www.leadshook.com\/help\/default-value-behavior\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.leadshook.com\/help\/"},{"@type":"ListItem","position":2,"name":"Default value behavior"}]},{"@type":"WebSite","@id":"https:\/\/www.leadshook.com\/help\/#website","url":"https:\/\/www.leadshook.com\/help\/","name":"LeadsHook Knowledge Base","description":"LeadsHook Training &amp; Technical Help","publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.leadshook.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.leadshook.com\/help\/#organization","name":"LeadsHook","url":"https:\/\/www.leadshook.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","width":350,"height":83,"caption":"LeadsHook"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/leadshook\/","https:\/\/x.com\/leadshook","https:\/\/www.linkedin.com\/showcase\/leadshook\/"]},{"@type":"Person","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d","name":"Nik T","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","caption":"Nik T"},"sameAs":["http:\/\/www.LeadsHook.com"],"url":"https:\/\/www.leadshook.com\/help\/author\/nik\/"}]}},"_links":{"self":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/2367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/comments?post=2367"}],"version-history":[{"count":2,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/2367\/revisions"}],"predecessor-version":[{"id":6554,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/2367\/revisions\/6554"}],"wp:attachment":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/media?parent=2367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/categories?post=2367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/tags?post=2367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}