Handle invalid HTML submissions