form: properly detect "invalid" (422) responses
form: properly detect "invalid" (422) responses

This fixes a bug in detecting invalid (422) submission responses.
This previously caused any invalid responses to be treated as a
generic error response.

redding/romo,redding/romo,redding/romo