diff --git a/src/pages/authentication/auth-forms/BusCustomFormWizard.js b/src/pages/authentication/auth-forms/BusCustomFormWizard.js index a0bd207..2501d94 100644 --- a/src/pages/authentication/auth-forms/BusCustomFormWizard.js +++ b/src/pages/authentication/auth-forms/BusCustomFormWizard.js @@ -302,7 +302,7 @@ const BusCustomFormWizard = (props) => { } function handlePhone(phone) { - if (phone.length < 11) { + if (phone.length < 8) { return false; } else { return true; diff --git a/src/pages/authentication/auth-forms/CustomFormWizard.js b/src/pages/authentication/auth-forms/CustomFormWizard.js index e6d5072..7287f83 100644 --- a/src/pages/authentication/auth-forms/CustomFormWizard.js +++ b/src/pages/authentication/auth-forms/CustomFormWizard.js @@ -311,9 +311,10 @@ const CustomFormWizard = (props) => { } function handlePhone(value) { - if (value.length < 11) { + if (value.length < 8) { return false; } else { + console.log("Phone true") return true; } } @@ -322,6 +323,7 @@ const CustomFormWizard = (props) => { if (value.length < 6) { return false; } else { + console.log("Username true") return true; } } @@ -334,6 +336,7 @@ const CustomFormWizard = (props) => { else if (idNo.length < 7) { return false; } else { + console.log("IdNo true") return true; } } @@ -356,6 +359,7 @@ const CustomFormWizard = (props) => { } else if (new_pass.length < 8) { return false; } else { + console.log("password true") return true; } } @@ -367,6 +371,7 @@ const CustomFormWizard = (props) => { if (result == false) { return false; } + console.log("email true") return true; }