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

pbrown063 created an issue. See original summary.

pbrown063’s picture

Assigned: Unassigned » pbrown063
pbrown063’s picture

Status: Postponed » Active
pbrown063’s picture

Status: Active » Closed (works as designed)

Tested using a fresh lando install.

pbrown063’s picture