Phone¶
The Phone form element is used for a phone number value field with the phone keyboard layout.
Example¶
Kotlin¶
phone(1) {
value = "(555) 555-5555"
}
Java¶
List<BaseFormElement<?>> elements = new ArrayList<>();
FormPhoneEditTextElement phone = new FormPhoneEditTextElement(1);
phone.setValue("(555) 555-5555");
elements.add(phone);