From 1030f73d08a1e8ef6cac18e422a04b5d5c0b2133 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Mon, 5 Sep 2016 22:21:56 -0700 Subject: [PATCH] Re-added zeros field property. Reordered field properties. --- README.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 35bc44c..6a3ea09 100644 --- a/README.md +++ b/README.md @@ -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