broken version where radio buttons are not independent and javascript validation does not seem to work