Closed (fixed)
Project:
jQuery plugins
Version:
5.x-1.2
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2008 at 04:25 UTC
Updated:
23 Jul 2008 at 10:56 UTC
I am looking for a way to use validation with cck forms with tabs. On the next tab click the form would validate keeping the page where it is. Any good ideas for how to begin? Even if the first step is just getting it working with cck...
Comments
Comment #1
mfbHere's a code example; clicking on this tab-switch would validate just one element in the form instead of the whole form. element() would return false if the element failed to validate, in which case you could have logic to not switch tabs:
By the way, the docs at http://docs.jquery.com/Plugins/Validation are for the latest version of the plugin, which requires jQuery 1.2 and is available only in the Drupal 6 branch of this module.
Comment #2
mfbPlease re-open if you have more questions.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.