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.


Jelle_S’s picture

Category: bug » feature

This 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.

web-mayak’s picture

Priority: Normal » Major


roland_x’s picture


Manu75013’s picture


chiddicks’s picture

Can 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.

Jelle_S’s picture

Version: 7.x-1.36 » 6.x-1.x-dev

This is fixed in the latest dev version of 7.x. Setting to 6.x now.

Jelle_S’s picture

Status: Active » Fixed

Fixed in latest dev version of 6.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.