Formidable Forms

Formidable Forms

  • Features
  • Pricing
  • Resources
    • Docs & Support
    • Blog
    • Community
  • Solutions
    • Web Applications
    • Calculators
    • Surveys
    • Directories
    • Payments
    • Contact forms
  • Login
  • Get Formidable Forms

Number

Last Updated: July 24, 2020

Knowledge Base → Forms → Form Building → Field Types → Number

A Number field is used for entering numbers and will only pass validation if the value entered is a number that falls within the designated range and step settings.
Number field

Formidable Forms is the best WordPress Form Builder plugin. Get it for free!

Standard field options

Number fields have the following standard options:
Number Field OptionsNumber Field Options

  • Field Type
  • Required
  • Unique
  • Read Only
  • Field Key
  • CSS Layout Classes
  • Label position
  • Field Size
— Premium Feature —
  • Visibility
  • Before & After Input
  • Conditional logic
  • Calculations
  • Lookup value

Field-specific options

In addition to the standard field options, Number fields have a 'Number Range' option. Read more about this option below.

Number range

This option is for browsers that support the HTML 5 number field. Enter the minimum and maximum values for your number field.

Number Range

The step setting will affect the types of numbers that are accepted. If you want to allow all numbers, including decimals, enter 'any' in the 'step' box.

  • If you want to accept only whole numbers, enter 1 in the 'step' box.
  • If you want to accept decimals, e.g. only 2 decimal places, enter .01 in the 'step' box.

Autocomplete attribute

This field setting allows you to set an autocomplete HTML attribute. The autocomplete attribute asks the browser to attempt autocompletion based on user history. Read more about the Autocomplete attribute.
Field Options Autocomplete
The options give context to autofill features in browsers. It is restricted to numbers, such that those options like Birth year at least but not Birthday. Note: The autocomplete attribute will be used in favor of an attribute found in custom HTML.

Default values and field icons

You may set a dynamic default value in your Dropdown field. If you would like to retrieve a value from an entry see the Get a Value From an Entry page. If you would like to set a default value with one of our dynamic shortcodes, see the Default Values page.

The default value icons can be used to specify whether the text in the box on the form builder page should be a default value or a placeholder. Learn how to set a default value, and how to set a placeholder in a text field.

Field action icons allows you to duplicate, delete, and/or move a field on the form builder page. See field action icons for more information.

Display Number fields

Display the value submitted in a Number field in a form's confirmation message, email, or View.

  • Display value

    Display the value submitted in a Number field.

    [x]

    Replace x with the ID or key of the Number field.

  • Decimal places

    Determine how many decimal places should be included in the displayed number.

    [x decimal=2]

    Replace x with the ID or key of the Number field.

  • Decimal point

    Determine which character should be used as the decimal point in the displayed number. By default, this will be a period.

    [x dec_point="."]

    Replace x with the ID or key of the Number field.

  • Thousands separator

    Determine which character should be used as the thousands separator in the displayed number. By default, this will be a comma.

    [x thousands_sep=","]

    Replace x with the ID or key of the Number field.

  • Display number as currency

    Format the number using the currency selected in the Formidable → Global settings. By default, this includes two decimal places.

    [x format=currency]

    Replace x with the ID or key of the Number field.

  • Standard field options
  • Field-specific options
    • Number range
    • Autocomplete attribute
  • Default values and field icons
  • Display Number fields
    • Display value
    • Decimal places
    • Decimal point
    • Thousands separator
    • Display number as currency
Categories
×

Categories

  • Installation & Getting Started
  • Account Management
  • Forms
  • Entries
  • Views
  • Styles
  • Importing & Exporting
  • Add-Ons
  • Extend Formidable Forms

Using WordPress and want to get Formidable Forms for free?

Get Formidable Forms Lite Now

You do not have permission to view this form. Maybe you need to log in?

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

Take on bigger projects Right Now

Get the tools you need to revolutionize your workflow and architect a masterpiece. Build the most advanced WordPress forms and actually use the data you collect in meaningful ways.

Get the most advanced WordPress form plugin and the only form builder with integrated Views.

Get Formidable Forms Now

Resources

  • Community
  • Affiliates
  • Contact
  • Free Online Form Builder

Top Features

  • Application Builder
  • Calculator Forms
  • Surveys & Polls
  • Quiz Maker
  • Form Templates
  • Application Templates
  • Directories
  • Donation Plugin

Company

  • About Us
  • Giving Back
  • Careers
  • Newsletter
  • WP Tasty
  • Nutrifox

Copyright © 2023 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.
Privacy Policy | Terms of Service | Sitemap

Join 300,000+ using Formidable Forms to create form-focused solutions fast. Get Started See User Reviews