Validating multiple groups

To associate the text with its corresponding radio button so that clicking on the text will select that button, we need to make a further addition to the code for each button by surrounding the entire button and its associated text within a label.

validating multiple groups-29validating multiple groups-56

The setup and validation of radio buttons appears to be the form field that gives many webmasters the most difficulty in setting up.

The value that will be passed for a specific group when the form is submitted will be the value of the button within the group that is selected at the time that the form is submitted.

In order for the person filling out the form to understand what each radio button in our group does, we need to provide descriptions for each button.

You can assign any name to a validation group, but you must use the same name for all members of the group.

During postback, the property is set based only on the validation controls in the current validation group.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “validating multiple groups”

  1. If this assumption is not true, then the method will give incorrect dates. If the production rate of C in a specimen difficult or impossible to accurately determine. Willard Libby, the founder of the carbon-14 dating method, assumed this ratio to be constant.