inputEx Documentation Back to homepage

### inputEx Documentation > inputEx.DateTimeField 0.2.2

## Static Class inputEx.DateTimeField - extends inputEx.CombineField

A field limited to number inputs (floating)

### Constructor

inputEx.DateTimeField `( options )`

Parameters:
  `options <Object>` - Added options
  - dateFormat: same as DateField

### Methods

#### getValue

`<Date> getValue()`
Concat the values to return a date
Returns:

`<Date>` The javascript Date object

#### setValue

`setValue(val[,sendUpdatedEvt])`
Set the value of both subfields
Parameters:

`val <Date>` - Date to set

`sendUpdatedEvt <boolean>` optional - (optional) Wether this setValue should fire the updatedEvt or not (default is true, pass false to NOT send the event)

#### Methods inherited from class inputEx.CombineField:

`setOptions, renderField, setClassFromState, renderComponent, appendSeparator, validate, isEmpty, clear,`

Copyright (c) 2007-2009 Eric Abouaf. All rights reserved.
Generated by JsDoc Toolkit 2.0.0 on Wed, 04 Mar 2009 15:41:30 GMT using neyricjslibs-template.