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:
@@ -771,7 +771,8 @@ function G_Text( form, element, name, type )
|
|||||||
if(!pat.test(this.element.value))
|
if(!pat.test(this.element.value))
|
||||||
{
|
{
|
||||||
if(this.required=="0"&&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 {
|
else {
|
||||||
this.element.className=this.element.className.split(" ")[0]+" FormFieldInvalid";
|
this.element.className=this.element.className.split(" ")[0]+" FormFieldInvalid";
|
||||||
|
|||||||
Reference in New Issue
Block a user