Jump to content

Recommended Posts

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 ?

Link to comment
https://forums.phpfreaks.com/topic/83871-submit-button-double-click/
Share on other sites

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 ?

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.