Number Fields

Number fields are a specialized field type that only accepts numbers. Additionally, you can easily specify a default range of accepted values.

Field settings

To edit a number field

  1. Select the field on the canvas, and the options will appear in the right pane.
  2. Under Field label, enter the field label that will appear next to the field on the form. Click the Insert variables button to insert a variable into the label.
  3. Under Variable, specify a name for the field variable associated with this field. If you do not specify a variable name, Laserfiche will automatically assign a variable name based on the field label.
  4. Type additional text above and below the field in Text above field and Text below field. Click the Insert variables button to insert a variable into the text.
  5. Specify additional details about the field in Display Options.
    • Select Required to ensure the user completes the field. If a required field is hidden with a field rule, it is no longer required.
    • Select Read-only to ensure the user cannot modify the field. They can still view the field unless you hide it using custom JavaScript.
    • Select the Accept barcode scan option to allow Laserfiche App devices to automatically insert a value into the field by scanning a barcode.
  6. Under Default value, enter the value that will appear in the field by default. If this option is blank, the field will appear empty by default.
  7. To configure advanced options, click the Advanced tab.
    • Under Range Limiting, specify the minimum and maximum accepted values.
    • In Decimals, specify the number of decimal places that will be shown on the form. You can store up to 30 places in a variable. 0 is the default.
    • Under Tooltip, specify the help text that will appear when users hover over the field. Click the Insert variables button to insert a variable into the text.
    • Under CSS class, specify a CSS class to assign to this field.
  8. Click Save to save your changes.

Note: The labels, tooltip, text above, and text below settings support the use of simple HTML markup for formatting purposes.

  1. Select the field on the canvas and click Edit.
  2. Under Field label, enter the field label that will appear next to the field on the form. Click the Insert variables button to insert a variable into the label.
  3. Under Variable, specify a name for the field variable associated with this field. If you do not specify a variable name, Laserfiche will automatically assign a variable name based on the field label.
  4. Specify additional details about the field in Field options.
    • Select Required to ensure the user completes the field. If a required field is hidden with a field rule, it is no longer required.
    • Select Read-only to ensure the user cannot modify the field. They can still view the field unless you hide it using custom JavaScript.
  5. Type additional text above and below the field in Text above field and Text below field. Click the Insert variables button to insert a variable into the text.
  6. Specify the width of the field on the page in Field width.
  7. Under Range allowed, specify the minimum and maximum accepted values.
  8. In Decimals, specify the number of decimal places that will be shown on the form. You can store up to 30 places in a variable. 0 is the default.
  9. Under Number display, select the checkbox to separate every three digits with a comma, as in "1,000" and "1,000,000".
  10. Under Default value, enter the value that will appear in the field by default. If this option is blank, the field will appear empty by default.
  11. To configure advanced options, click the Advanced tab.
    • Under Tooltip, specify the help text that will appear when users hover over the field. Click the Insert variables button to insert a variable into the text.
    • Under CSS class, specify a CSS class to assign to this field.
  12. Click Done to save your changes.