prevent showing of default input errors when submitting a form code example
Example: input submit prevent default
$("#cpa-form").submit(function(e){
return false;
});
$("#cpa-form").submit(function(e){
return false;
});