# inputEx-library

### inputEx 0.5.1

inputEx-library > inputEx > inputEx.EmailField
Search:
Filters Show Private Show Protected Show Deprecated

## 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 inherited from inputEx.Field:

`options`

### Methods

#### getValue

`String getValue ( )`
Set the value to lower case since email have no case

Returns: `String`
  The email string

#### setOptions

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

Parameters:
  `options <Object>` Options object as passed to the constructor

#### Methods inherited from inputEx.Field:

`clear, close, destroy, disable, displayMessage, enable, fireUpdatedEvt, focus, getEl, getParentField, getState, getStateString, getValue, hide, initEvents, isDisabled, isEmpty, onBlur, onChange, onFocus, render, renderComponent, setClassFromState, setFieldName, setOptions, setParentField, setValue, show, validate`

#### Methods inherited from inputEx.StringField:

`disable, enable, focus, getStateString, getValue, initEvents, isDisabled, onFocus, renderComponent, setClassFromState, setFieldName, setOptions, setValue, validate`

#### Events inherited from inputEx.Field:

`updatedEvt,`

Copyright © 2010 Eric Abouaf All rights reserved.