validate : function()
{
- if(this.getEl().hasClass('hidden')){
+ if(this.getVisibilityEl().hasClass('hidden') || !this.getVisibilityEl().isVisible()){
return true;
}
validateRadio : function()
{
+ if(this.getVisibilityEl().hasClass('hidden')){
+ return true;
+ }
+
if(this.allowBlank){
return true;
}