If you are using cfmx 7 and cfform you can add " validate="submitonce" to your submit button. (see below)
<cfinput name="submit" value="Submit" type="submit" label="Submit" validate="submitonce" /> ---------------------------------------- From: Jeffrey Pratte <[EMAIL PROTECTED]> Sent: Monday, April 04, 2005 1:11 PM To: CF-Talk <cf-talk@houseoffusion.com> Subject: Submit Once Gang, I am occasionally getting duplicate records in my database. I think it is coming from people hitting â?oSubmitâ? twice when the server is slow. How do you guys prevent this? I tried some JavaScript code to disable the button, which did gray-out the button, but then did not pass the Button info along to Cold Fusion. Thanks for you help, Jeff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201407 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