BUG 6900 Solved the validation when trigger the event onblur

The problem was solved modificating the event onblur of the text field
This commit is contained in:
Douglas Medrano Chura
2011-06-08 09:10:45 -04:00
parent 0ae5f9b139
commit a8d787f698

View File

@@ -771,7 +771,8 @@ function G_Text( form, element, name, type )
if(!pat.test(this.element.value))
{
if(this.required=="0"&&this.element.value=="") {
this.element.className=this.element.className.split(" ")[0]+" FormFieldContent";
this.element.className="module_app_input___gray";
return;
}
else {
this.element.className=this.element.className.split(" ")[0]+" FormFieldInvalid";