In JS you can loop over the form elements and look at their type whether or
not they are checked....
keep a counter running.. when it hits 3, take care of business...


I don't have exact code handy but just google it.


Mike

-----Original Message-----
From: Ketan Patel [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2003 10:52 AM
To: CF-Talk
Subject: Limit checkbox selection using CF & JS

Hi,
Does anybody have any JS or CFscript which will limit selection of
checkboxes from the  dynamic created form. I have a form which has some
checkboxes created dynamically depending upn the query results. I want to
limit selection to 3 only .

Thanks in advance.

Ketan Patel
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to