Edit style attributes
Edit presentation style attributes apply to an EDIT element.
This topic lists presentation style attributes for a specific class of form element, common presentation style attributes can also be used for this type of element.
customWidget
Defines the type of widget to be used to render the EDIT.
-
"phoneEdit": The edit field provides international phone number decoration and input features, by displaying flags representing the country code. The phone edit widget displayed value will follow the country’s phone format. When typing or when the field contains the value+41446681800, the widget will display the flag of Switzerland, and the formatted phone number44 668 18 00. In the .per file, consider to define the form field that is large enough for those additional spaces. This type of widget can be used in conjunction with the field autocompletion feature, if needed. If the dialog controlling the field is aCONSTRUCT, the widget will be a regular edit box, to allow any search criteria input. Read also Phone number fields. -
"tagEdit": The edit field allows multiple-value input in the same editor widget. To propose values to the end user, this type of widget can be used in conjunction with the field autocompletion feature. The tag edit widget renders multiple labels in individual graphical elements, that can be removed with the[x]cross buttons. New values can be added by the end user, if the autocompletion code allows it. If the dialog controlling the field is aCONSTRUCT, the widget will be a regular edit box, to allow any search criteria input. See also Multi-valued fields.
allowTagCreation
The allowTagCreation style attribute can be used to control additional tag
creation in a tag field defined with the customWidget "tagEdit".
Values can be "yes" (default), "no".
By default, or when set to "yes", the tag edit allows the creation of new
values, in addition to the existing values proposed by the autocompletion.
When set to "no", the tag edit denies new value creation, and the user can only
choose values from the autocompletion, if it is implemented for this field.
showVirtualKeyboard
Defines how the virtual keyboard must appear on mobile devices.
Values can be:
"onFocus"(default): The virtual keyboard shows up when the edit widget gets the focus on a user tap or a programNEXT FIELDinstruction."onTap": The virtual keyboard only shows up when the user taps on the edit widget.