The error message for a failed validation is currently configurable.
- Allow the user who is setting this variable from the configuration page to add a wildcard for email domain.
- Change the variable description so that it is obvious that this is possible
- Update the help page to reflect these changes
For example:
If the error message is set to:
"The email domain !email_domain that you have entered is not valid. Please enter an email address with a valid domain."
then the error displayed would be:
"The email domain @baddomain.com that you have entered is not valid. Please enter an email address with a valid domain."
This will require changes to be made in code to how this variable is generated and displayed.
Comments
Comment #2
pbrown063 commentedComment #3
pbrown063 commentedComment #4
pbrown063 commentedTested using a fresh lando install.
Comment #5
pbrown063 commented