{"id":192,"date":"2026-11-19T09:17:06","date_gmt":"2026-11-19T09:17:06","guid":{"rendered":"https:\/\/oddlylogical.com\/logical-forms\/?post_type=doc&#038;p=192"},"modified":"2026-11-27T06:07:26","modified_gmt":"2026-11-27T06:07:26","slug":"date-field","status":"publish","type":"doc","link":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/date-field\/","title":{"rendered":"Date field"},"content":{"rendered":"<p>Use Date for a calendar date such as a preferred appointment day or event date. The field stores one YYYY-MM-DD date; it does not represent a timezone, a UTC instant or a confirmed booking.<\/p>\n<p><strong>Availability:<\/strong> Pro.<\/p>\n<h2 id=\"add\">Add and configure the field<\/h2>\n<ol>\n<li>Open the form in Build and add <strong>Date<\/strong> from Add fields.<\/li>\n<li>Select its canvas card to open Field options, then configure the controls below.<\/li>\n<li>Save the form and check its saved Preview and embedded page.<\/li>\n<\/ol>\n<h2 id=\"settings\">Field-specific settings<\/h2>\n<table>\n<thead>\n<tr>\n<th>Setting<\/th>\n<th>What it does<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Input style<\/td>\n<td>Calendar picker is the default and allows typing with a calendar enhancement. Dropdowns uses date parts in the chosen format's order.<\/td>\n<\/tr>\n<tr>\n<td>Format<\/td>\n<td>YYYY-MM-DD, MM\/DD\/YYYY or DD\/MM\/YYYY. Changes presentation and formatted output, while saved values remain canonical YYYY-MM-DD.<\/td>\n<\/tr>\n<tr>\n<td>Day placeholder<\/td>\n<td>The empty Day prompt in component style. Defaults to Day; it may be blank.<\/td>\n<\/tr>\n<tr>\n<td>Month placeholder<\/td>\n<td>The empty Month prompt in component style. Defaults to Month.<\/td>\n<\/tr>\n<tr>\n<td>Year placeholder<\/td>\n<td>The empty Year prompt or numeric-year hint. Defaults to Year.<\/td>\n<\/tr>\n<tr>\n<td>Minimum date<\/td>\n<td>Optional inclusive Minimum date in YYYY-MM-DD form, independent of display format.<\/td>\n<\/tr>\n<tr>\n<td>Maximum date<\/td>\n<td>Optional inclusive Maximum date in YYYY-MM-DD form. It must not be before Minimum date.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<figure class=\"lf-docs-shot\" id=\"lf-shot-date-field-1\" data-lf-docs-asset=\"S34-date-settings\" style=\"--lf-shot-width: 448px\">\n  <a href=\"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-docs-s34-date-settings.webp\" data-lf-docs-image data-native-width=\"896\" data-native-height=\"1496\" aria-label=\"Enlarge screenshot: Choose the input style, display format and optional date range.\"><br \/>\n    <img src=\"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-docs-s34-date-settings-448w.webp\" srcset=\"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-docs-s34-date-settings-320w.webp 320w, https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-docs-s34-date-settings-448w.webp 448w, https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-docs-s34-date-settings.webp 896w\" sizes=\"auto, (min-width: 1168px) 448px, (min-width: 992px) min(448px, calc(100vw - 337px)), (min-width: 768px) min(448px, calc(100vw - 278px)), min(448px, calc(100vw - 48px))\" width=\"896\" height=\"1496\" alt=\"Date General settings with Dropdowns input style, DD\/MM\/YYYY format, blank earliest and latest dates, and Required and No duplicates options.\" loading=\"lazy\" decoding=\"async\"><br \/>\n  <\/a><figcaption>Choose the input style, display format and optional date range.<\/figcaption><\/figure>\n<h2 id=\"shared-options\">Applicable shared options<\/h2>\n<p>This field also provides Description placement, Validation message placement, Label, Description, Required message, Invalid value message, CSS classes, Hide label, Admin label, Visibility, Placeholder, Default value, Autocomplete, Required. See <a href=\"\/docs\/common-field-options\/\">common field options<\/a> for their behavior.<\/p>\n<p>Review <a href=\"\/docs\/field-visibility\/\">Visible, Hidden and Internal<\/a> before changing presentation. Static hiding differs from <a href=\"\/docs\/field-conditions\/\">conditional applicability<\/a>.<\/p>\n<p><a href=\"\/docs\/dynamic-population\/\">Dynamic population<\/a> offers Disabled, Parameter, Current user. Parameter name binds an external URL or embed value. User property selects the supported WordPress profile value. Submitted or cleared answers are not refilled.<\/p>\n<p><a href=\"\/docs\/prevent-duplicate-answers\/\">No duplicates and Duplicate value message require Pro<\/a>. They compare accepted entries for this form and field, separately from Required.<\/p>\n<h2 id=\"answers\">Answers and behavior<\/h2>\n<p>Set Default value in YYYY-MM-DD form as well. An impossible date or incompatible default is rejected when saving. Relative expressions such as today are not a documented substitute for these canonical settings.<\/p>\n<p>The main Placeholder is used by picker style. Component placeholders appear for the native date parts. Hide label retains accessible naming. The calendar enhancement loads for picker style when JavaScript is available; typed input and native parts remain usable without it.<\/p>\n<p>Without explicit bounds, the year choices normally cover the site's current year minus 100 through plus 20. Explicit bounds change that range. A range wider than 200 years uses a numeric year input instead of an enormous dropdown. A selected default or redisplayed year outside the ordinary list remains representable.<\/p>\n<p>Only real dates in supported years 0001\u20139999 can normalize successfully. Partial dates and impossible days fail validation. Existing entries are not rewritten when you change the display format or bounds; entry formatting uses the current field format.<\/p>\n<h2 id=\"example\">Example and checks<\/h2>\n<p>For a preferred visit date, select Calendar picker, choose a familiar display format and set appropriate explicit bounds. Explain that the date is a request if your process requires a separate confirmation; this field does not check calendar capacity.<\/p>\n<p>Test an empty optional answer, an impossible date, both inclusive bounds and a date outside them. If using parts, test an incomplete set of components. Check the saved canonical date and its readable notification\/entry output.<\/p>\n<p>Use <a href=\"\/docs\/test-a-form\/\">the testing checklist<\/a> to check validation and the saved entry. <a href=\"\/examples\/all-fields\/\">Explore all fields<\/a> provides live examples.<\/p>\n<figure class=\"lf-docs-shot\" id=\"lf-shot-date-field-2\" data-lf-docs-asset=\"S34-open-calendar\" style=\"--lf-shot-width: 379px\">\n  <a href=\"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-date-calendar.webp\" data-lf-docs-image data-native-width=\"758\" data-native-height=\"733\" aria-label=\"Enlarge screenshot: The Calendar picker opens a month view below the Date input.\"><br \/>\n    <img src=\"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-date-calendar.webp\" srcset=\"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-date-calendar-320w.webp 320w, https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-date-calendar-640w.webp 640w, https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-date-calendar.webp 758w\" sizes=\"auto, (min-width: 1168px) 379px, (min-width: 992px) min(379px, calc(100vw - 337px)), (min-width: 768px) min(379px, calc(100vw - 278px)), min(379px, calc(100vw - 48px))\" width=\"758\" height=\"733\" alt=\"Native November 2026 calendar picker with month and year navigation and its complete date grid.\" loading=\"lazy\" decoding=\"async\"><br \/>\n  <\/a><figcaption>The Calendar picker opens a month view below the Date input.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Collect a date with Logical Forms Pro using a calendar or date parts, choose its display format, and set canonical defaults and inclusive bounds.<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":122,"template":"","doc-categories":[14],"class_list":["post-192","doc","type-doc","status-publish","hentry","doc_category-fields"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Date field | Logical Forms Docs<\/title>\n<meta name=\"description\" content=\"Collect a date with Logical Forms Pro using a calendar or date parts, choose its display format, and set canonical defaults and inclusive bounds.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/date-field\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Date field | Logical Forms Docs\" \/>\n<meta property=\"og:description\" content=\"Collect a date with Logical Forms Pro using a calendar or date parts, choose its display format, and set canonical defaults and inclusive bounds.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/date-field\/\" \/>\n<meta property=\"og:site_name\" content=\"Logical Forms\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-27T06:07:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-docs-s34-date-settings-448w.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:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/date-field\\\/\",\"url\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/date-field\\\/\",\"name\":\"Date field | Logical Forms Docs\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/date-field\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/date-field\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/logicalforms.io\\\/wp-content\\\/uploads\\\/sites\\\/14\\\/2026\\\/11\\\/lf-docs-s34-date-settings-448w.webp\",\"datePublished\":\"2026-11-19T09:17:06+00:00\",\"dateModified\":\"2026-11-27T06:07:26+00:00\",\"description\":\"Collect a date with Logical Forms Pro using a calendar or date parts, choose its display format, and set canonical defaults and inclusive bounds.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/date-field\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/date-field\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/date-field\\\/#primaryimage\",\"url\":\"https:\\\/\\\/logicalforms.io\\\/wp-content\\\/uploads\\\/sites\\\/14\\\/2026\\\/11\\\/lf-docs-s34-date-settings-448w.webp\",\"contentUrl\":\"https:\\\/\\\/logicalforms.io\\\/wp-content\\\/uploads\\\/sites\\\/14\\\/2026\\\/11\\\/lf-docs-s34-date-settings-448w.webp\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/date-field\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation\",\"item\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Date field\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/#website\",\"url\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/\",\"name\":\"Logical Forms\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Date field | Logical Forms Docs","description":"Collect a date with Logical Forms Pro using a calendar or date parts, choose its display format, and set canonical defaults and inclusive bounds.","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:\/\/oddlylogical.com\/logical-forms-old\/docs\/date-field\/","og_locale":"en_US","og_type":"article","og_title":"Date field | Logical Forms Docs","og_description":"Collect a date with Logical Forms Pro using a calendar or date parts, choose its display format, and set canonical defaults and inclusive bounds.","og_url":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/date-field\/","og_site_name":"Logical Forms","article_modified_time":"2026-11-27T06:07:26+00:00","og_image":[{"url":"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-docs-s34-date-settings-448w.webp","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/date-field\/","url":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/date-field\/","name":"Date field | Logical Forms Docs","isPartOf":{"@id":"https:\/\/oddlylogical.com\/logical-forms-old\/#website"},"primaryImageOfPage":{"@id":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/date-field\/#primaryimage"},"image":{"@id":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/date-field\/#primaryimage"},"thumbnailUrl":"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-docs-s34-date-settings-448w.webp","datePublished":"2026-11-19T09:17:06+00:00","dateModified":"2026-11-27T06:07:26+00:00","description":"Collect a date with Logical Forms Pro using a calendar or date parts, choose its display format, and set canonical defaults and inclusive bounds.","breadcrumb":{"@id":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/date-field\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/oddlylogical.com\/logical-forms-old\/docs\/date-field\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/date-field\/#primaryimage","url":"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-docs-s34-date-settings-448w.webp","contentUrl":"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-docs-s34-date-settings-448w.webp"},{"@type":"BreadcrumbList","@id":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/date-field\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/oddlylogical.com\/logical-forms-old\/"},{"@type":"ListItem","position":2,"name":"Documentation","item":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/"},{"@type":"ListItem","position":3,"name":"Date field"}]},{"@type":"WebSite","@id":"https:\/\/oddlylogical.com\/logical-forms-old\/#website","url":"https:\/\/oddlylogical.com\/logical-forms-old\/","name":"Logical Forms","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/oddlylogical.com\/logical-forms-old\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/docs\/192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":4,"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/docs\/192\/revisions"}],"predecessor-version":[{"id":775,"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/docs\/192\/revisions\/775"}],"wp:attachment":[{"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/media?parent=192"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/doc-categories?post=192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}