mindlab.pl Open in urlscan Pro
91.200.32.21  Public Scan

URL: https://mindlab.pl/szkolen=
Submission: On March 29 via api from PL — Scanned from DE

Form analysis 4 forms found in the DOM

POST https://mindlab.pl/wyniki-wyszukiwania

<form id="mb654emoduleform_1" method="post" action="https://mindlab.pl/wyniki-wyszukiwania" class="cms_form">
  <div class="hidden">
    <input type="hidden" name="mact" value="Search,mb654e,dosearch,0">
    <input type="hidden" name="mb654ereturnid" value="98">
  </div>
  <div id="search_box">
    <div for="mb654esearchinput" id="search_bar">
      <input type="text" class="search-input" id="mb654esearchinput" name="mb654esearchinput" size="20" maxlength="50" placeholder="Znajdź na stronie">
    </div>
    <button class="search_magnify__button" name="submit" value="" type="submit"></button>
  </div>
  <input type="hidden" id="mb654eorigreturnid" name="mb654eorigreturnid" value="453">
  <input type="hidden" id="mb654edetailpage" name="mb654edetailpage" value="wyniki-wyszukiwania#hehe_form">
</form>

POST https://mindlab.pl/wyniki-wyszukiwania

<form id="m538a9moduleform_2" method="post" action="https://mindlab.pl/wyniki-wyszukiwania" class="cms_form">
  <div class="hidden">
    <input type="hidden" name="mact" value="Search,m538a9,dosearch,0">
    <input type="hidden" name="m538a9returnid" value="98">
  </div>
  <div id="search_box">
    <div for="m538a9searchinput" id="search_bar">
      <input type="text" class="search-input" id="m538a9searchinput" name="m538a9searchinput" size="20" maxlength="50" placeholder="Znajdź na stronie">
    </div>
    <button class="search_magnify__button" name="submit" value="" type="submit"></button>
  </div>
  <input type="hidden" id="m538a9origreturnid" name="m538a9origreturnid" value="453">
  <input type="hidden" id="m538a9detailpage" name="m538a9detailpage" value="wyniki-wyszukiwania#hehe_form">
</form>

POST /szkolen=#newsletter

