Move this up to line 710 -- no point in getting the various fields if there are errors.