Updates error handling in Form