type - Type (input control)
Specifies the type of input control.
Category
basicsSyntax
type="text|color|date|datetime|datetime-local|month|week|time|email|number|range|search|tel|url"
Usage
In Design mode, click All Properties and look for type under basics.This
property defaults to text
which is the standard Edit
Box control.
You are not restricted to the types listed in the
syntax. However, avoid using this property for standard XPage controls.
In particular, you should not specify checkbox
(Check
Box control), file
(File Upload control), hidden
(Hidden
Input control), or radio
(Radio Button control).
Examples
This Edit Box of is of typeemail
.<xp:inputText id="inputText3" type="email">
<xp:this.attrs>
<xp:attr name="placeholder" value="a@b.com"></xp:attr>
</xp:this.attrs>
</xp:inputText>