Relatie-pagina
function CheckMultiple25(frm, name) {
for (var i = 0; i < frm.length; i++)
{
fldObj = frm.elements[i];
fldId = fldObj.id;
if (fldId) {
var fieldnamecheck=fldObj.id.indexOf(name);
if (fieldnamecheck != -1) {
if (fldObj.checked) {
return true;
}
}
}
}
return false;
}
function CheckForm25(f) {
var email_re = /[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/i;
if (!email_re.test(f.email.value)) {
alert("Vul je emailadres in. Bedankt.");
f.email.focus();
return false;
}
var response = grecaptcha.getResponse();
if (response.length == 0){
alert("Voer de reCAPTCHA in om te bevestigen dat je geen robot bent.");
return false;
}
return true;
}