Simple here ... is there a clean way to prevent the user from double-clicking a button in a web form and thereby causing duplication of events?
If I had, for example, a comment form, and the user entered “this is my comment” and clicks the “Send” button, the comment is displayed below ... however, if they double-click, triple-click or the keyboard just goes crazy, they can release several versions.
On the client side, I could easily disable the onclick button - but I prefer server solutions for such things :)
Is there a timeout after return for one viewport that can be set, for example?
thanks
isNaN1247
source share