You put the onsubmit on the <form> tag, and leave the input as is (although id break it out into a function but thatÂ’s just me)
..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Friday, March 10, 2006 11:33 AM To: CF-Talk Subject: SOT: Return Confirm I would like to include two onclick in the Input type below one is: <input type="checkbox" onclick="if ( this.checked ){copyData()}else{document.forms[0].reset();}" name="Spare" value="Yes"> Can I add: onSubmit="return confirm('Are you sure?'); to the top Input type? Do I put && between them? Thanks. Robert O. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.2.1/278 - Release Date: 3/9/2006 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235050 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

