1function sprawdz_szukaj() { 2 wzor = new RegExp(".{3,}"); 3 if (!wzor.test(document.szukaj.fraza.value)) { 4 alert("Musisz wpisaÄ minimum 3 znaki!"); 5 document.szukaj.fraza.focus(); 6 document.szukaj.fraza.select(); 7 return false; 8 } 9} 10function sprawdz_szukaj_filtr() { 11 wzor = new RegExp(".{3,}"); 12 if (!wzor.test(document.szukajfiltr.fraza.value)) { 13 alert("Musisz wpisaÄ minimum 3 znaki!"); 14 document.szukajfiltr.fraza.focus(); 15 document.szukajfiltr.fraza.select(); 16 return false; 17 } 18} 19 20 21function sprawdz_mail() { 22 wzor = new RegExp("^.+@.+[\.].{2,}$"); 23 if (!wzor.test(document.subskrypcja.mail.value)) { 24 alert("To nie jest poprawny adres e-mail!"); 25 document.subskrypcja.mail.focus(); 26 document.subskrypcja.mail.select(); 27 return false; 28 } 29 if (document.subskrypcja.bolStatusRODO) { 30 if (!document.subskrypcja.bolStatusRODO.checked) { 31 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 32 return false; 33 } 34 } 35} 36 37 38function sprawdz_ksiega() { 39 if (document.ksiega.txtAutor.value == "") { 40 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 41 document.ksiega.txtAutor.focus(); 42 document.ksiega.txtAutor.select(); 43 return false; 44 } 45 if (document.ksiega.txtTresc.value == "") { 46 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 47 document.ksiega.txtTresc.focus(); 48 document.ksiega.txtTresc.select(); 49 return false; 50 } 51 if (document.ksiega.bolStatusRODO) { 52 if (!document.ksiega.bolStatusRODO.checked) { 53 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 54 return false; 55 } 56 } 57} 58 59function sprawdz_kondolencje() { 60 if (document.kondolencje.txtAutor.value == "") { 61 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 62 document.kondolencje.txtAutor.focus(); 63 document.kondolencje.txtAutor.select(); 64 return false; 65 } 66 if (document.kondolencje.txtTresc.value == "") { 67 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 68 document.kondolencje.txtTresc.focus(); 69 document.kondolencje.txtTresc.select(); 70 return false; 71 } 72 if (document.kondolencje.bolStatusRODO) { 73 if (!document.kondolencje.bolStatusRODO.checked) { 74 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 75 return false; 76 } 77 } 78} 79 80function sprawdz_pytanie() { 81 if (document.pytanie.txtAutor.value == "") { 82 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 83 document.pytanie.txtAutor.focus(); 84 document.pytanie.txtAutor.select(); 85 return false; 86 } 87 wzor = new RegExp("^.+@.+[\.].{2,}$"); 88 if (!wzor.test(document.pytanie.txtMail.value)) { 89 alert("To nie jest poprawny adres e-mail!"); 90 document.pytanie.txtMail.focus(); 91 document.pytanie.txtMail.select(); 92 return false; 93 } 94 if (document.pytanie.intDzial.length) { 95 if (document.pytanie.intDzial.options[document.pytanie.intDzial.selectedIndex].value == "") { 96 alert("Nie wybraÅeÅ kategorii pytania!"); 97 document.pytanie.intDzial.focus(); 98 return false; 99 } 100 } 101 if (document.pytanie.txtTresc.value == "") { 102 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 103 document.pytanie.txtTresc.focus(); 104 document.pytanie.txtTresc.select(); 105 return false; 106 } 107 if (document.pytanie.bolStatusRODO) { 108 if (!document.pytanie.bolStatusRODO.checked) { 109 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 110 return false; 111 } 112 } 113 return true; 114} 115 116function sprawdz_forum() { 117 if (document.forum.txtWatek) { 118 if (document.forum.txtWatek.value == "") { 119 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 120 document.forum.txtWatek.focus(); 121 document.forum.txtWatek.select(); 122 return false; 123 } 124 } 125 if (document.forum.txtTemat.value == "") { 126 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 127 document.forum.txtTemat.focus(); 128 document.forum.txtTemat.select(); 129 return false; 130 } 131 if (document.forum.txtTresc.value == "") { 132 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 133 document.forum.txtTresc.focus(); 134 document.forum.txtTresc.select(); 135 return false; 136 } 137 if (document.forum.bolStatusRODO) { 138 if (!document.forum.bolStatusRODO.checked) { 139 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 140 return false; 141 } 142 } 143} 144 145function sprawdz_komentarz() { 146 if (document.komentarz.txtTresc.value == "") { 147 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 148 document.komentarz.txtTresc.focus(); 149 document.komentarz.txtTresc.select(); 150 return false; 151 } 152 if (document.komentarz.txtAutor.value == "") { 153 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 154 document.komentarz.txtAutor.focus(); 155 document.komentarz.txtAutor.select(); 156 return false; 157 } 158 wzor = new RegExp("^.+@.+[\.].{2,}$"); 159 if (!wzor.test(document.komentarz.txtMail.value)) { 160 alert("To nie jest poprawny adres e-mail!"); 161 document.komentarz.txtMail.focus(); 162 document.komentarz.txtMail.select(); 163 return false; 164 } 165 if (document.komentarz.bolStatusRODO) { 166 if (!document.komentarz.bolStatusRODO.checked) { 167 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 168 return false; 169 } 170 } 171} 172 173function sprawdz_firmy() { 174 if (document.firmy.txtNazwa.value == "") { 175 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 176 document.firmy.txtNazwa.focus(); 177 document.firmy.txtNazwa.select(); 178 return false; 179 } 180 if (document.firmy.txtUlica.value == "") { 181 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 182 document.firmy.txtUlica.focus(); 183 document.firmy.txtUlica.select(); 184 return false; 185 } 186 wzor = new RegExp("^[0-9]{2}-[0-9]{3}$"); 187 if (!wzor.test(document.firmy.txtKod.value)) { 188 alert("To nie jest poprawny format kodu!"); 189 document.firmy.txtKod.focus(); 190 document.firmy.txtKod.select(); 191 return false; 192 } 193 if (document.firmy.txtMiasto.value == "") { 194 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 195 document.firmy.txtMiasto.focus(); 196 document.firmy.txtMiasto.select(); 197 return false; 198 } 199 if (document.firmy.txtWojewodztwo.options[document.firmy.txtWojewodztwo.selectedIndex].value == "") { 200 alert("Nie wybraÅeÅ województwa!"); 201 document.firmy.txtWojewodztwo.focus(); 202 return false; 203 } 204 if (document.firmy.txtTelefon.value == "") { 205 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 206 document.firmy.txtTelefon.focus(); 207 document.firmy.txtTelefon.select(); 208 return false; 209 } 210 if (document.firmy.txtBranza.options[document.firmy.txtBranza.selectedIndex].value == "") { 211 alert("Nie wybraÅeÅ branży!"); 212 document.firmy.txtBranza.focus(); 213 return false; 214 } 215 if (document.firmy.bolStatusRODO) { 216 if (!document.firmy.bolStatusRODO.checked) { 217 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 218 return false; 219 } 220 } 221} 222 223function sprawdz_awarie() { 224 if (document.formAwaria.txtKontakt.value == "") { 225 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 226 document.formAwaria.txtKontakt.focus(); 227 document.formAwaria.txtKontakt.select(); 228 return false; 229 } 230 wzor = new RegExp("^.+@.+[\.].{2,}$"); 231 if (!wzor.test(document.formAwaria.txtMail.value)) { 232 alert("To nie jest poprawny adres e-mail!"); 233 document.formAwaria.txtMail.focus(); 234 document.formAwaria.txtMail.select(); 235 return false; 236 } 237 if (document.formAwaria.txtTelefon.value == "") { 238 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 239 document.formAwaria.txtTelefon.focus(); 240 document.formAwaria.txtTelefon.select(); 241 return false; 242 } 243 if (document.formAwaria.txtNazwa.value == "") { 244 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 245 document.formAwaria.txtNazwa.focus(); 246 document.formAwaria.txtNazwa.select(); 247 return false; 248 } 249 if (document.formAwaria.txtOpis.value == "") { 250 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 251 document.formAwaria.txtOpis.focus(); 252 document.formAwaria.txtOpis.select(); 253 return false; 254 } 255 if (!document.formAwaria.Zgoda.checked) { 256 alert("Musisz zaakceptowaÄ regulamin!"); 257 return false; 258 } 259 if (document.formAwaria.bolStatusRODO) { 260 if (!document.formAwaria.bolStatusRODO.checked) { 261 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 262 return false; 263 } 264 } 265 return true; 266} 267 268function sprawdz_ogloszenia() { 269 if (document.ogloszenia.txtTytul.value == "") { 270 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 271 document.ogloszenia.txtTytul.focus(); 272 document.ogloszenia.txtTytul.select(); 273 return false; 274 } 275 if (document.ogloszenia.notTresc.value == "") { 276 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 277 document.ogloszenia.notTresc.focus(); 278 document.ogloszenia.notTresc.select(); 279 return false; 280 } 281 if (document.ogloszenia.txtKontakt.value == "") { 282 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 283 document.ogloszenia.txtKontakt.focus(); 284 document.ogloszenia.txtKontakt.select(); 285 return false; 286 } 287 if (document.ogloszenia.bolStatusRODO) { 288 if (!document.ogloszenia.bolStatusRODO.checked) { 289 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 290 return false; 291 } 292 } 293} 294 295 296function sprawdz_ekartki() { 297 wzor = new RegExp("^.+@.+[\.].{2,}$"); 298 /* 299 if (document.ekartki.txtNadawca.value == "") { 300 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 301 document.ekartki.txtNadawca.focus(); 302 document.ekartki.txtNadawca.select(); 303 return false; 304 } 305 */ 306 if (!wzor.test(document.ekartki.txtNadawcaMail.value)) { 307 alert("To nie jest poprawny adres e-mail!"); 308 document.ekartki.txtNadawcaMail.focus(); 309 document.ekartki.txtNadawcaMail.select(); 310 return false; 311 } 312 /* 313 if (document.ekartki.txtOdbiorca.value == "") { 314 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 315 document.ekartki.txtOdbiorca.focus(); 316 document.ekartki.txtOdbiorca.select(); 317 return false; 318 } 319 */ 320 if (!wzor.test(document.ekartki.txtOdbiorcaMail.value)) { 321 alert("To nie jest poprawny adres e-mail!"); 322 document.ekartki.txtOdbiorcaMail.focus(); 323 document.ekartki.txtOdbiorcaMail.select(); 324 return false; 325 } 326 if (document.ekartki.txtTytul.value == "") { 327 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 328 document.ekartki.txtTytul.focus(); 329 document.ekartki.txtTytul.select(); 330 return false; 331 } 332 if (document.ekartki.txtPodpis.value == "") { 333 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 334 document.ekartki.txtPodpis.focus(); 335 document.ekartki.txtPodpis.select(); 336 return false; 337 } 338} 339 340function sprawdz_goscie() { 341 wzor = new RegExp("^.+@.+[\.].{2,}$"); 342 if (document.goscie.txtImie.value == "") { 343 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 344 document.goscie.txtImie.focus(); 345 document.goscie.txtImie.select(); 346 return false; 347 } 348 if (document.goscie.txtNazwisko.value == "") { 349 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 350 document.goscie.txtNazwisko.focus(); 351 document.goscie.txtNazwisko.select(); 352 return false; 353 } 354 wzor = new RegExp("^[0-9]{11}$"); 355 if (document.goscie.txtPesel) { 356 if (!wzor.test(document.goscie.txtPesel.value)) { 357 alert("To nie jest poprawny PESEL!"); 358 document.goscie.txtPesel.focus(); 359 document.goscie.txtPesel.select(); 360 return false; 361 } 362 } 363 /* 364 wzor = new RegExp("^[0-9]{1,2}$"); 365 if (!wzor.test(document.goscie.txtWiek.value)) { 366 alert("To nie jest liczba!"); 367 document.goscie.txtWiek.focus(); 368 document.goscie.txtWiek.select(); 369 return false; 370 } 371 */ 372 wzor = new RegExp("^.+@.+[\.].{2,}$"); 373 if (!wzor.test(document.goscie.txtMail.value)) { 374 alert("To nie jest poprawny adres e-mail!"); 375 document.goscie.txtMail.focus(); 376 document.goscie.txtMail.select(); 377 return false; 378 } 379 if (document.goscie.txtLogin.value.length < 3) { 380 alert("Login musi mieÄ minimum 3 znaki!"); 381 document.goscie.txtLogin.focus(); 382 document.goscie.txtLogin.select(); 383 return false; 384 } 385 if ((document.goscie.txtHaslo.value.length < 6) || (document.goscie.verHaslo.value.length < 6)) { 386 alert("HasÅo musi mieÄ minimum 6 znaków!"); 387 document.goscie.txtHaslo.value=""; 388 document.goscie.verHaslo.value=""; 389 document.goscie.txtHaslo.focus(); 390 document.goscie.txtHaslo.select(); 391 return false; 392 } 393 if (document.goscie.txtHaslo.value != document.goscie.verHaslo.value) { 394 alert("Niezgodne hasÅa!"); 395 document.goscie.txtHaslo.value=""; 396 document.goscie.verHaslo.value=""; 397 document.goscie.txtHaslo.focus(); 398 document.goscie.txtHaslo.select(); 399 return false; 400 } 401 if (document.goscie.bolStatusRODO) { 402 if (!document.goscie.bolStatusRODO.checked) { 403 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 404 return false; 405 } 406 } 407} 408 409function sprawdz_kalendarz_impreza() { 410 licznik = 0; 411 if (document.kalendarz_impreza.txtTytul.value == "") { 412 licznik = 1; 413 alert("Należy wypeÅniÄ pole TytuÅ!"); 414 document.kalendarz_impreza.txtTytul.focus(); 415 document.kalendarz_impreza.txtTytul.select(); 416 return false; 417 } 418 if (document.kalendarz_impreza.txtPodpis.value == "") { 419 licznik = 1; 420 alert("Należy wypeÅniÄ pole Podpis!"); 421 document.kalendarz_impreza.txtPodpis.focus(); 422 document.kalendarz_impreza.txtPodpis.select(); 423 return false; 424 } 425 wzor = new RegExp("^.+@.+[\.].{2,}$"); 426 if (!wzor.test(document.kalendarz_impreza.txtMail.value)) { 427 licznik = 1; 428 alert("To nie jest poprawny adres e-mail!"); 429 document.kalendarz_impreza.txtMail.focus(); 430 document.kalendarz_impreza.txtMail.select(); 431 return false; 432 } 433 if (document.kalendarz_impreza.notTresc.value == "") { 434 licznik = 1; 435 alert("Należy wypeÅniÄ treÅÄ wydarzenia!"); 436 document.kalendarz_impreza.notTresc.focus(); 437 document.kalendarz_impreza.notTresc.select(); 438 return false; 439 } 440 if (licznik==0){ 441 document.kalendarz_impreza.b.value='zapisz'; 442 document.kalendarz_impreza.submit(); 443 } 444 if (document.kalendarz_impreza.bolStatusRODO) { 445 if (!document.kalendarz_impreza.bolStatusRODO.checked) { 446 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 447 return false; 448 } 449 } 450} 451 452function sprawdz_kalendarz_wydarzen() { 453 var czydata; 454 var datawzor = /^20(\d{2})-(\d{2})-(\d{2})$/; 455 czydata = kalendarz_wydarzen.start.value.match(datawzor); 456 if (czydata == null) { 457 alert("To nie jest poprawny format daty!\nProszÄ wprowadziÄ rrrr-mm-dd");
458 document.kalendarz_wydarzen.start.focus(); 459 document.kalendarz_wydarzen.start.select(); 460 return false; 461 } 462 czydata = kalendarz_wydarzen.stop.value.match(datawzor); 463 if (czydata == null) { 464 alert("To nie jest poprawny format daty!\nProszÄ wprowadziÄ rrrr-mm-dd"); 465 document.kalendarz_wydarzen.stop.focus(); 466 document.kalendarz_wydarzen.stop.select(); 467 return false; 468 } 469} 470 471function sprawdz_dane() { 472 if (document.dane.txtImieNazwisko.value == "") { 473 alert("Nie wypeÅniÅeÅ obowiÄ zkowego pola imiÄ i nazwisko!"); 474 document.dane.txtImieNazwisko.focus(); 475 document.dane.txtImieNazwisko.select(); 476 return false; 477 } 478 if (document.dane.txtAdres.value == "") { 479 alert("Nie wypeÅniÅeÅ obowiÄ zkowego pola adres!"); 480 document.dane.txtAdres.focus(); 481 document.dane.txtAdres.select(); 482 return false; 483 } 484 wzor = new RegExp("^[0-9]{2}-[0-9]{3}$"); 485 if (!wzor.test(document.dane.txtKod.value)) { 486 alert("To nie jest poprawny format kodu!\nWymagane xx-yyy."); 487 document.dane.txtKod.focus(); 488 document.dane.txtKod.select(); 489 return false; 490 } 491 if (document.dane.txtMiasto.value == "") { 492 alert("Nie wypeÅniÅeÅ obowiÄ zkowego pola miejscowoÅÄ!"); 493 document.dane.txtMiasto.focus(); 494 document.dane.txtMiasto.select(); 495 return false; 496 } 497} 498 499function sprawdz_cv() { 500 if (document.cv.txtImieNazwisko.value == "") { 501 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 502 document.cv.txtImieNazwisko.focus(); 503 document.cv.txtImieNazwisko.select(); 504 return false; 505 } 506 if (document.cv.txtAdres.value == "") { 507 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 508 document.cv.txtAdres.focus(); 509 document.cv.txtAdres.select(); 510 return false; 511 } 512 if (document.cv.txtTelefon.value == "") { 513 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 514 document.cv.txtTelefon.focus(); 515 document.cv.txtTelefon.select(); 516 return false; 517 } 518 wzor = new RegExp("^.+@.+[\.].{2,}$"); 519 if (document.cv.txtMail.value != "" && !wzor.test(document.cv.txtMail.value)) { 520 alert("To nie jest poprawny adres e-mail!"); 521 document.cv.txtMail.focus(); 522 document.cv.txtMail.select(); 523 return false; 524 } 525} 526 527function sprawdz_nieruchomosci() { 528 wzor = new RegExp("^[0-9]{4}-[0-9]{2}-[0-9]{2}$"); 529 if (!wzor.test(document.nieruchomosci.txtStart.value)) { 530 alert("To nie jest poprawny format daty!\nWymagane RRRR-MM-DD."); 531 document.nieruchomosci.txtStart.focus(); 532 document.nieruchomosci.txtStart.select(); 533 return false; 534 } 535 wzor = new RegExp("^[0-9]{4}-[0-9]{2}-[0-9]{2}$"); 536 if (!wzor.test(document.nieruchomosci.txtStop.value)) { 537 alert("To nie jest poprawny format daty!\nWymagane RRRR-MM-DD."); 538 document.nieruchomosci.txtStop.focus(); 539 document.nieruchomosci.txtStop.select(); 540 return false; 541 } 542 wzor1 = new RegExp("^[0-9]{1,},[0-9]{2}$"); 543 wzor2 = new RegExp("^[0-9]{1,}$"); 544 if (!wzor1.test(document.nieruchomosci.intPowierzchnia.value) && !wzor2.test(document.nieruchomosci.intPowierzchnia.value)) { 545 alert("To nie jest poprawna liczba!"); 546 document.nieruchomosci.intPowierzchnia.focus(); 547 document.nieruchomosci.intPowierzchnia.select(); 548 return false; 549 } 550 wzor1 = new RegExp("^[0-9]{1,},[0-9]{2}$"); 551 wzor2 = new RegExp("^[0-9]{1,}$"); 552 if (!wzor1.test(document.nieruchomosci.intCena.value) && !wzor2.test(document.nieruchomosci.intCena.value)) { 553 alert("To nie jest poprawna liczba!"); 554 document.nieruchomosci.intCena.focus(); 555 document.nieruchomosci.intCena.select(); 556 return false; 557 } 558 if (document.nieruchomosci.bolStatusRODO) { 559 if (!document.nieruchomosci.bolStatusRODO.checked) { 560 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 561 return false; 562 } 563 } 564} 565 566function sprawdz_sms() { 567 wzor = new RegExp("^[\+]{1}[0-9]{11}$"); 568 if (!wzor.test(document.sms.numer.value)) { 569 alert("To nie jest poprawny numer telefonu!\nPoprawny numer to +xxyyyyyyyyy."); 570 document.sms.numer.focus(); 571 document.sms.numer.select(); 572 return false; 573 } 574 if (document.sms.bolStatusRODO) { 575 if (!document.sms.bolStatusRODO.checked) { 576 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 577 return false; 578 } 579 } 580} 581 582 583function sprawdz_imgwmail() { 584 wzor = new RegExp("^.+@.+[\.].{2,}$"); 585 if (!wzor.test(document.imgwmail.mail.value)) { 586 alert("To nie jest poprawny adres e-mail!"); 587 document.imgwmail.mail.focus(); 588 document.imgwmail.mail.select(); 589 return false; 590 } 591 if (document.imgwmail.bolStatusRODO) { 592 if (!document.imgwmail.bolStatusRODO.checked) { 593 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 594 return false; 595 } 596 } 597} 598function sprawdz_imgwtel() { 599 wzor = new RegExp("^[\+]{1}[0-9]{11}$"); 600 if (!wzor.test(document.imgwtel.numer.value)) { 601 alert("To nie jest poprawny numer telefonu!\nPoprawny numer to +xxyyyyyyyyy."); 602 document.imgwtel.numer.focus(); 603 document.imgwtel.numer.select(); 604 return false; 605 } 606 if (document.imgwtel.bolStatusRODO) { 607 if (!document.imgwtel.bolStatusRODO.checked) { 608 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 609 return false; 610 } 611 } 612} 613 614function sprawdz_imgwmailtresc() { 615 wzor = new RegExp("^.+@.+[\.].{2,}$"); 616 if (!wzor.test(document.imgwmailtresc.mail.value)) { 617 alert("To nie jest poprawny adres e-mail!"); 618 document.imgwmailtresc.mail.focus(); 619 document.imgwmailtresc.mail.select(); 620 return false; 621 } 622 if (document.imgwmailtresc.bolStatusRODO) { 623 if (!document.imgwmailtresc.bolStatusRODO.checked) { 624 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 625 return false; 626 } 627 } 628} 629function sprawdz_imgwteltresc() { 630 wzor = new RegExp("^[\+]{1}[0-9]{11}$"); 631 if (!wzor.test(document.imgwteltresc.numer.value)) { 632 alert("To nie jest poprawny numer telefonu!\nPoprawny numer to +xxyyyyyyyyy."); 633 document.imgwteltresc.numer.focus(); 634 document.imgwteltresc.numer.select(); 635 return false; 636 } 637 if (document.imgwteltresc.bolStatusRODO) { 638 if (!document.imgwteltresc.bolStatusRODO.checked) { 639 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 640 return false; 641 } 642 } 643} 644 645function sprawdz_imgwtelmenu() { 646 wzor = new RegExp("^[\+]{1}[0-9]{11}$"); 647 if (!wzor.test(document.imgwtelmenu.numer.value)) { 648 alert("To nie jest poprawny numer telefonu!\nPoprawny numer to +xxyyyyyyyyy."); 649 document.imgwtelmenu.numer.focus(); 650 document.imgwtelmenu.numer.select(); 651 return false; 652 } 653 if (document.imgwtelmenu.bolStatusRODO) { 654 if (!document.imgwtelmenu.bolStatusRODO.checked) { 655 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 656 return false; 657 } 658 } 659} 660 661function sprawdz_smsnumer() { 662 wzor = new RegExp("^[\+]{1}[0-9]{11}$"); 663 if (document.sms) { 664 if (!wzor.test(document.sms.numer.value)) { 665 alert("To nie jest poprawny numer telefonu!\nPoprawny numer to +xxyyyyyyyyy."); 666 document.sms.numer.focus(); 667 document.sms.numer.select(); 668 return false; 669 } 670 if (document.sms.bolStatusRODO) { 671 if (!document.sms.bolStatusRODO.checked) { 672 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 673 return false; 674 } 675 } 676 } 677 678 if (document.sms_numer) { 679 if (!wzor.test(document.sms_numer.txtNumer.value)) { 680 alert("To nie jest poprawny numer telefonu!\nPoprawny numer to +xxyyyyyyyyy."); 681 document.sms_numer.txtNumer.focus(); 682 document.sms_numer.txtNumer.select(); 683 return false; 684 } 685 if (document.sms_numer.bolStatusRODO) { 686 if (!document.sms_numer.bolStatusRODO.checked) { 687 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 688 return false; 689 } 690 } 691 } 692}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.