NumberField

Subclass of UnitField and returns a string response based on the annotated number.

{
  "type": "number",
  "field_id": "item_price",
  "title": "Item Price",
  "description": "Leave empty if not applicable.",
  "required": false,
  "use_slider": true,
  "min": 0,
  "max": 100
}

Parameter

Type

Default

Description

use_slider

boolean

false

Set to true to use a slider instead of textbox.

min

float

undefined

Sets the minimum value of the slider.

max

float

undefined

Sets the maximum value of the slider.

step

float

undefined

Sets the step value of the slider.