Accessing the value of a radio button set is not an easy task. Values from text input fields can be easily retrieved easily by just making use of [document.formname.textinputfiledname.value]. But radio button set’s value cannot be retrieved using this method.
This article shows how to get the value of a radio button set.