When submitting the form disable the button to prevent double send.
<?php
// vim:set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker syntax=php:
-$GLOBALS['bottomScripts'][] = MEDIA_BASE_URL . 'js/PassportForm.js?v=1.0.0';
+$GLOBALS['bottomScripts'][] = MEDIA_BASE_URL . 'js/PassportForm.js?v=1.0.1';
/**
* File Doc Comment
*
PassportForm.pass_type = pass_type_selected.val();
PassportForm.qty = qty.val();
setPassportPrice();
+
+ // Disable the submit button after the first click it to
+ // Prevent double sending the form
+ $('#contact_form').submit(function(e){
+ // Disable the submit button
+ $('input[name="submit_rmv"]').attr('disabled', true);
+ $('input[name="submit_rmv"]').val('Processing...please Wait!');
+ return;
+ });
});