forms: Fix validation error display on web submit

Fixes osTicket/osTicket-1.8#203