PersonNameEditText
Validation
Determining validation rules
val personNameField = findViewById(R.id.personNameField)
val rule : PersonNameRule = PersonNameRule.ValidationBuilder()
.setRegex("<VALIDATION_REGEX>")
.setAllowableMinLength(1)
.setAllowableMaxLength(24)
.build()
personNameField.setRule(rule)PersonNameEditText personNameField = findViewById(R.id.personNameField);
PersonNameRule rule = new PersonNameRule.ValidationBuilder()
.setRegex("<VALIDATION_REGEX>")
.setAllowableMinLength(1)
.setAllowableMaxLength(24)
.build();
personNameField.setRule(rule);Set field name
Define the required state
Specify the keyboard type
Additional XML attributes
Last updated

