I’m not sure if its already been done but I am trying to implement Codeigniter validation rules to ‘hook’ into the jQuery Tabs UI for a backend I’m producing.
Does anyone know if somebody has already achieved this – it would be nice for the form validation to indicate a particular tab has errors on the tab with the form submission.
Can anyone suggest any ideas? Thanks
This would very simple to achieve, say you have a tab with 3 fields (field1, field2 and field3) you would writhe something like this:
And then style the tab(s) with the
.errorto give a visual clue that it contains errors.