{"id":170,"date":"2026-11-19T08:54:36","date_gmt":"2026-11-19T08:54:36","guid":{"rendered":"https:\/\/oddlylogical.com\/logical-forms\/?post_type=doc&#038;p=170"},"modified":"2026-11-23T00:00:18","modified_gmt":"2026-11-23T00:00:18","slug":"number-field","status":"publish","type":"doc","link":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/number-field\/","title":{"rendered":"Number field"},"content":{"rendered":"<p>Use Number for a quantity or decimal amount on which numeric rules should apply. Use Text for identifiers such as account codes that must keep leading zeros or do not represent a quantity.<\/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>Number<\/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<\/td>\n<td>Optional inclusive minimum. Blank means no lower bound.<\/td>\n<\/tr>\n<tr>\n<td>Maximum<\/td>\n<td>Optional inclusive maximum. Blank means no upper bound; it must not be below Minimum.<\/td>\n<\/tr>\n<tr>\n<td>Step<\/td>\n<td>Any permits unrestricted decimals within field capacity. Otherwise enter a positive increment, such as 1 or 0.01. Its base is Minimum when set, otherwise Default value when set, otherwise zero.<\/td>\n<\/tr>\n<tr>\n<td>Enable calculation<\/td>\n<td>Pro: turns this Number into a read-only calculated result.<\/td>\n<\/tr>\n<tr>\n<td>Formula<\/td>\n<td>Pro: arithmetic expression using eligible Number references, for example <code>{field:1} * {field:2}<\/code>.<\/td>\n<\/tr>\n<tr>\n<td>Round to<\/td>\n<td>Pro: Round to accepts 0\u201330 decimal places and defaults to 2. These calculation controls are managed in the Calculation dialog.<\/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 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. Its applicable Parameter name and User property controls select the initial source; 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>The value is normalized to a canonical decimal string: <code>0012.500<\/code> becomes <code>12.5<\/code>, and negative zero becomes zero. Currency symbols, grouping separators and exponent notation are not accepted as ordinary decimals. Zero is nonempty.<\/p>\n<p>A step of 1 with Minimum 0.2 accepts 0.2, 1.2 and 2.2. Step is not a displayed decimal-places setting. For calculated results, Default value, Dynamic population and Step are inactive while calculation is enabled; bounds and Required still apply. See <a href=\"\/docs\/number-calculations\/\">the calculation guide<\/a>.<\/p>\n<h2 id=\"example\">Example and checks<\/h2>\n<p>For a whole-number quantity, set Minimum to 1 and Step to 1. Choose a suitable maximum and enable Required if a value must be entered. Test 1, a fractional value and an out-of-range value.<\/p>\n<p>For decimals, use a matching increment such as 0.25 and check the starting base. Accepted values appear as numbers in entries and CSV; the field does not add a currency symbol or guarantee a fixed number of trailing zeros.<\/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","protected":false},"excerpt":{"rendered":"<p>Collect numeric values in Logical Forms with inclusive bounds and exact decimal increments, or add a Pro calculation for a read-only result.<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":105,"template":"","doc-categories":[14],"class_list":["post-170","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>Number field | Logical Forms Docs<\/title>\n<meta name=\"description\" content=\"Collect numeric values in Logical Forms with inclusive bounds and exact decimal increments, or add a Pro calculation for a read-only result.\" \/>\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\/number-field\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Number field | Logical Forms Docs\" \/>\n<meta property=\"og:description\" content=\"Collect numeric values in Logical Forms with inclusive bounds and exact decimal increments, or add a Pro calculation for a read-only result.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/number-field\/\" \/>\n<meta property=\"og:site_name\" content=\"Logical Forms\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-23T00:00:18+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:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/number-field\\\/\",\"url\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/number-field\\\/\",\"name\":\"Number field | Logical Forms Docs\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/#website\"},\"datePublished\":\"2026-11-19T08:54:36+00:00\",\"dateModified\":\"2026-11-23T00:00:18+00:00\",\"description\":\"Collect numeric values in Logical Forms with inclusive bounds and exact decimal increments, or add a Pro calculation for a read-only result.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/number-field\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/number-field\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/number-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\":\"Number 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":"Number field | Logical Forms Docs","description":"Collect numeric values in Logical Forms with inclusive bounds and exact decimal increments, or add a Pro calculation for a read-only result.","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\/number-field\/","og_locale":"en_US","og_type":"article","og_title":"Number field | Logical Forms Docs","og_description":"Collect numeric values in Logical Forms with inclusive bounds and exact decimal increments, or add a Pro calculation for a read-only result.","og_url":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/number-field\/","og_site_name":"Logical Forms","article_modified_time":"2026-11-23T00:00:18+00:00","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-old\/docs\/number-field\/","url":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/number-field\/","name":"Number field | Logical Forms Docs","isPartOf":{"@id":"https:\/\/oddlylogical.com\/logical-forms-old\/#website"},"datePublished":"2026-11-19T08:54:36+00:00","dateModified":"2026-11-23T00:00:18+00:00","description":"Collect numeric values in Logical Forms with inclusive bounds and exact decimal increments, or add a Pro calculation for a read-only result.","breadcrumb":{"@id":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/number-field\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/oddlylogical.com\/logical-forms-old\/docs\/number-field\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/number-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":"Number 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\/170","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":2,"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/docs\/170\/revisions"}],"predecessor-version":[{"id":468,"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/docs\/170\/revisions\/468"}],"wp:attachment":[{"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/media?parent=170"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/doc-categories?post=170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}