Bug Fixing

This commit is contained in:
Chris Mann 2023-07-27 12:59:39 +02:00
parent 47c96daf53
commit 346b69c7b2

View file

@ -110,10 +110,8 @@
<script lang="javascript">
function ValidateEmail(inputControl) {
var mailformat = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;
var mailformat = /^\w+([\.+-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,24})+$/;
if (inputControl.value.match(mailformat)) {
alert("Merci de renseigner un courriel de secours svp");
inputControl.focus();
return true;
}
else {