Keyboard type

Depending on the data being entered, a mobile device is expected to display the keyboard that is appropriate for the data.

There are a variety of keyboard types for mobile devices. A field dedicated to phone number input is expected to display a keyboard specifically for phone number input.

The KEYBOARDHINT form field attribute provides a hint regarding the kind of data the form field contains:
ATTRIBUTES
EDIT f01 = customer.cust_phone, KEYBOARDHINT = PHONE;
...
Although Genero mostly respects the provided hint, the variable data type that is bound to the form field is also examined, to determine what keyboard to display:
  • If the field is defined as a DATE or DATETIME field, the date picker displays regardless of the KEYBOARDHINT setting.
  • If the field is a character string data, a text keyboard displays if KEYBOARDHINT=NUMBER for example.

For more details, see KEYBOARDHINT attribute.