inputText - Edit Box

Displays an input field for entering one line of data.


Core Controls


<xp:inputText attributes>content</xp:inputText>
Table 1. Essential properties
Property Description
id Defaults to inputText1, inputText2, and so on.
value Binds the edit box to a data element or other value.
Table 2. All properties
Category Properties
accessibility accesskey, role, tabindex, title
basics attrs, autocomplete, binding, dir, disabled, htmlFilter, htmlFilterIn, id, immediate, lang, loaded, maxlength, multipleSeparator, multipleTrim, password, readonly, redisplay, rendered, rendererType, required, size, type
data converter, defaultValue, disableClientSideValidation, disableModifiedFlag, disableValidators, showReadonlyAsDisabled, validator, validators, value, valueChangeListener, valueChangeListeners
dojo dojoAttributes, dojoType
events onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect
styling disableTheme, style, styleClass, themeId


At run time, an edit box appears on the page. The user can enter a line of text in the box.


This Edit Box control is bound to a field on a Domino® form.
<xp:inputText id="inputText1" value="#{document1.subject}"></xp:inputText>
This Edit Box control is bound to a scoped variable.
<xp:inputText id="inputText2" value="#{requestScope.subject}"></xp:inputText>