asmith Posted December 31, 2007 Share Posted December 31, 2007 i'm not sure, but i guess i accidently double cliced one of my forms buttons. and that caused my form to do something wierd (something that wasn't allowed to) . i tried to repeat that again but i couldn't . do you know what just happened ? same experience ? or how can i prevent something like this ? Quote Link to comment https://forums.phpfreaks.com/topic/83871-submit-button-double-click/ Share on other sites More sharing options...
p2grace Posted December 31, 2007 Share Posted December 31, 2007 Can you be a little more specific? What exactly did it do that it wasn't supposed to? Quote Link to comment https://forums.phpfreaks.com/topic/83871-submit-button-double-click/#findComment-426861 Share on other sites More sharing options...
asmith Posted January 1, 2008 Author Share Posted January 1, 2008 when a user post a comment fo the 2nd time , i warn the user. when the submit button pressed 2 times ( i still guess it was it , coz i can't repeat that ! ) it submitted 2 comments and a warn were given to the user . anyway is it possible that a submit button click 2 times at the same time ? Quote Link to comment https://forums.phpfreaks.com/topic/83871-submit-button-double-click/#findComment-427152 Share on other sites More sharing options...
p2grace Posted January 1, 2008 Share Posted January 1, 2008 It could if you allow users to login more than once at a time. If they open two windows and login through both, then type in a comment in both of them and press submit at the same time. Although I'd be surprised if anyone ever did that. If you are unable to to duplicate the error, and it's not happening often, it might not be worth trying to fix until it does. Otherwise you have no way of knowing if your fix worked. Quote Link to comment https://forums.phpfreaks.com/topic/83871-submit-button-double-click/#findComment-427365 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.