qwidjib0

Untitled

Apr 28th, 2017
60
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Contact Form */
  2. jQuery('input.wpcf7-submit[type=submit]').click(function() {
  3.     if(isEmail(jQuery('input[name="your-email"]').attr('value'))) {
  4.         var myForm =MktoForms2.getForm(1066);
  5.         myForm.addHiddenFields({
  6.             "Email": jQuery('input[name="your-email"]').attr('value'),
  7.             "FirstName": jQuery('input[name="your-name"]').attr('value'),
  8.         });
  9.         myForm.submit();
  10.     }
  11. });
RAW Paste Data