

the validated entries collection returns any valid form data when the form fails validation.
you assessment of the code is correct, though I think it would only be using an array search for a multiple select list, or checkbox group, not for a radio group which can only ever have one item checked.