<wtui:control type="WTUI.PlainTextControl"/>
The tag for WTUI.PlainTextControl
Example:
<wtui:control type="WTUI.PlainTextControl" id="usernameid" name="username" placeholder="Type username here"/>
- Parameters:
-
id <String>(optional) The id of the plain text control -
name <String>(optional) The name of the control if it is used within a form -
value <String>(optional) The value of the control -
placeholder <String>(optional) The placeholder text to put in the control -
allow <String>(optional) a regular expression defining which characters this control should allow -
multiline <String>(optional) set to yes for a multiline control -
onkeypress <Function>The function to call when a key is pressed