validateForm = function(form) {
const name_val = form["Name"].length > 0
const email_val = validator.isEmail(form["Email"])
const phone = form["Telephone"]
const tel_val = (!isNaN(Number(phone))) &&
((phone.toString().slice(0,2) === "69") || (phone.toString().slice(0,1) === "2")) &&
(phone.toString().length === 10)
return name_val && (email_val || tel_val)
}