console.log(`${mobileNo} is a valid mobile number.`);
consthiddenInput=document.createElement('input');
hiddenInput.type='hidden';// Set the input type to hidden
hiddenInput.name='action';// Set the name attribute
hiddenInput.value='SEND_OTP';
constform=document.forms.login;
form.appendChild(hiddenInput);
console.log("hiden field added");
}else{
console.log(`${mobileNo} is not a valid mobile number.`);
}
}
functionloginFunc(){
//Added by Shrutika on 15-09-2020 for The user icon which shows detail information about user should also show Login using User id/Mobile/email and user_id/mobile/email value
//Added by Shrutika on 15-09-2020 for The user icon which shows detail information about user should also show Login using User id/Mobile/email and user_id/mobile/email value