inputEx Documentation Back to homepage

### inputEx Documentation > inputEx.UpperCaseField 0.2.2

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

A field where the value is always uppercase

### Constructor

inputEx.UpperCaseField `( 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

#### onKeyPress

`onKeyPress(e)`
Call setvalue on input to update the field with upper case value
Parameters:

`e <Event>` - The original 'input' event

#### setValue

`setValue(val[,sendUpdatedEvt])`
Set the value and call toUpperCase
Parameters:

`val <String>` - The string

`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.Field:

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

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

`initEvents, updateTypeInvite, getValue, disable, setOptions, enable, validate, onFocus, renderComponent, focus, onKeyUp, 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:32 GMT using neyricjslibs-template.