store location of select fields for better error messages