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 295function sprawdz_ekartki() { 296 wzor = new RegExp("^.+@.+[\.].{2,}$"); 297 /* 298 if (document.ekartki.txtNadawca.value == "") { 299 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 300 document.ekartki.txtNadawca.focus(); 301 document.ekartki.txtNadawca.select(); 302 return false; 303 } 304 */ 305 if (!wzor.test(document.ekartki.txtNadawcaMail.value)) { 306 alert("To nie jest poprawny adres e-mail!"); 307 document.ekartki.txtNadawcaMail.focus(); 308 document.ekartki.txtNadawcaMail.select(); 309 return false; 310 } 311 /* 312 if (document.ekartki.txtOdbiorca.value == "") { 313 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 314 document.ekartki.txtOdbiorca.focus(); 315 document.ekartki.txtOdbiorca.select(); 316 return false; 317 } 318 */ 319 if (!wzor.test(document.ekartki.txtOdbiorcaMail.value)) { 320 alert("To nie jest poprawny adres e-mail!"); 321 document.ekartki.txtOdbiorcaMail.focus(); 322 document.ekartki.txtOdbiorcaMail.select(); 323 return false; 324 } 325 if (document.ekartki.txtTytul.value == "") { 326 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 327 document.ekartki.txtTytul.focus(); 328 document.ekartki.txtTytul.select(); 329 return false; 330 } 331 if (document.ekartki.txtPodpis.value == "") { 332 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 333 document.ekartki.txtPodpis.focus(); 334 document.ekartki.txtPodpis.select(); 335 return false; 336 } 337} 338 339function sprawdz_goscie() { 340 wzor = new RegExp("^.+@.+[\.].{2,}$"); 341 if (document.goscie.txtImie.value == "") { 342 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 343 document.goscie.txtImie.focus(); 344 document.goscie.txtImie.select(); 345 return false; 346 } 347 if (document.goscie.txtNazwisko.value == "") { 348 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 349 document.goscie.txtNazwisko.focus(); 350 document.goscie.txtNazwisko.select(); 351 return false; 352 } 353 wzor = new RegExp("^[0-9]{11}$"); 354 if (document.goscie.txtPesel) { 355 if (!wzor.test(document.goscie.txtPesel.value)) { 356 alert("To nie jest poprawny PESEL!"); 357 document.goscie.txtPesel.focus(); 358 document.goscie.txtPesel.select(); 359 return false; 360 } 361 } 362 /* 363 wzor = new RegExp("^[0-9]{1,2}$"); 364 if (!wzor.test(document.goscie.txtWiek.value)) { 365 alert("To nie jest liczba!"); 366 document.goscie.txtWiek.focus(); 367 document.goscie.txtWiek.select(); 368 return false; 369 } 370 */ 371 wzor = new RegExp("^.+@.+[\.].{2,}$"); 372 if (!wzor.test(document.goscie.txtMail.value)) { 373 alert("To nie jest poprawny adres e-mail!"); 374 document.goscie.txtMail.focus(); 375 document.goscie.txtMail.select(); 376 return false; 377 } 378 if (document.goscie.txtLogin.value.length < 3) { 379 alert("Login musi mieÄ minimum 3 znaki!"); 380 document.goscie.txtLogin.focus(); 381 document.goscie.txtLogin.select(); 382 return false; 383 } 384 if ((document.goscie.txtHaslo.value.length < 6) || (document.goscie.verHaslo.value.length < 6)) { 385 alert("HasÅo musi mieÄ minimum 6 znaków!"); 386 document.goscie.txtHaslo.value="" 387 document.goscie.verHaslo.value="" 388 document.goscie.txtHaslo.focus(); 389 document.goscie.txtHaslo.select(); 390 return false; 391 } 392 if (document.goscie.txtHaslo.value != document.goscie.verHaslo.value) { 393 alert("Niezgodne hasÅa!"); 394 document.goscie.txtHaslo.value="" 395 document.goscie.verHaslo.value="" 396 document.goscie.txtHaslo.focus(); 397 document.goscie.txtHaslo.select(); 398 return false; 399 } 400 if (document.goscie.bolStatusRODO) { 401 if (!document.goscie.bolStatusRODO.checked) { 402 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 403 return false; 404 } 405 } 406} 407 408function sprawdz_kalendarz_impreza() { 409 licznik = 0; 410 if (document.kalendarz_impreza.txtTytul.value == "") { 411 licznik = 1; 412 alert("Należy wypeÅniÄ pole TytuÅ!"); 413 document.kalendarz_impreza.txtTytul.focus(); 414 document.kalendarz_impreza.txtTytul.select(); 415 return false; 416 } 417 if (document.kalendarz_impreza.txtPodpis.value == "") { 418 licznik = 1; 419 alert("Należy wypeÅniÄ pole Podpis!"); 420 document.kalendarz_impreza.txtPodpis.focus(); 421 document.kalendarz_impreza.txtPodpis.select(); 422 return false; 423 } 424 wzor = new RegExp("^.+@.+[\.].{2,}$"); 425 if (!wzor.test(document.kalendarz_impreza.txtMail.value)) { 426 licznik = 1; 427 alert("To nie jest poprawny adres e-mail!"); 428 document.kalendarz_impreza.txtMail.focus(); 429 document.kalendarz_impreza.txtMail.select(); 430 return false; 431 } 432 if (document.kalendarz_impreza.notTresc.value == "") { 433 licznik = 1; 434 alert("Należy wypeÅniÄ treÅÄ wydarzenia!"); 435 document.kalendarz_impreza.notTresc.focus(); 436 document.kalendarz_impreza.notTresc.select(); 437 return false; 438 } 439 if (licznik==0){ 440 document.kalendarz_impreza.b.value='zapisz'; 441 document.kalendarz_impreza.submit(); 442 } 443 if (document.kalendarz_impreza.bolStatusRODO) { 444 if (!document.kalendarz_impreza.bolStatusRODO.checked) { 445 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 446 return false; 447 } 448 } 449} 450 451function sprawdz_kalendarz_wydarzen() { 452 var czydata; 453 var datawzor = /^20(\d{2})-(\d{2})-(\d{2})$/; 454 czydata = kalendarz_wydarzen.start.value.match(datawzor); 455 if (czydata == null) { 456 alert("To nie jest poprawny format daty!\nProszÄ wprowadziÄ rrrr-mm-dd");
457 document.kalendarz_wydarzen.start.focus(); 458 document.kalendarz_wydarzen.start.select(); 459 return false; 460 } 461 czydata = kalendarz_wydarzen.stop.value.match(datawzor); 462 if (czydata == null) { 463 alert("To nie jest poprawny format daty!\nProszÄ wprowadziÄ rrrr-mm-dd"); 464 document.kalendarz_wydarzen.stop.focus(); 465 document.kalendarz_wydarzen.stop.select(); 466 return false; 467 } 468} 469 470function sprawdz_cv() { 471 if (document.cv.txtImieNazwisko.value == "") { 472 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 473 document.cv.txtImieNazwisko.focus(); 474 document.cv.txtImieNazwisko.select(); 475 return false; 476 } 477 if (document.cv.txtAdres.value == "") { 478 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 479 document.cv.txtAdres.focus(); 480 document.cv.txtAdres.select(); 481 return false; 482 } 483 if (document.cv.txtTelefon.value == "") { 484 alert("Nie wypeÅniÅeÅ wszystkich obowiÄ zkowych pól!"); 485 document.cv.txtTelefon.focus(); 486 document.cv.txtTelefon.select(); 487 return false; 488 } 489 wzor = new RegExp("^.+@.+[\.].{2,}$"); 490 if (document.cv.txtMail.value != "" && !wzor.test(document.cv.txtMail.value)) { 491 alert("To nie jest poprawny adres e-mail!"); 492 document.cv.txtMail.focus(); 493 document.cv.txtMail.select(); 494 return false; 495 } 496} 497 498function sprawdz_nieruchomosci() { 499 wzor = new RegExp("^[0-9]{4}-[0-9]{2}-[0-9]{2}$"); 500 if (!wzor.test(document.nieruchomosci.txtStart.value)) { 501 alert("To nie jest poprawny format daty!\nWymagane RRRR-MM-DD."); 502 document.nieruchomosci.txtStart.focus(); 503 document.nieruchomosci.txtStart.select(); 504 return false; 505 } 506 wzor = new RegExp("^[0-9]{4}-[0-9]{2}-[0-9]{2}$"); 507 if (!wzor.test(document.nieruchomosci.txtStop.value)) { 508 alert("To nie jest poprawny format daty!\nWymagane RRRR-MM-DD."); 509 document.nieruchomosci.txtStop.focus(); 510 document.nieruchomosci.txtStop.select(); 511 return false; 512 } 513 wzor1 = new RegExp("^[0-9]{1,},[0-9]{2}$"); 514 wzor2 = new RegExp("^[0-9]{1,}$"); 515 if (!wzor1.test(document.nieruchomosci.intPowierzchnia.value) && !wzor2.test(document.nieruchomosci.intPowierzchnia.value)) { 516 alert("To nie jest poprawna liczba!"); 517 document.nieruchomosci.intPowierzchnia.focus(); 518 document.nieruchomosci.intPowierzchnia.select(); 519 return false; 520 } 521 wzor1 = new RegExp("^[0-9]{1,},[0-9]{2}$"); 522 wzor2 = new RegExp("^[0-9]{1,}$"); 523 if (!wzor1.test(document.nieruchomosci.intCena.value) && !wzor2.test(document.nieruchomosci.intCena.value)) { 524 alert("To nie jest poprawna liczba!"); 525 document.nieruchomosci.intCena.focus(); 526 document.nieruchomosci.intCena.select(); 527 return false; 528 } 529 if (document.nieruchomosci.bolStatusRODO) { 530 if (!document.nieruchomosci.bolStatusRODO.checked) { 531 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 532 return false; 533 } 534 } 535} 536 537function sprawdz_sms() { 538 wzor = new RegExp("^[\+]{1}[0-9]{11}$"); 539 if (!wzor.test(document.sms.numer.value)) { 540 alert("To nie jest poprawny numer telefonu!\nPoprawny numer to +xxyyyyyyyyy."); 541 document.sms.numer.focus(); 542 document.sms.numer.select(); 543 return false; 544 } 545 if (document.sms.bolStatusRODO) { 546 if (!document.sms.bolStatusRODO.checked) { 547 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 548 return false; 549 } 550 } 551} 552 553function sprawdz_imgwmail() { 554 wzor = new RegExp("^.+@.+[\.].{2,}$"); 555 if (!wzor.test(document.imgwmail.mail.value)) { 556 alert("To nie jest poprawny adres e-mail!"); 557 document.imgwmail.mail.focus(); 558 document.imgwmail.mail.select(); 559 return false; 560 } 561 if (document.imgwmail.bolStatusRODO) { 562 if (!document.imgwmail.bolStatusRODO.checked) { 563 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 564 return false; 565 } 566 } 567} 568function sprawdz_imgwtel() { 569 wzor = new RegExp("^[\+]{1}[0-9]{11}$"); 570 if (!wzor.test(document.imgwtel.numer.value)) { 571 alert("To nie jest poprawny numer telefonu!\nPoprawny numer to +xxyyyyyyyyy."); 572 document.imgwtel.numer.focus(); 573 document.imgwtel.numer.select(); 574 return false; 575 } 576 if (document.imgwtel.bolStatusRODO) { 577 if (!document.imgwtel.bolStatusRODO.checked) { 578 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 579 return false; 580 } 581 } 582} 583 584function sprawdz_imgwmailtresc() { 585 wzor = new RegExp("^.+@.+[\.].{2,}$"); 586 if (!wzor.test(document.imgwmailtresc.mail.value)) { 587 alert("To nie jest poprawny adres e-mail!"); 588 document.imgwmailtresc.mail.focus(); 589 document.imgwmailtresc.mail.select(); 590 return false; 591 } 592 if (document.imgwmailtresc.bolStatusRODO) { 593 if (!document.imgwmailtresc.bolStatusRODO.checked) { 594 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 595 return false; 596 } 597 } 598} 599function sprawdz_imgwteltresc() { 600 wzor = new RegExp("^[\+]{1}[0-9]{11}$"); 601 if (!wzor.test(document.imgwteltresc.numer.value)) { 602 alert("To nie jest poprawny numer telefonu!\nPoprawny numer to +xxyyyyyyyyy."); 603 document.imgwteltresc.numer.focus(); 604 document.imgwteltresc.numer.select(); 605 return false; 606 } 607 if (document.imgwteltresc.bolStatusRODO) { 608 if (!document.imgwteltresc.bolStatusRODO.checked) { 609 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 610 return false; 611 } 612 } 613} 614 615function sprawdz_imgwtelmenu() { 616 wzor = new RegExp("^[\+]{1}[0-9]{11}$"); 617 if (!wzor.test(document.imgwtelmenu.numer.value)) { 618 alert("To nie jest poprawny numer telefonu!\nPoprawny numer to +xxyyyyyyyyy."); 619 document.imgwtelmenu.numer.focus(); 620 document.imgwtelmenu.numer.select(); 621 return false; 622 } 623 if (document.imgwtelmenu.bolStatusRODO) { 624 if (!document.imgwtelmenu.bolStatusRODO.checked) { 625 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 626 return false; 627 } 628 } 629} 630 631function sprawdz_smsnumer() { 632 wzor = new RegExp("^[\+]{1}[0-9]{11}$"); 633 if (document.sms) { 634 if (!wzor.test(document.sms.numer.value)) { 635 alert("To nie jest poprawny numer telefonu!\nPoprawny numer to +xxyyyyyyyyy."); 636 document.sms.numer.focus(); 637 document.sms.numer.select(); 638 return false; 639 } 640 if (document.sms.bolStatusRODO) { 641 if (!document.sms.bolStatusRODO.checked) { 642 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 643 return false; 644 } 645 } 646 } 647 648 if (document.sms_numer) { 649 if (!wzor.test(document.sms_numer.txtNumer.value)) { 650 alert("To nie jest poprawny numer telefonu!\nPoprawny numer to +xxyyyyyyyyy."); 651 document.sms_numer.txtNumer.focus(); 652 document.sms_numer.txtNumer.select(); 653 return false; 654 } 655 if (document.sms_numer.bolStatusRODO) { 656 if (!document.sms_numer.bolStatusRODO.checked) { 657 alert("Musisz wyraziÄ zgodÄ na przetwarzanie danych osobowych!"); 658 return false; 659 } 660 } 661 } 662}
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.