Combining Spry Validation & Spry Tabbed Panel
hello,
i have site combined large form (~30 fields) several tabbs using spry tabbed panel. i've used spry validation varlidate input prior submit -- of fields "required" rather simple.
the problem comes in when there issue 1 of validations. user has click on 1 of 5 tabs find offending field fix. able let user know @ least number of fields, name of fields or tabs need attension.
what's best way this? there api hook can attach to, write own span field?
thanks.
p.s. i'm running cs4 , spry 1.6.1
what you're trying not built in, you'll have manually.
first, if you're not doing already, should validate fileds onblur in addition onsubmit. way, @ least if move field required notified if didn't enter value when leave field. beyond that, you'll have manually call each field's .validate() method see if field passed validation, , if hasn't, you'll need track field , tab on can set you're own error messages on final page.
also, spry questions better asked in spry forum:
http://forums.adobe.com/community/adobe_labs/spry_framework_ajax_prelease
More discussions in Dreamweaver extensions
adobe
Comments
Post a Comment