Improve form submit error messages.