where the first argument is either a collection of radio buttons, or the name of the button group.
The second argument is a reference to the containing form, though its only necessary if a string is used for the first argument.
All you need to do is to provide the second group of radio buttons with a different name to that used for the first group.
The name field determines which group that a particular button belongs to.
The creation of multiple groups of radio buttons for the one form is also straightforward.We use return false; because when this function is called when the form is submitted and if this textbox is found empty the page shouldn’t be submitted so returning the boolean value false with prevent the form from being submitted.An HTML combobox shows a dropdown list of items from which one item is selected.By default the caption for that list is the first item.For example if you’re asking a user to select a country the first option is “Select a country” and the name of the countries follow so we need to check if the first option is selected and then display a message to select an option.