Closed (fixed)
Project:
Clientside Validation
Version:
6.x-1.x-dev
Component:
Form Validation
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2012 at 13:54 UTC
Updated:
22 Apr 2013 at 13:00 UTC
The custom ctools popup form submit, If i click on a submit button client_side validation is works & then trigger the form submit just calls the serverside validation.
ajax form submit bypassing clientside validation & form submitted..
how to solve this issue?.. it error show's only ctools modal popup form (ajaxform)..
thanks in advance.
Comments
Comment #1
jelle_sThis is strange. As far as I can tell ctools modal uses the drupal ajax framework, which works fine with clientside validation. But for some reason the ajax callback isn't cancelled when the beforesubmit callback returns false on a ctools modal form. We'll have to consult with the maintainers of ctools on how we can cancel the ajax callback when there are errors on the form.
Comment #2
web-mayak commentedsubscribe
Comment #3
J0keR commentedsubscribe
Comment #4
Manu75013 commentedsubscribe
Comment #5
chiddicks commentedCan confirm that this is an issue in 6 as well, specifically Clientside Validation 6.x-1.32 and Ctools 6.x-1.9. Going to try and look at it soon. I'm using FAPI Validation.
Comment #6
jelle_sThis is fixed in the latest dev version of 7.x. Setting to 6.x now.
Comment #7
jelle_sFixed in latest dev version of 6.x