Connecting Tech Pros Worldwide Forums | Help | Site Map

mutually exclusive check boxes

arun@visrez.com
Guest
 
Posts: n/a
#1: Dec 15 '06
Hi

Can any one suggest me how to access the mutually exclusive check boxes
in a table of 7 rows by 14 columns. Only one can be selected in each
row. Other than checking each one with if condition is there any other
way( for example by using their keys or something). Please help me.

Arun


Mark Rae
Guest
 
Posts: n/a
#2: Dec 15 '06

re: mutually exclusive check boxes


<arun@visrez.comwrote in message
news:1166198941.930639.221180@t46g2000cwa.googlegr oups.com...
Quote:
Can any one suggest me how to access the mutually exclusive check boxes
in a table of 7 rows by 14 columns. Only one can be selected in each
row. Other than checking each one with if condition is there any other
way( for example by using their keys or something). Please help me.
Well, at the risk of stating the bleeding obvious, that's what radio buttons
are for...


Marina Levit [MVP]
Guest
 
Posts: n/a
#3: Dec 15 '06

re: mutually exclusive check boxes


It sounds like you should be using radio buttons to me.

<arun@visrez.comwrote in message
news:1166198941.930639.221180@t46g2000cwa.googlegr oups.com...
Quote:
Hi
>
Can any one suggest me how to access the mutually exclusive check boxes
in a table of 7 rows by 14 columns. Only one can be selected in each
row. Other than checking each one with if condition is there any other
way( for example by using their keys or something). Please help me.
>
Arun
>

arun@greettech.com
Guest
 
Posts: n/a
#4: Dec 15 '06

re: mutually exclusive check boxes


Thanks for your fast action.

But in this case I have to leave a row with no option checked (if a
user wants to do that).

Marina Levit [MVP] wrote:
Quote:
It sounds like you should be using radio buttons to me.
>
<arun@visrez.comwrote in message
news:1166198941.930639.221180@t46g2000cwa.googlegr oups.com...
Quote:
Hi

Can any one suggest me how to access the mutually exclusive check boxes
in a table of 7 rows by 14 columns. Only one can be selected in each
row. Other than checking each one with if condition is there any other
way( for example by using their keys or something). Please help me.

Arun
arun@greettech.com
Guest
 
Posts: n/a
#5: Dec 15 '06

re: mutually exclusive check boxes


Hi

First of all I am sorry to post the same message again and again. I
didnt do that intensionally. But I would have appreciated your answer
if it was more helpful to me. And as you told this is not at all a
private web. Thanks for opening my eyes

Mark Rae wrote:
Quote:
<arun@visrez.comwrote in message
news:1166198941.930639.221180@t46g2000cwa.googlegr oups.com...
>
Quote:
Can any one suggest me how to access the mutually exclusive check boxes
in a table of 7 rows by 14 columns. Only one can be selected in each
row. Other than checking each one with if condition is there any other
way( for example by using their keys or something). Please help me.
>
Well, at the risk of stating the bleeding obvious, that's what radio buttons
are for...
Mark Rae
Guest
 
Posts: n/a
#6: Dec 15 '06

re: mutually exclusive check boxes


"arun@greettech.com" <arun@visrez.comwrote in message
news:1166201902.724178.238870@j72g2000cwa.googlegr oups.com...
Quote:
But in this case I have to leave a row with no option checked (if a
user wants to do that).
Why didn't you say that in the first place...?

So why not have an additional radio button called "None" or something
similar...?


Eliyahu Goldin
Guest
 
Posts: n/a
#7: Dec 17 '06

re: mutually exclusive check boxes


I personally don't like introducing extra gui elements just to make the
developer's job easier. I would likely handle client-side onclick event to
unclick all the checkboxes but the one that caused the event.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]


"Mark Rae" <mark@markNOSPAMrae.comwrote in message
news:udxPT7GIHHA.3952@TK2MSFTNGP02.phx.gbl...
Quote:
"arun@greettech.com" <arun@visrez.comwrote in message
news:1166201902.724178.238870@j72g2000cwa.googlegr oups.com...
>
Quote:
>But in this case I have to leave a row with no option checked (if a
>user wants to do that).
>
Why didn't you say that in the first place...?
>
So why not have an additional radio button called "None" or something
similar...?
>

Mark Rae
Guest
 
Posts: n/a
#8: Dec 17 '06

re: mutually exclusive check boxes


"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.orgwrote in
message news:e4F05nbIHHA.1008@TK2MSFTNGP06.phx.gbl...
Quote:
>I personally don't like introducing extra gui elements just to make the
>developer's job easier. I would likely handle client-side onclick event to
>unclick all the checkboxes but the one that caused the event.
But to do that completely flies in the face of "accepted" GUI standards...
Checkboxes are not designed to be mutually exclusive - that's what radio
buttons are for...


Eliyahu Goldin
Guest
 
Posts: n/a
#9: Dec 17 '06

re: mutually exclusive check boxes


Could be. Not the biggest crime though. Somehow the idea of a
"none-or-one-only" checkbox group doesn't upset my usability sense.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]


"Mark Rae" <mark@markNOSPAMrae.comwrote in message
news:OGiJAZdIHHA.3424@TK2MSFTNGP02.phx.gbl...
Quote:
"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.orgwrote in
message news:e4F05nbIHHA.1008@TK2MSFTNGP06.phx.gbl...
>
Quote:
>>I personally don't like introducing extra gui elements just to make the
>>developer's job easier. I would likely handle client-side onclick event to
>>unclick all the checkboxes but the one that caused the event.
>
But to do that completely flies in the face of "accepted" GUI standards...
Checkboxes are not designed to be mutually exclusive - that's what radio
buttons are for...
>

Closed Thread