Validation with JQM and collapsible fields

Validation with JQM and collapsible fields

Can someone give my some ideas the best way to validate jQuery mobile with collapsible field sets. My form works and the validation to the fields even hidden fields. But what I need to do is either open the collapsed area that contains an required field or list how many errors in the header of the collapsible field set so the user knows where to find the errors.
 
thanks,
Rob