Provided that you use the correct naming conventions and layout for your buttons, you will not have any trouble.
The first thing that to look at when using radio buttons on our form is how the buttons need to be coded in order for them to function properly as radio buttons.
Forms allow users to submit data in many different ways.
A range of form input elements are available including text boxes, checkboxes, radio buttons, and submit buttons.
We need to check if it is equal to null or “” because different browsers act differently so its better to check for both the conditions.