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

