[wp-trac] [WordPress Trac] #41656: Bugs for Gravity Form Validation using JQuery!

WordPress Trac noreply at wordpress.org
Thu Aug 17 06:15:10 UTC 2017


#41656: Bugs for Gravity Form Validation using JQuery!
--------------------------+-----------------------------
 Reporter:  emantoyaks    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Plugins       |    Version:  4.8.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi Guys,

 I was already having an alert validation in my Gravity form using JQuery
 JS, It really works before on the past/previous, but after I update my
 wordpress version it's no longer working. The Alert is showing up and
 working fine but after all is good the form will no longer submit it seems
 it's freeze.

 This code is a sample JQuery I use on my Gravity Form:


 {{{
 // JavaScript Document

 jQuery(document).ready(function(){

    jQuery("#gform_submit_button_2").click(function(){
         var email = jQuery("#input_2_1").val();
         if(email == '') { alert('Email Address is Empty.'); return false;
 }
     });
   });
 }}}

 Again that code is working before and the Gravity Form was really submit
 after all validation is good, Hope you can find a solution for this Guys.

 Thanks

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41656>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list