Avatar

Correct answer by
Level 10

Try this code in the Exit event of the field with JavaScript as the language..

if(TextField1.rawValue.length<5){

xfa.host.messageBox("The field length should be minimum 5 characters");

xfa.host.setFocus(this);

}

Thanks

Srini

View solution in original post