function echeck(str) {
regexp = /^(("[\w-\s]+”)|([\w-]+(?:\.[\w-]+)*)|(”[\w-\s]+”)([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i ; return (”"+str).match(regexp);
}
function namecheck(str) {
regexp = /^[a-z|A-Z|à |è|ì|ò|ù|\s]{2,50}$/ ; return (”"+str).match(regexp); }
function surnamecheck(str) {
regexp = /^[a-z|A-Z|à |è|ì|ò|ù|'|\s]{2,50}$/ ; return (”"+str).match(regexp); }
function numcheck(str) {
regexp = /^[\d]{1,6}[,|\.]?[\d]?[\d]?$/ ; return (”"+str).match(regexp); }
function check_form(){
if (!namecheck(document.forms[0].NOME.value)) { alert (”Nome non valido”); document.forms[0].NOME.focus(); return false; }
if (!surnamecheck(document.forms[0].COGNOME.value)) { alert (”"); document.forms[0].COGNOME.focus(); return false; }
if (!numcheck(document.forms[0].IMPORTO.value)) { alert (”"); document.forms[0].IMPORTO.focus(); return false; }
if (!echeck(document.forms[0].EMAIL.value)) { alert (”"); document.forms[0].EMAIL.focus(); return false; }
return true; }
|
Pagamenti sicuri on line Hai deciso di acquistare prodotti Vévé? Utilizza il modulo sottostante per indicare l’importo che ti è stato comunicato. Verrai rediretto sulla nostra pagina dei pagamenti on line. Una volta effettuato il pagamento la merce ti verrà inviata come indicato. |