﻿function checkFormNL() {
with (document.newsletter) {
var alertMsg = "Pola muszą być wypełnione:\n";
if ((field1.value == "") || (field1.value == "imię")) alertMsg += "\nImię";
if ((email.value == "") || (email.value == "adres e-mail")) alertMsg += "\nEmail";
if (!zgoda.checked) alertMsg += "\nMusisz zaakceptować Politykę Prywatności";
if (alertMsg != "Pola muszą być wypełnione:\n") {
alert(alertMsg);
return false;
} else {
return true;
} } }

