| |
|
|
|
 |
Home NewsBlogProducts Download Buy Now Documentation Support |
 |
 |
|
|
 |
| |

Contents
|
10. Trinidad Core Tag Reference
Contents > Trinidad Core Tag Reference > tr:validateDateRestriction
tr:validateDateRestriction |
|
The tr:validateDateRestriction tag validates a date field. See the invalidMonths, invalidDaysOfWeek, invalidDays attributes.
Example
<tr:validateDateRestriction></tr:validateDateRestriction>
HTML Output
(No output.)
|
Tag Attributes
| id |
Text |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| invalidDays |
Text |
| |
| The invalidDays attribute sets the days that are invalid by specifying a DateListProvider that returns a list of dates. |
| invalidDaysOfWeek |
Enumerated |
| |
| The invalidDaysOfWeek attribute sets the week days that are invalid in a space delimited list. Valid values are sun, mon, tue, wed, thu, fri, sat. |
| invalidMonths |
Enumerated |
| |
| The invalidMonths attribute sets the months that are invalid in a space delimited list. Valid values are jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec. |
| messageDetailInvalidDays |
Text |
| |
| The messageDetailInvalidDays attribute sets a custom error message with the parameters {0} for a label to identify the component, {1} for the value from the user and {2} the invalid date, when the input is not in the set of valid dates. |
| messageDetailInvalidDaysOfWeek |
Text |
| |
| The messageDetailInvalidDaysOfWeek attribute sets a custom error message with the parameters {0} for a label to identify the component, {1} for the value from the user and {2} the invalid day of the week, when the input is not in the set of valid days of the week. |
| messageDetailInvalidMonths |
Text |
| |
| The messageDetailInvalidMonths attribute sets a custom error message with the parameters {0} for a label to identify the component, {1} for the value from the user and {2} the invalid month, when the input is not in the set of valid months. |
|
|
|
| |
|