# inputEx-library

### inputEx 0.5.1

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

## Class inputEx.CombineField - extends inputEx.Group

Known Subclasses:
  inputEx.KeyValueField inputEx.DateSplitField inputEx.TimeIntervalField inputEx.DateTimeField inputEx.TimeField inputEx.DateSelectMonthField

A meta field to put N fields on the same line, separated by separators

### Constructor

inputEx.CombineField `( options )`

Parameters:
  `options <Object>` Added options:
  - separators: array of string inserted

#### Properties inherited from inputEx.Field:

`options`

### Methods

#### appendSeparator

`void appendSeparator ( )`
Add a separator to the divEl

#### getValue

`Array getValue ( )`
Specific getValue

Returns: `Array`
  An array of values [value1, value2, ...]

#### renderField

`void renderField ( fieldOptions )`
Override to force required option on each subfield

Parameters:
  `fieldOptions <Object>` The field properties as required by inputEx()

#### renderFields

`void renderFields ( )`
Render the subfields

#### setOptions

`void setOptions ( options )`
Set the default values of the options

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

#### setValue

`void setValue ( values , [sendUpdatedEvt] )`
Set the value

Parameters:
  `values <Array>` [value1, value2, ...]
  `[sendUpdatedEvt] <boolean>` (optional) Wether this setValue should fire the updatedEvt or not (default is true, pass false to NOT send the event)

#### 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.Group:

`clear, close, destroy, disable, enable, focus, getFieldByName, getFieldsStates, getValue, initEvents, onChange, render, renderField, renderFields, runAction, runFieldsInteractions, runInteractions, setErrors, setOptions, setValue, toggleCollapse, validate`

#### Events inherited from inputEx.Field:

`updatedEvt,`

Copyright © 2010 Eric Abouaf All rights reserved.