Skip to content

Instantly share code, notes, and snippets.

@djmtype djmtype/cf7-validation.js
Last active Jun 16, 2017

Embed
What would you like to do?
Contact Form 7 validation
on_submit: "$(document).ajaxComplete(function() {$('#modalResponse').modal({backdrop: 'static', keyboard: false});$('#modalResponse .modal-body').html('<div class="alert alert-danger"><p>'+data.message+'</p></div>');}); $('.wpcf7-response-output').ajaxComplete(function(){$(this).delay(3000).fadeOut('slow');});"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.