> Hi Folks, > > Using CF8: > > I have a results entry form and if the user hits submit more than once > the result is submitted more than once, how would I stop the user > being able to submit more than once.. > > Yes I know a real newbie question :) > > Thanks for any feedback you can give.
You can do this with Javascript or if you're using CF7 or later you can do this with cfinput. Here's a short discussion of 2 approaches: http://www.coldfusioncookbook.com/entry/25/How-do-you-stop-users-from-clicking-the-submit-button-more-than-once? Here's what I usually do: <INPUT TYPE="Button" VALUE="Submit" onClick="if(this.value == 'Submit') this.form.submit(); this.value = 'Please Wait.';this.disabled=true;"> hth, larry -- Larry C. Lyons Web Analyst BEI Resources American Type Culture Collection http://www.beiresources.org email: llyons(at)atcc(dot)org tel: 703.365.2700.2678 -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293645 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

