Login or sign up Lost password?
Login or sign up
j Query(document).ready(function($) { $(document).on('webuser_loaded', function() { var data = ; $.get(napco_data.ajaxurl, data, function(response) ); var first Submission = true; var email Validation Failed = false; $(document).on('change', '.napco-newsletters-2 form select', function()); $(document).on('click', '.napco-newsletters-2 form :submit', function (e) { var email_value = $('.napco-newsletters-2 form input:visible:enabled:first').val(); var atpos = email_value.index Of("@"); var dotpos = email_Index Of("."); if (atpos = email_value.length) //We want to check the secondary fields before we send it var form Check Fields = $('.napco-newsletters-2 form input:visible, .napco-newsletters-2 form select'); var len = form Check Fields.length; var secondary Has Value = false; $(form Check Fields).each(function (index, element) ); if (! first Submission) if ($('.napco-newsletters-2 form input:visible:enabled:first').val() !