HTML

The Search for an Efficient Form Validator

Posted on

I’ve been working on a contact form for A6X. My plan was to do inline validation as well as serverside validation. Ideally, everything gets validated on the client end and the server just does a double check, instead of having to output an error message. My conditions were: the javascript validator needed to be HTML5-compatible […]

HTML

The (almost) Perfect Phone Regex

Posted on

While working on an inline form validation feature for A6X, I needed to be able to validate phone numbers. The phone regex with the plugin I was using was crappy and didn’t allow you to enter things such as an extension, or use (###) for the area code. Every validation plugin I used had, in […]