forked from ilot/ilot-io
content/join: clean-up messages
This commit is contained in:
parent
64aefaec0c
commit
535cd026b0
1 changed files with 3 additions and 5 deletions
|
@ -36,12 +36,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if(mathspamtrap != "9") {
|
if(mathspamtrap != "9") {
|
||||||
alert("Wrong answer")
|
alert("Wrong math answer")
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(await checkDuplicate(email) === true) {
|
if(await checkDuplicate(email) === true) {
|
||||||
alert("Email address already requested account")
|
alert("This email address has already requested an account")
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,6 +69,7 @@
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(result => {
|
.then(result => {
|
||||||
console.log('Success:', result);
|
console.log('Success:', result);
|
||||||
|
alaert("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 => {
|
.catch(error => {
|
||||||
console.error('Error:', error)
|
console.error('Error:', error)
|
||||||
|
@ -119,9 +120,6 @@
|
||||||
<input id="math-spam-trap" name="math-spam-trap" type="text" required maxlength="50"></p>
|
<input id="math-spam-trap" name="math-spam-trap" type="text" required maxlength="50"></p>
|
||||||
<input type="button" value="Submit" id = "submit"
|
<input type="button" value="Submit" id = "submit"
|
||||||
onClick = "createIssue()">
|
onClick = "createIssue()">
|
||||||
<input type="button" value="Check duplicate" id = "submit"
|
|
||||||
onClick = "checkDuplicate()">
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue