Validations true/false all elements

It will be useful to know (in forms.js) whether an element has validations or not (so that we can decide whether to do page/tab ajax validation on groups).