Checkbox issue

MartijnAn

Registered User.
Local time
Today, 13:55
Joined
Sep 30, 2004
Messages
51
Hi All,

I have a continious form with checkboxes. How can I write code that users can only select one! checkbox?

regards, martijn
 
Do you mean that each record has more than 1 checkbox? If so, put a piece of code behind each checkbox that locks all the other checkboxes once it is ticked - ie say you have 3 checkboxes - chk1, chk2 and chk3 then behind chk1 put the following code after update of the check box:

if chk1.value = true then
chk2.locked = true
chk3.locked = true

else

chk2.locked = false
chk3.locked = false

end if

Amend and repeat for all checkboxes
 
Thanks for your reply.

I have only one checkbox before each record. And I don't want users, once they selected one record, to select another record.
 

Users who are viewing this thread

Back
Top Bottom