Questions tagged [double-submit-prevention]

49 questions
0
votes
2 answers

How to prevent a user holding the enter key on a form from slamming my site with requests?

I have the following jquery code in use to submit a form if the enter key is pressed: $('body').on('keypress', 'input', function(event) { if (event.which === 13) { event.preventDefault(); $(this).closest('form').submit(); …
chrickso
  • 2,994
  • 5
  • 30
  • 53
0
votes
1 answer

Why is JBoss Post Form sending parameters in URL?

Our JBoss form is posting the parameters in the URL instead of in the request despite being a POST form. I have confirmed that the form is post in the actual page using Firebug. Note that this is within a portlet. We are submitting the form using…
Adam
  • 3,675
  • 8
  • 45
  • 77
-1
votes
1 answer

how to stop form submition on enter key?

I don't want to submit form. When I press enter on textbox my form is submited and reloaded automatically. How to stop submiting form? My code is.
-5
votes
1 answer

prevent re-inserting data

Hello everyone dose anyone know any tutorials that explain how to using sessions to prevent re-inserting data or some other form of method in a form. And if u have any suggestions in how to do this do not hesitate to post your ideas tnx in advance.
Edvinas Liutvaitis
  • 575
  • 5
  • 9
  • 20
1 2 3
4