Ctrl = FormA.Password;
if (Ctrl.value.length != 5) {
validatePrompt (Ctrl, "La PASSWORD deve essere di 5 numeri.");
return false;
}

ciao