Run form-level validation only when every form's field is valid.

Change-Id: Ie46f5d27f21f6ddfc1e2cb86e081bea14e1099f4
Fixes: bug MRN-931.