<form action="/szkolen=#newsletter" id="newsletter" method="post" class="webiso_form" enctype="multipart/form-data">
  <!-- UWAGA! w przypadku stosowania .input_required ważna jest kolejność bloków w środku: w <label> musi znajdować się najpierw <span>, potem <input> -->
  <div class="row">
    <div class="col-12">
      <label for="name1" class="input_required " data-type="name">
        <p class="tag">Imię i nazwisko *</p>
        <span class="valid"></span>
        <input type="text" name="name1" value="" placeholder="imię i nazwisko *" required="" style="padding-left: 146px;">
      </label>
      <label for="emailFalseHoney1" class="input_required " data-type="mail">
        <p class="tag">e-mail *</p>
        <span class="valid">mail</span>
        <input type="text" name="emailFalseHoney1" value="" placeholder="e-mail *" required="" style="padding-left: 84px;">
        <input type="hidden" name="email_2">
      </label>
      <label for="company1" class="input_required " data-type="company">
        <p class="tag">Firma *</p>
        <span class="valid"></span>
        <input type="text" name="company1" value="" placeholder="firma *" required="" style="padding-left: 74px;">
      </label>
      <label for="position1" class="input_required" data-type="position">
        <p class="tag">Stanowisko</p>
        <span class="valid"></span>
        <input type="text" name="position1" value="" placeholder="stanowisko" style="padding-left: 109px;">
      </label>
      <label for="firstname" data-type="textzone" class="ohnohoney">
        <input class="" type="text" name="firstname" placeholder="First name" autocomplete="off">
      </label>
      <label for="email" data-type="textzone" class="ohnohoney">
        <input class="" type="text" name="email" placeholder="Email" autocomplete="off">
      </label>
      <p class="legend">* pole obowiązkowe</p>
      <!-- Tag używany w CRM do przypisania zgloszenia do kategorii -->
      <input type="hidden" name="form_tag" value="NEWSLETTER">
    </div>
  </div>
  <div class="row">
    <div class="col-md-8">
      <div class="webiso-exp">
        <input type="checkbox" id="terms1" name="terms1" value="">
        <label for="terms1">
          <span><!-- symbol checka --></span>
          <p class="cookies"></p>
          <p>* Znana mi jest treść <a href="polityka-prywatnosci" target="_blank" rel="noopener">Polityki prywatności</a> i ją akceptuję.</p>
          <p></p>
        </label>
      </div>
    </div>
    <div class="col-md-4 text-right">
      <button type="submit" class="btn-send">Zapisz</button>
    </div>
  </div>
  <input type="hidden" name="recaptcha_response" class="recaptchaResponse"
    value="03AGdBq24p4NlkumFlbv2sEvQBgBwKxMYb-RlKnbHoM1i2WTN5H9-wuFr-RVK2VLWAQGSgwsNApnciQzTtSSJteVV7rFCZY0JZDBFf7TkClHXZSumsZBf5-pHdYZ64w2LL5UKmgM6gQKQbSqvMzAYpfCJo7yPBGisWzoHbH6L0UuKfQcUglPK5Og7E0ljJj_IhzCYlpLqOVIbVx8PVT0tTDwoglmzp4GuJgAONSsF7RTezxVd_Wmk8oq45sRu24Ok1UP8ifX1YSpDjvHRol9sjSL2XhE6DsxYKfLIMzsfrPAZpMCWEZZCMJLvnb47mFb_3iviNAdfx0aEZCSq6dQM1NC-gqH1_2wjIlD70OpbW09DsaoPsr7KG7v95MkblZzWx4j9RZmJF86GKQ6jMpofAZofh2dTgLEcsOLAHCgjVpAvOEMfjvIUV4X5b2m1q0OpGq6uE8U8s7jcdrq7Ql27zwrq8y-UZ_idnByPnuLyiBGqkAZrl7DGnrZyKT4BLTg8Ay7qSUybvsnt8">
  <script>
    function ajaxFailed(e) {
      console.warn('Błąd połączenia ajax...');
      odpowiedz = document.getElementById('odpowiedz');
      //   show(contactForm);
      alert('pokazano Contactform');
      odpowiedz.setAttribute('class', 'alert alert-danger');
      odpowiedz.innerHTML = '<p>adżax zepsuty</p>';
      alert('zmieminono "odpowiedz"');
      document.getElementById('wyslij-wiadomosc').removeEventListener('submit', sendForm);
      alert(e);
      // let contactForm = document.querySelectorAll('.webiso_form');
      // for (i = 0; i < contactForm.length; i++) { 
      //     contactForm[i].addEventListener('submit', sendForm);
      // }
    };

    function sendForm(e) {
      e.preventDefault(); //zatrzymanie akcji wyslania formularza
      let currentID = this.id;
      /* var dataToSend = serialize(contactForm); */
      var dataToSend = new FormData(contactForm1);
      var request = new XMLHttpRequest();
      var urlrequest = location.href + '#' + currentID + '-request';
      request.open('POST', urlrequest, true);
      /* request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); */
      request.send(dataToSend);
      request.onload = function() {
        //start 
        if (this.status >= 200 && this.status < 400) {
          var responseDOM = new DOMParser(); //pobieranie odpowiedzi serwera
          var responseHTML = responseDOM.parseFromString(this.responseText, 'text/html'); //przetwarzanie odpowiedzi na dokument HTML
          var response = responseHTML.getElementById(currentID + '-request').outerHTML; //pobranie odpowiedzi serwera - lista błędów
          document.getElementById(currentID + '-request').outerHTML = response;
          //   odpowiedz = document.getElementById(currentID+'-request');
          $(document).ready(function() {
            $("html, body").animate({
              scrollTop: $("#" + currentID + "-request").offset().top - 50
            }, 500);
          });
          // warunek dla poprawnie wypelnionych danych - jeżeli spelniony, to ukrywa formularz i wyswietla komunikat o powodzeniu
          if (responseHTML.getElementById(currentID + '-placeholder-sent').getAttribute('data-send') === 'true') {
            sentResponse = responseHTML.getElementById(currentID + '-sent').outerHTML; //pobranie odpowiedzi serwera o powodzeniu wyslania
            document.getElementById(currentID + '-placeholder-sent').outerHTML = sentResponse; //umieszczenie komunikatu o powodzeniu wyslania
            document.getElementById(currentID).style.opacity = "0.5"; //ukrycie formularza
            document.getElementById(currentID).style.pointerEvents = "none"; //dezaktywacja 
            window.scroll({
              top: document.getElementById(currentID + '-sent').offsetTop + 40,
              left: 0,
              behavior: 'smooth'
            }); //animacja przewinięcia do komunikatu
            console.log('Wysłano wiadomość!');
            //   gtag('event', 'wysłanie formularza', { 'event_category': 'kontakt' });
          }
          //   if (contactForm.querySelector('.has-error') !== null) {
          //     var oldErrors = contactForm.querySelectorAll('.has-error');
          //     Array.prototype.forEach.call(oldErrors, function(el, i) {
          //     el.classList.remove('has-error');
          //     });
          //   }
          //   if (contactForm.querySelector('li[data-input-error]') !== null) {
          //     console.warn('W formularzu znaleziono błędy.');
          //     var liErrors = document.querySelectorAll('li[data-input-error]');
          //     Array.prototype.forEach.call(liErrors, function(el, i) {
          //       var erroredField = el.getAttribute('data-input-error');
          //       if ( document.querySelector('input[name=\"'+erroredField+'\"], textarea[name=\"'+erroredField+'\"]') !== null ) {
          //         var parentNode = document.querySelector('input[name=\"'+erroredField+'\"], textarea[name=\"'+erroredField+'\"]').parentNode;
          //         if (parentNode.classList) {
          //           parentNode.classList.add('has-error');
          //         } else {
          //           parentNode.className += ' '+className;
          //         }
          //       }
          //     });
          //   }
        } else {
          ajaxFailed();
        }
      };
      request.onerror = function() {
        ajaxFailed();
      };
    }
    //mechanika - kliknięcie wyslania wiadomości uruchamia polączenie AJAX
    let contactForm1 = document.querySelector('#newsletter');
    //console.log('#newsletter');
    contactForm1.addEventListener('submit', sendForm);
    for (i = 0; i < contactForm1.length; i++) {
      contactForm1[i].addEventListener('submit', sendForm);
    }
    //system walidacji na żywo - komunikaty podpowiadające
    var reqGroup = document.querySelectorAll('.input_required');
    for (var x = 0; x < reqGroup.length; x++) {
      reqGroup[x].addEventListener('input', function() {
        let input = this.lastElementChild.value;
        let spanItem = this.firstElementChild;
        let span = this.firstElementChild.innerHTML;
        let type = this.dataset.type;
        spanItem.classList.add("visible");
        if (type == 'name') {
          valName(this, 3, input);
        } else if (type == 'mail') {
          valMail(this, 4, input);
        } else if (type == 'company') {
          valCompany(this, 3, input);
        }

        function valMail(tt, i, input) {
          if (input.length < i) {
            tt.firstElementChild.innerHTML = 'e-mail *';
          } else {
            var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
            let xx = re.test(String(input).toLowerCase());
            if (xx == true) {
              // tt.firstElementChild.innerHTML = '&#x2713;';
            } else {
              tt.firstElementChild.innerHTML = 'nieprawildowy adres e-mail';
            }
          }
        }

        function valName(tt, i, input) {
          if (input.length < i && input.length > 0) {
            tt.firstElementChild.innerHTML = 'imię i nazwisko *';
          } else if (input.length <= 0) {
            tt.firstElementChild.innerHTML = 'imię i nazwisko *';
          } else {
            // tt.firstElementChild.innerHTML = '&#x2713;';
          }
        }

        function valCompany(tt, i, input) {
          if (input.length < i && input.length > 0) {
            //tt.firstElementChild.innerHTML = 'min. '+i+' znaków ('+input.length+')';
          } else if (input.length <= 0) {
            tt.firstElementChild.innerHTML = 'firma *';
          } else {
            // tt.firstElementChild.innerHTML = '&#x2713;';
          }
        }
      }, false);
    }
  </script>
