I have a form that redirects to a modal window (if the user is logged in, the action continues as normal, but if the user is anonymous, the modal pops up with login/register forms), but I'm having troubling with the validation.
Both the form api's default validation and custom jquery validation I added are ignored. Is there a way to do this that I have missed?

Thanks.

Comments

zahor’s picture

Update: I disabled the submit button via jquery until the validation conditions were met (field checked), so that fixes my issue, but I'd still like another way to do it.

japerry’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing this issue as outdated as Drupal 6 ctools is not supported. If this issue is relevant for Drupal 7, feel free to re-open and mark for Drupal 7 (or 8)