| << F.6.0- Option Buttons | AppendixF | F.6.2- Common Errors >> |
Name and Value
The NAME attribute identifies the group to which the button belongs. The results available to the response page will be identified by the NAME. The browser will make buttons with the same NAME mutually exclusive, and the name must be exactly the same for all of the options in a group. If your form page does not deselect the first choice when a second choice is selected, you've probably assigned, erroneously, different names within a group.
The VALUE attribute will be the text sent to identify which choice was made by the user. Each button within a group should have a unique value. Note that the VALUE is not visible to the user in the browser: the text that will be visible is outside the <INPUT… > tag.
Remember:
- NAME: same for all buttons in the group
- VALUE: different for each button in the group
- CHECKED: one button only in the group
- The QueryString will hold NAME=VALUE
| << F.6.0- Option Buttons | AppendixF | F.6.2- Common Errors >> |

RSS

