Difference between revisions of "Radio buttons"
From Team Developer SqlWindows Wiki
(New page: This page covers radio button tips & tricks. __TOC__ <br> <h2 style="margin:0;background-color:#ddcef2;font-size:120%;font-weight:bold;border:1px solid #afa3bf;text-align:left;color:#000...) |
DaveRabelink (Talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{PageHeader|Radio Button}} | |
+ | |||
__TOC__ | __TOC__ | ||
− | |||
− | < | + | |
− | Radiobuttons placed in a group | + | <!------------------------------------------------------------------------------------------------------------------------------> |
+ | {{TipHeader|How to set all radiobuttons in the same group to FALSE}} | ||
+ | Radiobuttons placed in a group always have one button which is set to TRUE.<br> | ||
It is not possible to set them all to FALSE.<br> | It is not possible to set them all to FALSE.<br> | ||
+ | |||
+ | |||
Use this trick : place a non-visual (hidden) radiobutton in the group and set it to TRUE.<br> | Use this trick : place a non-visual (hidden) radiobutton in the group and set it to TRUE.<br> | ||
− | Then all other visual radio buttons will show FALSE. | + | Then all other visual radio buttons will show FALSE.<br> |
+ | |||
+ | |||
+ | Consider also to have a visible radio button that is the "None" Option or not using radiobuttons at all, but CheckBoxes. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [[Category:Child Objects]] |
Latest revision as of 10:52, 29 October 2013
Radio Button
Contents |
How to set all radiobuttons in the same group to FALSE 
Radiobuttons placed in a group always have one button which is set to TRUE.
It is not possible to set them all to FALSE.
Use this trick : place a non-visual (hidden) radiobutton in the group and set it to TRUE.
Then all other visual radio buttons will show FALSE.
Consider also to have a visible radio button that is the "None" Option or not using radiobuttons at all, but CheckBoxes.