Bug Fixing
This commit is contained in:
parent
47c96daf53
commit
346b69c7b2
1 changed files with 1 additions and 3 deletions
|
@ -110,10 +110,8 @@
|
||||||
|
|
||||||
<script lang="javascript">
|
<script lang="javascript">
|
||||||
function ValidateEmail(inputControl) {
|
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)) {
|
if (inputControl.value.match(mailformat)) {
|
||||||
alert("Merci de renseigner un courriel de secours svp");
|
|
||||||
inputControl.focus();
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue