inputEx Documentation Back to homepage

### inputEx Documentation > inputEx.EmailField 0.2.2

## Static Class inputEx.EmailField - extends inputEx.StringField

Field that adds the email regexp for validation. Result is always lower case.

### Constructor

inputEx.EmailField `( options )`

Parameters:
  `options <Object>` - inputEx.Field options object

### Properties

#### static groupOptions `- Object`

group Options for each field

#### options `- Object`

Configuration object to set the options for this class and the parent classes. See constructor details for options added by this class.

### Methods

#### getValue

`<String> getValue()`
Set the value to lower case since email have no case
Returns:

`<String>` The email string

#### setOptions

`setOptions(options)`
Set the email regexp and invalid message
Parameters:

`options <Object>` - Options object (inputEx inputParams) as passed to the constructor

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

`getEl, fireUpdatedEvt, show, close, onBlur, onChange, render, updatedEvt, getState, hide, displayMessage, destroy, isEmpty, clear,`

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

`initEvents, updateTypeInvite, disable, enable, setValue, validate, onFocus, renderComponent, focus, onKeyUp, onKeyPress, setClassFromState, getStateString,`

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