TextBox Group
(part of package 'Servoy Extra Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent
This is a reference page; many components have detailed usage guides here.
Properties
dataProviderID
Type: Dataprovider
enabled
Type: Enabled Default Value: true
faclass
Type: String
format
Type: Format
inputType
Type: String Default Value: "text"
inputValidation
Type: String Default Value: "text"
invalidEmailMessage
Type: String Default Value: "This is an invalid email address"
placeholderText
Type: String
readOnly
Type: Protected Default Value: false
styleClass
Type: Styleclass Default Value: "form-control"
tabSeq
Type: Tabseq
visible
Type: Visible
Events
onActionMethodID(event)
Parameters:
{JSEvent} event
onDataChangeMethodID(oldValue,newValue,event)
@return {boolean}
Parameters:
{${dataproviderType}} oldValue
{${dataproviderType}} newValue
{JSEvent} event
Returns: {Boolean}
onFocusGainedMethodID(event)
Parameters:
{JSEvent} event
onFocusLostMethodID(event)
Parameters:
{JSEvent} event
onRightClickMethodID(event)
Parameters:
{JSEvent} event
API
isValid()
Checks whether the current input is a valid email address or if the input is empty.
Returns: boolean Returns true if the input is valid (i.e., it is a valid email address or the input is empty); otherwise, false.
requestFocus(mustExecuteOnFocusGainedMethod)
Request the focus to this field.
Example:
Parameters:
{Boolean} [mustExecuteOnFocusGainedMethod] If false will not execute the onFocusGained method; the default value is true
Last updated
Was this helpful?