Error messages and form error highlighting only shown after submit