One issue I'm facing with my form is that sometimes when a user sends it, the submission occurs multiple times - 2, 3, 4 times or even more, instead of just once.
Even after setting the button to disabled, the problem persists and multiple submissions continue to happen.
I am completely clueless about what might be going wrong here. If disabling the button doesn't work, then what other steps should I take?
<form class="form-horizontal" id="AjanlatForm" method="post">
<div class="form-group">
<label class="col-md-3 control-label ajanlat_label" >Your Name:</label>
<div class="col-md-8">
<input id="AjanlatNev" name="AjanlatNev" type="text" class="form-control input-md">
</div>
</div>
<!-- More form fields follow -->
</form>
$(document).ready(function(e) {
$('.fancybox').fancybox();
$("#AjanlatKeresBtn").click(function()
{
// JavaScript code handling form submission
});
});