Contact form's browser and server validation disagree, causing confusing rejections
A developer found that the contact form on the Notifio help page checks inputs differently in the browser than on the server. The browser relies only on HTML required and email attributes, while the server runs seven checks in sequence. Testing showed the server rejects addresses like a@b that the browser accepts as valid. The server also rejects whitespace-only fields with an error naming all three fields, and enforces a 5,000-character message limit that the textarea neither displays nor enforces.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in