< Back
You are here:
Print

4.2.03 float / read_float

Element to use for numeric data fields with decimals.

{
“display”: “Discount:”,
“tooltip”: “Discount for cash payment.”,
“fieldname”: “korting”,
“length”: 5,
“inputtype”: “float”,
“block”: 1,
“newline”: false,
“labelwidth”: 2,
“fieldwidth”: 2
}

  • display: label to display in front of the input box.
  • tooltip: help text to display when you hover above the input box.
  • fieldname: defines the name of the data field.
  • lenght: maximum length of the field. BOA will check this and gives a message when the lenght is exceeded.
  • inputtype: float or read_float
  • pattern: for client side validation.
  • block: the block number in which this should be displayed.
  • newline: if true it starts on a new line in the form, otherwise it stays on the same line.
  • labelwidth: width in columns of the label test.
  • fieldwidth: width in columns to be used for the input box.
Previous 4.2.02 int / read_int
Next 4.2.04 label
Table of Contents