PHP validation; turns out HTML5 validation doesn't work in Safari