Bixby Developer Center

References

on-error

optionalvalue optional

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".

Examples

pattern {
email {
on-error ("Input a valid email address")
}
}
pattern{
regex ("\\d{5}\\") {
on-error ("Input a valid US Zip Code")
}
}

Child Keys

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