1. Home
  2. Docs
  3. Form Field Types
  4. Numeric Field

Numeric Field

For any kind of form, numeric fields are a must. Numeric field for weForms lets you build and customize numeric fields as you require.

The most common numeric fields are salary, birthdate, and age. For an admin, this information is an important indicator of the demographics of its subscribers. weForms lets you include a numeric field in a snap, with its user-friendly interface.

Numeric field options

  • Field Label: Under this section, you write the title for your field. As a default, the field will flash Numeric Field as its label. But you can change it anytime. We recommend using short and precise labels.
  • Meta Key: The meta key field is set automatically. But you can change it if you want. Rule of thumb for Meta Key field never uses the same key for multiple fields.
  • Help Text: This field lets you add instructions. For an Age field, you may want to instruct your users to use their certificate birthdates. Put this instruction in the help text field before posting. And your users will see the instruction flashing at the bottom of the field.
  • Required: If you choose no, this field will become an optional field. The users may or may not fill it. But if you choose yes, every user must fill this field before submitting.

Advanced options

  • Placeholder Text: Advanced options not only lets you customize the form but also fine-tune it. By incorporating Placeholder text with Help text, you can make the instruction more effective. You may need the birth date information for every user. But how do you dictate the exact order in which you want the data? Simple! Go to Advanced Settings and fill out the Placeholder text with your required order. If you want the date to come first followed by month and year respectively, write DD/MM/YYYY in the placeholder field. You can add any order you like.
  • Default Value: Default value field lets you dictate a value that will appear in the database if the field is left blank.
  • Word Restriction: You may need your readers to elaborate on some points. But too many words may overwhelm your database. You can simply set a limit to the number of words.
  • Size: You can also set a limit by using this field. Pick an input number for the field and you are good to go.
  • CSS Class Name: Every WordPress generated web-page needs a style sheet language to project its data and other elements, in a certain format and layout. You can use separate formatting for separate parts of a single web-page. This can also be done to separate sections of your weForms generated form. With CSS Class Name you are able to do this.
  • Conditional Logic: This lets you decide what version of the form will be displayed to an individual. Conditional logic can be used to show or hide fields according to certain responses.

After you are done, save the form and click on the Preview option at the top right corner of your screen. It will open a new window with your form’s preview.

Was this article helpful to you? Yes No 1