Made form check more restrictive.

This commit is contained in:
Pierre 2018-04-11 11:09:59 +02:00
parent 0815c4ff85
commit fb03f0db43

View File

@ -28,7 +28,7 @@ ComunicWeb.common.formChecker = {
//TextInput
if(inputType == "text"){
inputOK = (input.value == "" ? false:true);
inputOK = (input.value.length < 3 ? false:true);
}
//MailInput
@ -38,7 +38,7 @@ ComunicWeb.common.formChecker = {
//Password input
else if(inputType == "password"){
inputOK = (input.value == "" ? false:true);
inputOK = (input.value.length < 3 ? false:true);
}
//Unsupported input type