</form>

POST formularz

<form action="formularz" id="formularz" method="post" class="webiso_form" enctype="multipart/form-data">
  <!-- UWAGA! w przypadku stosowania .input_required ważna jest kolejność bloków w środku: w <label> musi znajdować się najpierw <span>, potem <input> -->
  <div class="row">
    <div class="col-12">
      <label for="name2" class="input_required " data-type="name">
        <p class="tag">Imię i nazwisko *</p>
        <span class="valid"></span>
        <input type="text" name="name2" value="" placeholder="imię i Nazwisko *" required="" style="padding-left: 146px;">
      </label>
      <label for="emailFalseHoney2" class="input_required " data-type="mail">
        <p class="tag">e-mail *</p>
        <span class="valid">mail</span>
        <input type="text" name="emailFalseHoney2" value="" placeholder="e-mail *" required="" style="padding-left: 84px;">
        <input type="hidden" name="email_2">
      </label>
      <label for="phone2" class="input_required " data-type="phone">
        <p class="tag">telefon *</p>
        <span class="valid"></span>
        <input type="text" name="phone2" value="" placeholder="telefon *" required="" style="padding-left: 88px;">
      </label>
      <label for="company" class="input_required " data-type="company">
        <p class="tag">Firma *</p>
        <span class="valid"></span>
        <input type="text" name="company" value="" placeholder="firma *" required="" style="padding-left: 74px;">
      </label>
      <label for="position" class="input_required" data-type="position">
        <p class="tag">Stanowisko</p>
        <span class="valid"></span>
        <input type="text" name="position" value="" placeholder="stanowisko" style="padding-left: 109px;">
      </label>
      <label for="message" class="input_required" data-type="textzone">
        <span class="valid"></span>
        <textarea name="message" placeholder="Twoja wiadomość..." required="" style="height:82px;overflow-y:hidden;"></textarea>
      </label>
      <label for="firstname" data-type="textzone" class="ohnohoney">
        <input class="" type="text" name="firstname" placeholder="First name" autocomplete="off">
      </label>
      <label for="email" data-type="textzone" class="ohnohoney">
        <input class="" type="text" name="email" placeholder="Email" autocomplete="off">
      </label>
      <p class="legend">* pole obowiązkowe</p>
    </div>
  </div>
  <div class="row">
    <div class="col-md-8">
      <div class="webiso-exp">
        <input type="checkbox" id="terms" name="terms" value="">
        <label for="terms">
          <span><!-- symbol checka --></span>
          <p class="cookies"></p>
          <p>* Znana mi jest treść <a href="polityka-prywatnosci" target="_blank" rel="noopener">Polityki prywatności</a> i ją akceptuję.</p>
          <p></p>
        </label>
      </div>
    </div>
    <div class="col-md-4 text-right">
      <button type="submit" class="btn-send">Wyślij</button>
    </div>
  </div>
  <input type="hidden" name="recaptcha_response" class="recaptchaResponse"
    value="03AGdBq24p4NlkumFlbv2sEvQBgBwKxMYb-RlKnbHoM1i2WTN5H9-wuFr-RVK2VLWAQGSgwsNApnciQzTtSSJteVV7rFCZY0JZDBFf7TkClHXZSumsZBf5-pHdYZ64w2LL5UKmgM6gQKQbSqvMzAYpfCJo7yPBGisWzoHbH6L0UuKfQcUglPK5Og7E0ljJj_IhzCYlpLqOVIbVx8PVT0tTDwoglmzp4GuJgAONSsF7RTezxVd_Wmk8oq45sRu24Ok1UP8ifX1YSpDjvHRol9sjSL2XhE6DsxYKfLIMzsfrPAZpMCWEZZCMJLvnb47mFb_3iviNAdfx0aEZCSq6dQM1NC-gqH1_2wjIlD70OpbW09DsaoPsr7KG7v95MkblZzWx4j9RZmJF86GKQ6jMpofAZofh2dTgLEcsOLAHCgjVpAvOEMfjvIUV4X5b2m1q0OpGq6uE8U8s7jcdrq7Ql27zwrq8y-UZ_idnByPnuLyiBGqkAZrl7DGnrZyKT4BLTg8Ay7qSUybvsnt8">
  <script>
    function ajaxFailed(e) {
      console.warn('Błąd połączenia ajax...');
      odpowiedz = document.getElementById('odpowiedz');
      //   show(contactForm);
      alert('pokazano Contactform');
      odpowiedz.setAttribute('class', 'alert alert-danger');
      odpowiedz.innerHTML = '<p>adżax zepsuty</p>';
      alert('zmieminono "odpowiedz"');
      document.getElementById('wyslij-wiadomosc').removeEventListener('submit', sendForm);
      alert(e);
      // let contactForm = document.querySelectorAll('.webiso_form');
      // for (i = 0; i < contactForm.length; i++) { 
      //     contactForm[i].addEventListener('submit', sendForm);
      // }
    };

    function sendForm(e) {
      e.preventDefault(); //zatrzymanie akcji wyslania formularza
      let currentID = this.id;
      /* var dataToSend = serialize(contactForm); */
      var dataToSend = new FormData(contactForm2);
      var request = new XMLHttpRequest();
      var urlrequest = location.href + '#' + currentID + '-request';
      request.open('POST', urlrequest, true);
      /* request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); */
      request.send(dataToSend);
      request.onload = function() {
        //start 
        if (this.status >= 200 && this.status < 400) {
          var responseDOM = new DOMParser(); //pobieranie odpowiedzi serwera
          var responseHTML = responseDOM.parseFromString(this.responseText, 'text/html'); //przetwarzanie odpowiedzi na dokument HTML
          var response = responseHTML.getElementById(currentID + '-request').outerHTML; //pobranie odpowiedzi serwera - lista błędów
          document.getElementById(currentID + '-request').outerHTML = response;
          //   odpowiedz = document.getElementById(currentID+'-request');
          $(document).ready(function() {
            $("html, body").animate({
              scrollTop: $("#" + currentID + "-request").offset().top - 50
            }, 500);
          });
          // warunek dla poprawnie wypelnionych danych - jeżeli spelniony, to ukrywa formularz i wyswietla komunikat o powodzeniu
          if (responseHTML.getElementById(currentID + '-placeholder-sent').getAttribute('data-send') === 'true') {
            sentResponse = responseHTML.getElementById(currentID + '-sent').outerHTML; //pobranie odpowiedzi serwera o powodzeniu wyslania
            document.getElementById(currentID + '-placeholder-sent').outerHTML = sentResponse; //umieszczenie komunikatu o powodzeniu wyslania
            document.getElementById(currentID).style.opacity = "0.5"; //ukrycie formularza
            document.getElementById(currentID).style.pointerEvents = "none"; //dezaktywacja 
            window.scroll({
              top: document.getElementById(currentID + '-sent').offsetTop + 40,
              left: 0,
              behavior: 'smooth'
            }); //animacja przewinięcia do komunikatu
            //   gtag('event', 'wysłanie formularza', { 'event_category': 'kontakt' });
          }
          //   if (contactForm.querySelector('.has-error') !== null) {
          //     var oldErrors = contactForm.querySelectorAll('.has-error');
          //     Array.prototype.forEach.call(oldErrors, function(el, i) {
          //     el.classList.remove('has-error');
          //     });
          //   }
          //   if (contactForm.querySelector('li[data-input-error]') !== null) {
          //     console.warn('W formularzu znaleziono błędy.');
          //     var liErrors = document.querySelectorAll('li[data-input-error]');
          //     Array.prototype.forEach.call(liErrors, function(el, i) {
          //       var erroredField = el.getAttribute('data-input-error');
          //       if ( document.querySelector('input[name=\"'+erroredField+'\"], textarea[name=\"'+erroredField+'\"]') !== null ) {
          //         var parentNode = document.querySelector('input[name=\"'+erroredField+'\"], textarea[name=\"'+erroredField+'\"]').parentNode;
          //         if (parentNode.classList) {
          //           parentNode.classList.add('has-error');
          //         } else {
          //           parentNode.className += ' '+className;
          //         }
          //       }
          //     });
          //   }
        } else {
          ajaxFailed();
        }
      };
      request.onerror = function() {
        ajaxFailed();
      };
    }
    //mechanika - kliknięcie wyslania wiadomości uruchamia polączenie AJAX
    let contactForm2 = document.querySelector('#formularz');
    //console.log('#formularz');
    contactForm2.addEventListener('submit', sendForm);
    for (i = 0; i < contactForm2.length; i++) {
      contactForm2[i].addEventListener('submit', sendForm);
    }
    //system walidacji na żywo - komunikaty podpowiadające
    var reqGroup = document.querySelectorAll('.input_required');
    for (var x = 0; x < reqGroup.length; x++) {
      reqGroup[x].addEventListener('input', function() {
        let input = this.lastElementChild.value;
        let spanItem = this.firstElementChild;
        let span = this.firstElementChild.innerHTML;
        let type = this.dataset.type;
        spanItem.classList.add("visible");
        /*if (type == 'mail') {
                        valMail(this, 4, input);
                    } else if (type == 'phone') {
                        valPhone(this, 9, input);
                    }
                    
                    function valMail(tt, i, input){
                        if (input.length < i){
                            tt.firstElementChild.innerHTML = 'e-mail *';
                        } else {
                            var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
                            let xx = re.test(String(input).toLowerCase());
                            if (xx==true){
                                tt.firstElementChild.innerHTML = 'e-mail *';
                            } else {
                                tt.firstElementChild.innerHTML = 'nieprawidłowy adres e-mail';
                            }
                        }
                    }

                    function valPhone(tt, i, input){
                        if (input.length < 1){
							//console.log("nie rozpoczeto");
                            //tt.firstElementChild.innerHTML = 'telefon *';
                        } else if (input.length < i){
							//tt.firstElementChild.innerHTML = 'nieprawidłowy numer telefonu';
							//console.log("za krotki");
						} else {
                            var re = /^\+?[\d\-\s]{8,24}$/;
                            let xx = re.test(input);
							//console.log(re.test(input), input);
                            if (xx==true){
								//tt.firstElementChild.innerHTML = 'telefon *';
                            } else {
                                //tt.firstElementChild.innerHTML = 'nieprawidłowy numer telefonu';
                            }
                        }
                    }*/
      }, false);
    }
  </script>
