Opened 6 years ago
Closed 5 years ago
#41656 closed defect (bug) (invalid)
Bugs for Gravity Form Validation using JQuery!
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.8.1 |
Component: | Plugins | Keywords: | |
Focuses: | Cc: |
Description
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
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hi @emantoyaks, welcome to WordPress Trac! Thanks for the report.
Have you reported this to Gravity Forms support? The code sample you've provided is just basic jQuery code, I don't see why a WordPress update would break it.