Compare commits
1 commit
00916278f9
...
5b6911aeeb
Author | SHA1 | Date | |
---|---|---|---|
5b6911aeeb |
2 changed files with 10 additions and 10 deletions
|
@ -27,22 +27,22 @@
|
|||
var email = document.getElementById("email").value;
|
||||
|
||||
if(!agreetoterms) {
|
||||
alert("Registration requires agreement of Code of Conduct");
|
||||
alert("Registration requires agreement of Code of Conduct.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if(!email) {
|
||||
alert("Email cannot be empty");
|
||||
alert("Email cannot be empty.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if(mathspamtrap != "9") {
|
||||
alert("Wrong math answer");
|
||||
alert("Wrong math answer.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if(await checkDuplicate(email) === true) {
|
||||
alert("This email address has already requested an account");
|
||||
alert("This email address has already requested an account.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -68,7 +68,7 @@
|
|||
.then(response => response.json())
|
||||
.then(result => {
|
||||
console.log('Success:', result);
|
||||
alert("Request submitted. A working group member will process your registration shortly. If you receive no contact within seven days of registration, please send an email to support@ilot.io");
|
||||
alert("Request submitted. A working group member will process your registration shortly. If you receive no contact within seven days of registration, please send an email to support@ilot.io.");
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error:', error)
|
||||
|
|
|
@ -27,22 +27,22 @@
|
|||
var email = document.getElementById("email").value;
|
||||
|
||||
if(!agreetoterms) {
|
||||
alert("Vous devez être d'accord avec notre code de conduite"),
|
||||
alert("Vous devez être en accord avec notre code de conduite.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if(!email) {
|
||||
alert("Le courriel ne peut pas être vide");
|
||||
alert("Le courriel ne peut pas être vide.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if(mathspamtrap != "9") {
|
||||
alert("Pas la bonne réponse mathématique");
|
||||
alert("Ceci n'est pas la bonne réponse à l'exercise mathématique.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if(await checkDuplicate(email) === true) {
|
||||
alert("Ce courriel à déja fait une demande de compte");
|
||||
alert("Ce courriel à déja fait l'objet d'une demande de compte.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -68,7 +68,7 @@
|
|||
.then(response => response.json())
|
||||
.then(result => {
|
||||
console.log('Success:', result);
|
||||
alert("Votre demande a été soumis. Un membre d'un groupe de travail va traiter votre demande sous peu. Si vous ne recevez pas de nouvelle d'ici sept jours, contactez-vous via support@ilot.io");
|
||||
alert("Votre demande a été soumise. Un membre d'un groupe de travail va traiter votre demande sous peu. Si vous ne recevez pas de nouvelle d'ici sept jours, contactez-vous via support@ilot.io.");
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error:', error)
|
||||
|
|
Loading…
Add table
Reference in a new issue