Implementing Activate User
This commit is contained in:
parent
fd85548bda
commit
94be915475
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ if (idvalueInput != null) {
|
||||||
function changeUsername () {
|
function changeUsername () {
|
||||||
username = document.getElementById("username");
|
username = document.getElementById("username");
|
||||||
calcCn = document.getElementById("calc-cn");
|
calcCn = document.getElementById("calc-cn");
|
||||||
|
username.value = username.value.toLowerCase().replace(/[^A-z0-9.-]/g, '');
|
||||||
calcCn.innerText = "Login Name et Courriel seront : " + username.value.split("@")[0] + "@lesgv.com";
|
calcCn.innerText = "Login Name et Courriel seront : " + username.value.split("@")[0] + "@lesgv.com";
|
||||||
}
|
}
|
||||||
if (document.getElementById("username") != null) {
|
if (document.getElementById("username") != null) {
|
||||||
|
|
Loading…
Reference in a new issue