{"id":160,"date":"2026-11-19T08:54:34","date_gmt":"2026-11-19T08:54:34","guid":{"rendered":"https:\/\/oddlylogical.com\/logical-forms\/?post_type=doc&#038;p=160"},"modified":"2026-11-19T08:54:34","modified_gmt":"2026-11-19T08:54:34","slug":"text-field","status":"publish","type":"doc","link":"https:\/\/oddlylogical.com\/logical-forms\/docs\/text-field\/","title":{"rendered":"Text field"},"content":{"rendered":"<p>Use Text for a short plain-text answer such as a company name, reference or job title. It is also useful for identifiers whose leading zeros must remain intact; a Number field normalizes numeric formatting.<\/p>\n<p><strong>Availability:<\/strong> Core (Free).<\/p>\n<h2 id=\"add\">Add and configure the field<\/h2>\n<ol>\n<li>Open the form in Build and add <strong>Text<\/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>Minimum characters<\/td>\n<td>Optional minimum normalized character count. Blank means no limit. A minimum does not make an empty optional field required.<\/td>\n<\/tr>\n<tr>\n<td>Maximum characters<\/td>\n<td>Optional maximum normalized character count. Counts characters, including interior spaces, rather than words. Answers are rejected rather than cut down to fit.<\/td>\n<\/tr>\n<tr>\n<td>Input mask<\/td>\n<td>Choose None, a predefined mask or Custom. For example, <code>aa-9999<\/code> describes a two-letter\/four-digit reference. A mask owns the accepted length while enabled; retained character bounds resume when it is removed.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"shared-options\">Applicable shared options<\/h2>\n<p>This field also provides Description placement, Validation message placement, Label, Description, Required, Required message, Invalid value message, CSS classes, Hide label, Admin label, Visibility, Placeholder, Default value, Autocomplete. See <a href=\"https:\/\/oddlylogical.com\/logical-forms\/docs\/common-field-options\/\">common field options<\/a> for their behavior.<\/p>\n<p>Review <a href=\"https:\/\/oddlylogical.com\/logical-forms\/docs\/field-visibility\/\">Visible, Hidden and Internal<\/a> before changing presentation. Static hiding differs from <a href=\"https:\/\/oddlylogical.com\/logical-forms\/docs\/field-conditions\/\">conditional applicability<\/a>.<\/p>\n<p><a href=\"https:\/\/oddlylogical.com\/logical-forms\/docs\/dynamic-population\/\">Dynamic population<\/a> offers Disabled, Parameter, Current user. Its applicable Parameter name and User property controls select the initial source; submitted or cleared answers are not refilled.<\/p>\n<p><a href=\"https:\/\/oddlylogical.com\/logical-forms\/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>The answer is one sanitized plain-text string. Surrounding whitespace and unsupported text markup are cleaned by the normal text normalization. Labels, descriptions and placeholders are configuration, not separate submitted answers.<\/p>\n<p>Mask formatting preserves accepted literals and leading zeros. It checks the structure of an answer rather than verifying whether a reference exists. See <a href=\"https:\/\/oddlylogical.com\/logical-forms\/docs\/field-validation-and-masks\/\">validation and masks<\/a> for pattern syntax.<\/p>\n<h2 id=\"example\">Example and checks<\/h2>\n<p>For a short project title, set Label to Project title, enable Required and set Maximum characters to 80. Add a description explaining what makes a useful title rather than relying only on a placeholder.<\/p>\n<p>Test an empty answer, a title inside the limit and one above it. For a masked reference, test a complete and incomplete value. If a default is supplied, also clear it and confirm the cleared answer follows Required rather than silently returning to the default.<\/p>\n<p>Use <a href=\"https:\/\/oddlylogical.com\/logical-forms\/docs\/test-a-form\/\">the testing checklist<\/a> to check validation and the saved entry. <a href=\"https:\/\/oddlylogical.com\/logical-forms\/examples\/all-fields\/\">Explore all fields<\/a> provides live examples.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Collect a short plain-text answer with Logical Forms, including character limits, input masks, defaults, dynamic population and Pro duplicate checks.<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":100,"template":"","doc-categories":[14],"class_list":["post-160","doc","type-doc","status-publish","hentry","doc_category-fields"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Text field | Logical Forms Docs<\/title>\n<meta name=\"description\" content=\"Collect a short plain-text answer with Logical Forms, including character limits, input masks, defaults, dynamic population and Pro duplicate checks.\" \/>\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\/docs\/text-field\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Text field | Logical Forms Docs\" \/>\n<meta property=\"og:description\" content=\"Collect a short plain-text answer with Logical Forms, including character limits, input masks, defaults, dynamic population and Pro duplicate checks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/oddlylogical.com\/logical-forms\/docs\/text-field\/\" \/>\n<meta property=\"og:site_name\" content=\"Logical Forms\" \/>\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:\\\/\\\/oddlylogical.com\\\/logical-forms\\\/docs\\\/text-field\\\/\",\"url\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms\\\/docs\\\/text-field\\\/\",\"name\":\"Text field | Logical Forms Docs\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms\\\/#website\"},\"datePublished\":\"2026-11-19T08:54:34+00:00\",\"description\":\"Collect a short plain-text answer with Logical Forms, including character limits, input masks, defaults, dynamic population and Pro duplicate checks.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms\\\/docs\\\/text-field\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/oddlylogical.com\\\/logical-forms\\\/docs\\\/text-field\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms\\\/docs\\\/text-field\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation\",\"item\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Text field\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms\\\/#website\",\"url\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms\\\/\",\"name\":\"Logical Forms\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms\\\/?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":"Text field | Logical Forms Docs","description":"Collect a short plain-text answer with Logical Forms, including character limits, input masks, defaults, dynamic population and Pro duplicate checks.","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\/docs\/text-field\/","og_locale":"en_US","og_type":"article","og_title":"Text field | Logical Forms Docs","og_description":"Collect a short plain-text answer with Logical Forms, including character limits, input masks, defaults, dynamic population and Pro duplicate checks.","og_url":"https:\/\/oddlylogical.com\/logical-forms\/docs\/text-field\/","og_site_name":"Logical Forms","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/oddlylogical.com\/logical-forms\/docs\/text-field\/","url":"https:\/\/oddlylogical.com\/logical-forms\/docs\/text-field\/","name":"Text field | Logical Forms Docs","isPartOf":{"@id":"https:\/\/oddlylogical.com\/logical-forms\/#website"},"datePublished":"2026-11-19T08:54:34+00:00","description":"Collect a short plain-text answer with Logical Forms, including character limits, input masks, defaults, dynamic population and Pro duplicate checks.","breadcrumb":{"@id":"https:\/\/oddlylogical.com\/logical-forms\/docs\/text-field\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/oddlylogical.com\/logical-forms\/docs\/text-field\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/oddlylogical.com\/logical-forms\/docs\/text-field\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/oddlylogical.com\/logical-forms\/home\/"},{"@type":"ListItem","position":2,"name":"Documentation","item":"https:\/\/oddlylogical.com\/logical-forms\/docs\/"},{"@type":"ListItem","position":3,"name":"Text field"}]},{"@type":"WebSite","@id":"https:\/\/oddlylogical.com\/logical-forms\/#website","url":"https:\/\/oddlylogical.com\/logical-forms\/","name":"Logical Forms","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/oddlylogical.com\/logical-forms\/?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\/wp-json\/wp\/v2\/docs\/160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oddlylogical.com\/logical-forms\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/oddlylogical.com\/logical-forms\/wp-json\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/oddlylogical.com\/logical-forms\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/oddlylogical.com\/logical-forms\/wp-json\/wp\/v2\/docs\/160\/revisions"}],"predecessor-version":[{"id":161,"href":"https:\/\/oddlylogical.com\/logical-forms\/wp-json\/wp\/v2\/docs\/160\/revisions\/161"}],"wp:attachment":[{"href":"https:\/\/oddlylogical.com\/logical-forms\/wp-json\/wp\/v2\/media?parent=160"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/oddlylogical.com\/logical-forms\/wp-json\/wp\/v2\/doc-categories?post=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}