(08-26-2018, 02:18 PM)José Nilton Pace Wrote: Geremiah, i have not seen your code, so I'm working with assumptions and i have an idea for you. In your ScriptEvents when it isn't valid put this code:
if (isn't valid)
{
this.focus(); /* or IWCOMPONENTIWCL.focus(); */
return false;
}else{
return true;
}
More or less the same but it doesn't work
var uid_len = this.value.length;
if (uid_len != 11 )
{
alert("Lunghezza Partita IVA errata !! ");
this.focus();
return false;
}
return true;