Re-added zeros field property.

Reordered field properties.
This commit is contained in:
Erik C. Thauvin 2016-09-05 22:21:56 -07:00
parent 19b1ac4c4e
commit 1030f73d08

View file

@ -132,16 +132,18 @@ All are required, except `nodial` and `nosteps` which are mutually exclusive.
Fields represent the data entry text fields on option screens.
| Property | Description | Required |
|:---------|:------------------------------------------------------------------------------------------------------|:---------|
|`hint` | Set the hint/label of the field. | Yes |
|`size` | Set the size of the field. | Yes |
|`minSize` | Set the minimum size of the field. If set, `size` is the maximum size of the field. | No |
|`min` | Set the minimum value of a numeric field. | No |
|`max` | Set the maximum value of a numeric field. | No |
|`alpha` | Set to `true` for alphanumeric fields. | No |
|`digits` | Set digits that are allowed. (e.g. DKS uses `1234567` for days of the week: Sun=1... Sat=7) | No |
|`alt` | Set to `true` if the field accepts the `alt` [parameter](#parameters) value in place of a digit. | No |
| Property | Description | Required |
|:---------|:--------------------------------------------------------------------------------------------------------------------------------------------------------|:---------|
|`hint` | Set the hint/label of the field. | Yes |
|`size` | Set the size of the field. | Yes |
|`minSize` | Set the minimum size of the field. If set, `size` is the maximum size of the field. | No |
|`alpha` | Set to `true` for alphanumeric fields. | No |
|`min` | Set the minimum value of a numeric field. | No |
|`max` | Set the maximum value of a numeric field. | No |
|`digits` | Set digits that are allowed. (e.g. DKS uses `1234567` for days of the week: Sun=1... Sat=7) | No |
|`alt` | Set to `true` if the field accepts the `alt` [parameter](#parameters) value in place of a digit. | No |
|`zeros` | Set to `true` by default when the `type` [parameter](#parameters) is `dks`. Allows numeric values with leading zeros (e.g. `001`), based on the `size`. | No |
#### DTMF