Version 2: add client-side validation on radio buttons