</form>

Text Content

* Znana mi jest treść Polityki prywatności i ją akceptuję.

Akceptuję

Zaloguj się >

Platforma MindLab Support

Login

Hasło


Zaloguj się




OJ...

wygląda na to, że trafiłeś/-aś do złej sali szkoleniowej

Powrót na stronę główną

ZNAJDŹ NAS

Limanowskiego 31/15
biuro@mindlab.pl
12 292 75 83


 * Kontakt
 * Oferta
 * Kariera
 * Polityka prywatności i Regulamin
 * Procedura Reklamacyjna

ZNAJDŹ NAS

Limanowskiego 31/15
biuro@mindlab.pl
12 292 75 83




NEWSLETTER



Zapisz się do newslettera i co miesiąc otrzymuj najświeższe informacje o nowych
produktach szkoleniowych, grach oraz innych usługach, które mogą pomóc w rozwoju
Twojej firmy.





Imię i nazwisko *

e-mail *

mail

Firma *

Stanowisko

* pole obowiązkowe

* Znana mi jest treść Polityki prywatności i ją akceptuję.



Zapisz


KONTAKT



Masz pytania? Wątpliwości? Pomysły? Nie znalazłeś/-aś informacji, która Cię
interesuje? Chcesz porozmawiać o możliwościach współpracy?
Skontaktuj się i porozmawiaj z nami.





Imię i nazwisko *

e-mail *

mail

telefon *

Firma *

Stanowisko

* pole obowiązkowe

* Znana mi jest treść Polityki prywatności i ją akceptuję.



Wyślij


PLATFORMA MINDLAB SUPPORT




Zaloguj się

© 2022 MindLab sp. z o.o. Wszystkie prawa zastrzeżone WEBISO
Newsletter Kontakt Zaloguj się