Toyear (attribute of property)

From JRapid

(Redirected from Toyear)
Jump to: navigation, search

The "toyear" attribute is used for properties of type date to set the maximum year that can be entered into the field corresponding to the property.

Usage

 <property name=NAME label=LABEL type="date" toyear=YEAR />

Example

 <property display="secondary" label="Birthday " name="birthDay" required="required" toyear="2000" type="date" widget="selectdate"/>
Personal tools