Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 22

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 27

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 32

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 36

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 41

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 46

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 51

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 52

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 56

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 57

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 61

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 62

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 66

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 67

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 71

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 72

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 76

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 77

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 81

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 82

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 86

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 87

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 91

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 92

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 117

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 120

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 165

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 179

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 186

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 190

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 191

Warning: Use of undefined constant AZIENDA - assumed 'AZIENDA' (this will throw an Error in a future version of PHP) in /web/htdocs/www.lizardresidence.it/home/lingue/lg_en.php on line 230
$("#newsletterForm").validator().on("submit", function (event) { if (event.isDefaultPrevented()) { // handle the invalid form... formErrorNs(); submitMSGNs(false, "You did not fill out the form correctly"); } else { // everything looks good! event.preventDefault(); submitFormNs(); } }); function submitFormNs(){ // Initiate Variables With Form Content var name = $("#nome").val(); var cognome = $("#cognome").val(); var email = $("#email").val(); var consenso = $("#consenso").val(); var type = $("#type").val(); var lingua = $("#lingua").val(); var inviato = $("#submit").val(); $.ajax({ type: "POST", url: "https://www.lizardresidence.it/sending-form-hmi.php", data: "nome=" + name + "&cognome=" + cognome + "&email=" + email + "&type=" + type + "&lingua=" + lingua + "&inviato=" + inviato + "&consenso=" + consenso, success : function(text){ if (text == "successNs"){ formSuccessNs(); } else { formError(); submitMSGNs(false,text); } } }); } function formSuccessNs(){ $("#newsletterForm")[0].reset(); submitMSGNs(true, "Registration successful !") } function formErrorNs(){ $("#newsletterForm").removeClass().addClass("shake animated").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend", function(){ $(this).removeClass(); }); } function submitMSGNs(validNs, msgNs){ if(validNs){ var msgClasses = "h3 text-center tada animated text-warning"; } else { var msgClasses = "h3 text-center text-danger"; } $("#msgSubmitNs").removeClass().addClass(msgClasses).text(msgNs); }