Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


This is what you'll see after typing "abc" and clicking the Create Address button.

Note

Modern browsers will automatically validate a regexp field when the form is submitted, as shown above. Older browsers do not have that automatic support, but will still validate input, using the same decorations as for the required fields in the previous screenshot.

In any case, that's the right validation behavior, but it's the wrong message. Your users are not going to know or care about regular expressions.

...