Forum Moderators: open

Message Too Old, No Replies

code for show only select one check box

         

Heeren

10:29 am on Aug 31, 2006 (gmt 0)

10+ Year Member



pleaes
how to check taht usre check only one check box and show the erroe msg if the user select both of them

MichaelBluejay

4:08 pm on Aug 31, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Um, if you're offering two mutually-exclusive options, then you should be using radio buttons, not checkboxes.

Radio buttons are for when there's only one valid choice.

Checkboxes are for when there are multiple valid choices.