IMP web_date_warning README style

This commit is contained in:
Jared Kipe
2019-04-15 10:08:35 -07:00
parent 596b17bed8
commit e471d03f58
2 changed files with 14 additions and 10 deletions

View File

@@ -1,9 +1,11 @@
**Web Date Warning**
#Web Date Warning
Provides warnings for date field entries that fall outside of a user-specified range, with the goal of reducing data entry errors.
- For any date or date/time picker, set the threshold that should trigger the warning
- Allows you to set a threshold for past, future or both
- In addition to displaying warning text, will also display how many days in the past or future the selected date is
* For any date or date/time picker, set the threshold that should trigger the warning
* Allows you to set a threshold for past, future or both
* In addition to displaying warning text, will also display how many days in the past or future the selected date is
On a record with the date or date/time picket you wish to add the warning to, edit the form view and create an inherited view. Target the field name and include the following details:
@@ -16,6 +18,6 @@ On a record with the date or date/time picket you wish to add the warning to, ed
And/or `options="{'warn_past': 30}"` to set a threshold for past dates where 30 is the number of days
Example:
**Example:**
`<field name="date_invoice" widget="date-warn" options="{'warn_future': 90, 'warn_past': 30}"/>`

View File

@@ -7,12 +7,14 @@
'category': 'Tools',
'complexity': 'expert',
'description': """
**Web Date Warning**
#Web Date Warning
Provides warnings for date field entries that fall outside of a user-specified range, with the goal of reducing data entry errors.
- For any date or date/time picker, set the threshold that should trigger the warning
- Allows you to set a threshold for past, future or both
- In addition to displaying warning text, will also display how many days in the past or future the selected date is
* For any date or date/time picker, set the threshold that should trigger the warning
* Allows you to set a threshold for past, future or both
* In addition to displaying warning text, will also display how many days in the past or future the selected date is
On a record with the date or date/time picket you wish to add the warning to, edit the form view and create an inherited view. Target the field name and include the following details:
@@ -25,7 +27,7 @@ On a record with the date or date/time picket you wish to add the warning to, ed
And/or `options="{'warn_past': 30}"` to set a threshold for past dates where 30 is the number of days
Example:
**Example:**
`<field name="date_invoice" widget="date-warn" options="{'warn_future': 90, 'warn_past': 30}"/>`
""",