Adds in regex matching and error reporting on each form submission