TextInputDialog:setInputType
From GiderosMobile
Available since: Gideros 2012.8
Class: TextInputDialog
Description
Sets the input (keyboard) type associated with the text field.
TextInputDialog:setInputType(type)
The options are:
- TextInputDialog.TEXT: default keyboard type
- TextInputDialog.NUMBER: numeric keypad
- TextInputDialog.PHONE: keypad designed for entering telephone numbers
- TextInputDialog.EMAIL: keyboard optimized for specifying email addresses
- TextInputDialog.URL: keyboard optimized for URL entry
Parameters
type: (string) input type associated with the text field