Try Javascript - use the onChange event for the "Check All" box to execute a
JS function that checks all the other boxes.
Brian
-----Original Message-----
From: Bosky, Dave [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 3:08 PM
To: CF-Talk
Subject: checking multiple boxes w/single button?
I have a form containing a dynamic list of checkboxes that
are used to delete messages. I already have a button that
will delete all checked mail but my question is how do I
make a button that will automatically put a check in each box?
<!-----
<form name="msglist" action="" method="">
<cfoutput query= "msgs">
<input type="checkbox" name="MsgsToDelete" value="#MessageNumber#">
</cfoutput>
<input type="button" value="CheckMail" onClick="checkAll();">
<form>
---->
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists