Error message to display if the text inputted by user does not match the expected pattern. The default message for email is "Enter a valid email address". The default error message for regex is "Invalid input for text field".
pattern {
email {
on-error ("Input a valid email address")
}
}
pattern{
regex ("\\d{5}\\") {
on-error ("Input a valid US Zip Code")
}
}
macro optional | Defines a layout, a portion of a layout, or a dialog with a macro |
template optional | Text to be passed |
template-macro optional | Encapsulates dialog logic that normally would lead to duplication |
Copyright 2024 Samsung All rights reserved