inputEx Documentation Back to homepage

inputEx Documentation > inputEx.DateField 1.0.0

Class inputEx.DateField - extends inputEx.StringField

Known Subclasses:
inputEx.FrenchDate
A Date Field. Add the folowing options: - dateFormat: default to 'm/d/Y'

Constructor

inputEx.DateField ( options )
Parameters:
options <Object>  - inputEx.Field options object

Methods

getValue

getValue()
Return value in DATETIME format (use getFormattedValue() to have 04/10/2002-like format)

setValue

setValue(val)
Format the date according to options.dateFormat param {Date} val Date to set
Parameters:
    val

validate

validate()
Specific Date validation




Copyright (c) 2008 Eric Abouaf. All rights reserved.
Generated by JsDoc Toolkit 1.4.1 on Wed, 07 May 2008 10:26:29 GMT.