I first thought that this was an issue with people clicking the submit button twice....
but it's just another case of THINGS YOU CAN'T CONTROL. Here is something you can do. On that add new member page, write a javascript to clear all the fields, you know, when the page loads (ex. use onload event) That way, when the user clicks back to the page, everything will be cleared from the form, and they can't submit anything! :0) How does that sound? -----Original Message----- From: Bob Haroche [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 3:32 PM To: CF-Talk Subject: Preventing User from Re-submitting "Add Record" Form I've a simple membership app which allows a user to add a new member record. Once the record is added, the user is sent to a page displaying the results of the data provided. If the user has inputted incorrect data, this confirmation page has a link to update the newly added record. That's all fine. But here's the problem: if the user instead uses the browser back button, they're returned to the "Add New Record" page where they can change the information previously provided. Once they re-submit that form, of course, the original record is not updated but instead a second, new record is created. How do I best prevent the user from re-submitting the "Add New Member" form when what they really need to do is use the "Edit Member record" form. A google search reveals the existence of a "Submit Once" CF custom tag, which might help(?), but it's no longer available on the MM site. TIA. Regards, Bob Haroche O n P o i n t S o l u t i o n s www.OnPointSolutions.com ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

