{"id":16139,"date":"2024-07-16T11:51:35","date_gmt":"2024-07-16T08:51:35","guid":{"rendered":"https:\/\/ikrautas.lt\/natural-person\/"},"modified":"2025-10-23T10:05:00","modified_gmt":"2025-10-23T07:05:00","slug":"individual-person","status":"publish","type":"page","link":"https:\/\/ikrautas.lt\/en\/individual-person\/","title":{"rendered":"Individual person"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"16139\" class=\"elementor elementor-16139 elementor-13125\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f63ec05 e-flex e-con-boxed e-con e-parent\" data-id=\"f63ec05\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d054902 elementor-widget elementor-widget-shortcode\" data-id=\"d054902\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">        <div class=\"container\" id=\"left-sidebar\">\n            <div class=\"column\">\n                <div id=\"first-step\">\n                    <h1 class=\"title-left\">Request for installation of a charging station<\/h1>\n                    <h3 class=\"subtitle-title-left\">Home<\/h3>\n                    \n                    <div class=\"bottom-content\">\n                        <div class=\"subtitle-title-second\">Upon request,<br>we will contact you within 1 day.<\/div>\n                    <\/div>\n                <\/div>\n            \n            <div id=\"second-step\" style=\"display: none;\">\n                <h1 class=\"title-left\">Don&#039;t want to fill in the form?<\/h1>\n                <h3 class=\"subtitle-title-left\">Call a specialist to assess the property (in Vilnius, Kaunas and Klaip\u0117da).<\/h3>\n                <style>\n                    .custom-href span{ color: #fff; font-size: 14px; font-family: \"Roboto\", sans-serif; transition: color 0.3s ease }\n                    .custom-href span:hover{ color: #36D4D9; }\n                    .custom-href svg{ margin-bottom: -2px; margin-right: 5px;}\n                <\/style>\n                <a class=\"custom-href\" href=\"https:\/\/ikrautas.lt\/produktas\/objekto-ivertinimo-paslauga\/\" target=\"_BLANK\">\n                    <svg width=\"15\" height=\"14\" viewBox=\"0 0 15 14\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                        <path d=\"M14.041 1C14.041 0.585786 13.7052 0.25 13.291 0.25H6.54102C6.1268 0.25 5.79102 0.585786 5.79102 1C5.79102 1.41421 6.1268 1.75 6.54102 1.75H12.541V7.75C12.541 8.16421 12.8768 8.5 13.291 8.5C13.7052 8.5 14.041 8.16421 14.041 7.75V1ZM1.82135 13.5303L13.8213 1.53033L12.7607 0.46967L0.760686 12.4697L1.82135 13.5303Z\" fill=\"#36D4D9\"\/>\n                    <\/svg>\n                    <span>Order service<\/span><\/a>\n            <\/div>\n        <\/div>\n\n        <div class=\"column\">\n            <div class=\"form-container\">\n                <div class=\"header contact-form\">\n                    <div class=\"step-names\">\n                        <div class=\"step-name kontaktine-informacija active\">\n                            <div class=\"step\">1<\/div>\n                            <span class=\"step-text\">Contact information<\/span>\n                        <\/div>\n\n                        <span class=\"step-divider\">\n                            <img decoding=\"async\" src=\"https:\/\/ikrautas.lt\/wp-content\/uploads\/divider.svg\" width=\"8\" height=\"22\">\n                        <\/span>\n\n                        <div class=\"step-name objekto-informacija\">\n                            <div class=\"step\">2<\/div>\n                            <span class=\"step-text\">Object information<\/span>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            \n                <form id=\"contact-form-step1\" class=\"inside-contact-form contact-form active-form\" style=\"padding-bottom: 45px;\">\n                                        <input type=\"hidden\" name=\"origin\" value=\"direct - (direct)\">\n\n                    <div class=\"field-text\">1. First name Last name <span class=\"field-required\">*<\/span><\/div>\n                    <input type=\"text\" id=\"name\" name=\"name\">\n                    <div class=\"error-message\" id=\"name-error\"><\/div>\n\n                    <div class=\"field-text\">2. Telephone no. <span class=\"field-required\">*<\/span><\/div>\n                    <input type=\"text\" id=\"mobile\" name=\"mobile\" placeholder=\"+370\">\n                    <div class=\"error-message\" id=\"mobile-error\"><\/div>\n\n                    <div class=\"field-text\">3. Email  <span class=\"field-required\">*<\/span><\/div>\n                    <input type=\"email\" id=\"email\" name=\"email\">\n                    <div class=\"error-message\" id=\"email-error\"><\/div>\n\n                    <div class=\"field-text\">\n                    4. Installation address of the charger <span class=\"field-required\">*<\/span>\n                    <\/div>\n                    <input type=\"hidden\" id=\"address-home-lat\" name=\"lat\">\n                    <input type=\"hidden\" id=\"address-home-lon\" name=\"lon\">\n<input type=\"text\" id=\"address-home\" name=\"addr_input\" class=\"address-autocomplete\"\n placeholder=\"Type your address and choose from the following\"\n required autocomplete=\"off\" readonly onfocus=\"this.removeAttribute('readonly');\" \/>\n\n                    <div class=\"error-message\" id=\"address-error\"><\/div>\n\n                    <div class=\"field-text\">5. Offer code<\/div>\n                    <div class=\"field-subtext\">Have a discount or offer code? Enter it here.<\/div>\n                    <input type=\"text\" id=\"coupon\" name=\"coupon\" placeholder=\"\">\n\n                    <div class=\"field-text\">Rules for processing personal data <span class=\"field-required\">*<\/span><\/div>\n                    <div class=\"rules-header\">\n                        <input type=\"checkbox\" id=\"rules\" name=\"rules\">\n                        <div class=\"rules\">\n                            I consent to my personal data being used to receive offers and news. <a href=\"https:\/\/ikrautas.lt\/privatumo-politika\/\" target=\"_BLANK\">More information<\/a>\n                        <\/div>\n                    <\/div>\n                    <div class=\"error-message\" id=\"rules-error\"><\/div>\n\n                    <div class=\"buttons\">\n                        <button id=\"next-step\" class=\"first-button\">NEXT \n        <svg width=\"24\" height=\"24\" style=\"margin-left: 10px;\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n            <path d=\"M4 12H20\" stroke=\"white\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>\n            <path d=\"M13.3335 5.33325L19.9999 11.9999L13.3334 18.6666\" stroke=\"white\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/>\n            <\/svg>\n        <\/button>\n                    <\/div>\n                <\/form>\n                <form id=\"success-form-step2\" enctype=\"multipart\/form-data\" class=\"inside-contact-form contact-form\" style=\"display: none;\">\n                    <div class=\"field-text\">6. Building type <span class=\"field-required\">*<\/span><\/div>\n                    <div class=\"radio-container\">\n                        <input type=\"radio\" id=\"tipas1\" name=\"building_type\" value=\"tipas1\">\n                        <label for=\"tipas1\"><img decoding=\"async\" src=\"https:\/\/ikrautas.lt\/wp-content\/uploads\/2024\/08\/privatus-namas.png\" width=\"16\" height=\"16\" style=\"margin-right:10px;\"> Private house<\/label>\n                        <input type=\"radio\" id=\"tipas2\" name=\"building_type\" value=\"tipas2\">\n                        <label for=\"tipas2\"><img decoding=\"async\" src=\"https:\/\/ikrautas.lt\/wp-content\/uploads\/2024\/08\/daugiabutis.png\" width=\"16\" height=\"16\" style=\"margin-right:10px\"> Apartment building<\/label>\n                        <input type=\"radio\" id=\"tipas3\" name=\"building_type\" value=\"tipas3\">\n                        <label for=\"tipas3\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ikrautas.lt\/wp-content\/uploads\/2024\/08\/kita.png\" width=\"16\" height=\"16\" style=\"margin-right:10px\"> Other<\/label>\n                    <\/div>\n                    <div class=\"error-message\" id=\"building-error\"><\/div>\n\n                    <div class=\"field-text\">7. Electrical input power (kW) (optional)<\/div>\n                    <select name=\"power\" id=\"power\">\n                        <option value=\"tipas1\">Choose<\/option>\n                        <option value=\"tipas2\">< 8<\/option>\n                        <option value=\"tipas3\">8<\/option>\n                        <option value=\"tipas4\">11<\/option>\n                        <option value=\"tipas5\">14<\/option>\n                        <option value=\"tipas6\">18<\/option>\n                        <option value=\"tipas7\">22<\/option>\n                        <option value=\"tipas8\">> 22<\/option>\n                    <\/select>\n                    <div class=\"error-message\" id=\"galingumas-error\"><\/div>\n\n                    <div class=\"field-text\">8. Distance (m) <span class=\"field-required\">*<\/span><\/div>\n                    <div class=\"field-subtext\">\n                        For private houses: from the house inlet to the charger location.<br>\n                        For apartment buildings: from the ESO meter to the charger location. (<a href=\"https:\/\/www.youtube.com\/watch?v=ukWBIzIpy0Q\" target=\"_BLANK\">see video <\/a>)\n                    <\/div>\n                    <input type=\"text\" id=\"distance\" name=\"distance\" placeholder=\"For example. 15.\"><br>\n                    <div class=\"error-message\" id=\"distance-error\"><\/div>\n\n                    <div class=\"field-text\" style=\"margin-bottom: 10px;\">9. Visual material <span class=\"field-required\">*<\/span><\/div>\n                    <div class=\"field-subtitle\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ikrautas.lt\/wp-content\/uploads\/2025\/05\/image-gallery-1.png\" width=\"16\" height=\"16\" style=\"margin-right:10px\">Photos:<\/div>\n                    <div class=\"field-subtext\">\n                        1. Installation location of the stop.<br>\n                        2. For private houses: the electrical panel in the house.<br>\n                        <span style=\"margin-left: 15px;\">For apartment buildings: the electricity meter and the number on it (under the barcode).<\/span><br>\n                        3. Additional work may be needed: where to dig, which pavers to dismantle, which wall to drill, etc.                    <\/div>\n                    <div class=\"field-subtitle\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ikrautas.lt\/wp-content\/uploads\/2025\/05\/youtube-2-1.png\" width=\"16\" height=\"16\" style=\"margin-right:10px\">Video:<\/div>\n                    <div class=\"field-subtext\">\n                        Indicative route of the cable, from the electricity panel to the stop<br>installation locations.                    <\/div>\n                    <input type=\"file\" id=\"file\" multiple name=\"file[]\" accept=\".jpg,.jpeg.,.png,.gif,.mp4,.x-msvideo,.hevc,.mov,.heic\" style=\"display: none;\">\n                    <span id=\"fileUploadButton\" class=\"btn btn-md btn-soft-success custom-files\">\n                        <i class=\"fas fa-paperclip\"><\/i>&nbsp; Click to upload the file or drag here                    <\/span>\n                    <div class=\"field-subtext\">\n                        <div id=\"selectedFiles\" class=\"message-data selected-files\"><\/div>\n                        Max. 10 files and 500MB. Allowed file types:   .JPEG, .JPG, .PNG, .MP4, .AVI, .MOV, .HEVC\n                    <\/div>\n                    <div class=\"error-message\" id=\"files-error\"><\/div>\n\n                    <div class=\"field-text\">10. Additional information<\/div>\n                    <input type=\"text\" id=\"message\" name=\"message\" placeholder=\"The features of the property or your needs.\">\n\n                    <div class=\"error-message\" id=\"kita-error\"><\/div>\n                    <div class=\"buttons\">\n                        <button id=\"next-step2\" class=\"first-button\">SUBMIT<\/button>\n                    <\/div>\n                <\/form>\n            <\/div>\n        <\/div>\n    <\/div>\n    <div id=\"thank-you\" class=\"thank-you\" style=\"display: none;\">\n        <div class=\"thank-you-title\">Thank you! We have received your information.<\/div>\n        <div class=\"thank-you-subtitle\">We will contact you within 1 working day.<\/div>\n        <div class=\"buttons\">\n            <a href=\"https:\/\/ikrautas.lt\" class=\"first-button\">Back to home page<\/a>\n        <\/div>\n    <\/div>\n<script>\n    document.addEventListener('DOMContentLoaded', function () {\n        window.dataLayer = window.dataLayer || [];\n        const nameInput = document.getElementById('name');\n\n        if (nameInput) {\n            let formStartPushed = false;\n\n            nameInput.addEventListener('focus', function () {\n                if (!formStartPushed) {\n                    window.dataLayer.push({\n                        event: 'form_start_namams',\n                        formID: 'contact-form-step1',\n                    });\n\n                    console.log('form_start_namams event pushed to dataLayer');\n                    formStartPushed = true;\n                }\n            });\n\n            nameInput.addEventListener('keydown', function () {\n                if (!formStartPushed) {\n                    window.dataLayer.push({\n                        event: 'form_start_namams',\n                        formID: 'contact-form-step1',\n                    });\n\n                    console.log('form_start_namams event pushed to dataLayer on keydown');\n                    formStartPushed = true;\n                }\n            });\n        } else {\n            console.log('Input field with id=\"name\" not found.');\n        }\n    });\n\n    document.addEventListener('DOMContentLoaded', function () {\n        window.dataLayer = window.dataLayer || [];\n\n        const buildingTypeInputs = document.querySelectorAll('input[name=\"building_type\"]');\n        let formStartPushed = false;\n\n        if (buildingTypeInputs.length > 0) {\n            buildingTypeInputs.forEach(function (input) {\n                input.addEventListener('change', function () {\n                    if (!formStartPushed) {\n                        window.dataLayer.push({\n                            event: 'form_start_namams_2',\n                            formID: 'success-form-step2',\n                        });\n\n                        console.log('form_start_namams_2 event pushed to dataLayer');\n                        formStartPushed = true;\n                    }\n                });\n            });\n        } else {\n            console.log('No input fields with name=\"building_type\" found.');\n        }\n    });\n\n    document.addEventListener('DOMContentLoaded', function() {\n        var fileInput = document.getElementById('file');\n        var fileList = jQuery(\"#selectedFiles\");\n        var selectedFiles = [];\n\n        jQuery(\"#fileUploadButton\").on('dragover', function (e) {\n            e.preventDefault();\n            jQuery(this).addClass('drag-over');\n        });\n\n        jQuery(\"#fileUploadButton\").on('dragleave', function () {\n            jQuery(this).removeClass('drag-over');\n        });\n\n        jQuery(\"#fileUploadButton\").on('drop', function (e) {\n            e.preventDefault();\n            jQuery(this).removeClass('drag-over');\n\n            var droppedFiles = e.originalEvent.dataTransfer.files;\n            var validFiles = Array.from(droppedFiles).filter(function(file) {\n                var validExtensions = ['.jpg', '.jpeg', '.png', '.gif', '.mp4', '.x-msvideo', '.hevc', '.mov', '.heic'];\n                var fileExtension = file.name.toLowerCase().slice((file.name.lastIndexOf(\".\") - 1 >>> 0) + 2);\n                return validExtensions.includes('.' + fileExtension);\n            });\n\n            if (validFiles.length > 0) {\n                var newFileList = new DataTransfer();\n                validFiles.forEach(function(file) {\n                    newFileList.items.add(file);\n                });\n                fileInput.files = newFileList.files;\n                updateFileList(fileInput.files, fileList);\n            } else {\n                alert(\"You can only upload files in the following formats: .jpg, .jpeg, .png, .gif, .mp4, .avi, .hevc, .mov, .heic\");\n            }\n        });\n\n        jQuery(\"#fileUploadButton\").click(function () {\n            fileInput.click();\n        });\n\n        jQuery(\"#file\").change(function () {\n            selectedFiles = selectedFiles.concat(Array.from(fileInput.files));\n            updateFileList(selectedFiles, fileList);\n        });\n\n        function updateFileList(filesArray, fileListElement) {\n            fileListElement.empty();\n\n            filesArray.forEach(function(file) {\n                var fileName = file.name;\n                var listItem = jQuery(\"<div>\").html(fileName);\n                fileListElement.append(listItem);\n            });\n\n            var clearAllButton = jQuery(\"<button>\").html(\"(Clear selected files)\");\n            clearAllButton.css({\n                \"color\": \"#E82F2F\",\n                \"cursor\": \"pointer\",\n                \"margin-top\": \"10px\",\n                \"margin-bottom\": \"10px\",\n                \"background-color\": \"#FFF\"\n            });\n\n            clearAllButton.click(function () {\n                selectedFiles = [];\n                fileInput.value = null;\n                fileListElement.empty();\n            });\n\n            fileListElement.append(clearAllButton);\n        }\n\n        var nextStepButton = document.getElementById('next-step2');\n        var firstStepButton = document.getElementById('next-step');\n        var stepNames = document.querySelectorAll('.step-name');\n        var contactFormStep1 = document.getElementById('contact-form-step1');\n        var successFormStep2 = document.getElementById('success-form-step2');\n        var thankYou = document.getElementById('thank-you');\n        var leftSidebar = document.getElementById('left-sidebar');\n        var firstStep = document.getElementById('first-step');\n        var secondStep = document.getElementById('second-step');\n        var formResponse = document.getElementById('form-response');\n        var formResponse2 = document.getElementById('kita-error');\n        var currentStep = 1;\n        var canSwitchToStep2 = false;\n\n        function getSecretKeyFromUrl() {\n            var urlParams = new URLSearchParams(window.location.search);\n            return urlParams.get('secret_key');\n        }\n\n        var secretKeys = getSecretKeyFromUrl();\n        var secretKey = secretKeys !== null ? secretKeys : \"NfZm9Re7uVOMdDHSiZMhc0wNH6Ziwl0ELSbh6HOOSZZ0iZB2BsGONPj1PC2LQAzP\";\n        var lang = \"en\";\n\n        function updateStepIndicator() {\n            stepNames.forEach(function(step, index) {\n                if (index + 1 === currentStep) {\n                    step.classList.add('active');\n                } else {\n                    step.classList.remove('active');\n                }\n            });\n        }\n\n        stepNames.forEach(function(step, index) {\n            step.addEventListener('click', function() {\n                if (index + 1 === 2 && !canSwitchToStep2) {\n                    return;\n                }\n                if (currentStep === 2 && index === 0) {\n                    return;\n                }\n                currentStep = index + 1;\n                updateStepIndicator();\n\n                if (currentStep === 1) {\n                    contactFormStep1.style.display = 'block';\n                    successFormStep2.style.display = 'none';\n                    secondStep.style.display = 'none';\n                } else if (currentStep === 2) {\n                    contactFormStep1.style.display = 'none';\n                    successFormStep2.style.display = 'block';\n                    firstStep.style.display = 'none';\n                }\n            });\n        });\n\n        document.getElementById('next-step').addEventListener('click', function(e) {\n            e.preventDefault();\n\n            document.querySelectorAll('.error-message').forEach(function(errorElement) {\n                errorElement.textContent = '';\n            });\n\n            var formData = new FormData(contactFormStep1);\n            formData.append('secret_key', secretKey);\n            formData.append('lang', lang);\n            \/\/firstStepButton.disabled = true;\n\n            fetch('https:\/\/ikrautas.lt\/wp-content\/plugins\/ikrautas-monday-api\/formos\/process_form.php', {\n                method: 'POST',\n                body: formData\n            })\n            .then(function(response) { return response.json(); })\n            .then(function(data) {\n                if (data.message === 'OK') {\n\n                    window.dataLayer = window.dataLayer || [];\n                    window.dataLayer.push({\n                        event: 'form_start_namams_end',\n                        formID: 'contact-form-step1',\n                    });\n                    console.log('form_start_namams_end event pushed to dataLayer');\n\n                    currentStep = 2;\n                    updateStepIndicator();\n                    contactFormStep1.style.display = 'none';\n                    successFormStep2.style.display = 'block';\n                    firstStep.style.display = 'none';\n                    secondStep.style.display = 'block';\n\n                    document.getElementById('second-step').scrollIntoView({ behavior: 'smooth' });\n\n                } else if (data.message === 'Error') {\n                    if (data.errors.name) {\n                        document.getElementById('name-error').textContent = data.errors.name;\n                    }\n                    if (data.errors.mobile) {\n                        document.getElementById('mobile-error').textContent = data.errors.mobile;\n                    }\n                    if (data.errors.email) {\n                        document.getElementById('email-error').textContent = data.errors.email;\n                    }\n                    if (data.errors.address) {\n                        document.getElementById('address-error').textContent = data.errors.address;\n                    }\n                    if (data.errors.rules) {\n                        document.getElementById('rules-error').textContent = data.errors.rules;\n                    }\n                } else {\n                    formResponse.innerHTML = '<div class=\"error-message\">Unforeseen error, please reload the page.<\/div>';\n                }\n            })\n            .catch(function(error) {\n                formResponse.innerHTML = '<div class=\"error-message\">Unforeseen error, please reload the page.<\/div>';\n            });\n        });\n\n        document.getElementById('next-step2').addEventListener('click', function(e) {\n\n            e.preventDefault();\n\n            var formSubmitted = false;\n\n            document.querySelectorAll('.error-message').forEach(function(errorElement) {\n                errorElement.textContent = '';\n                nextStepButton.textContent = 'Sending...';\n                nextStepButton.classList.add('loading-animation');\n            });\n\n            window.addEventListener('beforeunload', function (event) {\n                if (!formSubmitted) {\n                    event.preventDefault();\n                    event.returnValue = '';\n                    alert('Form data is still being sent, are you sure you want to close the window?');\n                }\n            });\n\n            var canSwitchToStep1 = false;\n            var secretKey = secretKeys !== null ? secretKeys : \"NfZm9Re7uVOMdDHSiZMhc0wNH6Ziwl0ELSbh6HOOSZZ0iZB2BsGONPj1PC2LQAzP\";\n            var formDataStep2 = new FormData(successFormStep2);\n            formDataStep2.append('secret_key', secretKey);\n            formDataStep2.append('lang', lang);\n\n            formResponse2.innerHTML = '<div class=\"loading-message\">It can take several minutes to process the form information if you have uploaded many files.<\/div>';\n            nextStepButton.disabled = true;\n\n            fetch('https:\/\/ikrautas.lt\/wp-content\/plugins\/ikrautas-monday-api\/formos\/process_form2.php', {\n                method: 'POST',\n                body: formDataStep2,\n                dataType: \"json\",\n                processData: false,\n                contentType: false,\n            })\n            .then(function(response) {\n                console.log(\"Fetch response received\");\n                return response.json();\n            })\n            .then(function(data) {\n                console.log(\"Response data received:\", data);\n                if (data.message === 'OK') {\n                    formSubmitted = true;\n                    \n                    window.dataLayer = window.dataLayer || [];\n                    window.dataLayer.push({\n                        event: 'form_start_namams_end_2',\n                        formID: 'success-form-step2',\n                    });\n                    console.log('form_start_namams_end_2 event pushed to dataLayer');\n\n                    successFormStep2.style.display = 'none';\n                    contactFormStep1.style.display = 'none';\n                    leftSidebar.style.display = 'none';\n                    if (lang === 'lt') {\n                        window.location.href = \"\/uzklausa-gauta-fiziniam\/\";\n                    } else if (lang === 'en') {\n                        window.location.href = \"\/en\/request-received-location\/\";\n                    }\n                } else if (data.message === 'Error') {\n                    if (data.errors.building) {\n                        document.getElementById('building-error').textContent = data.errors.building;\n                    }\n                    if (data.errors.distance) {\n                        document.getElementById('distance-error').textContent = data.errors.distance;\n                    }\n                    if (data.errors.files) {\n                        document.getElementById('files-error').textContent = data.errors.files;\n                    }\n                    if (data.errors.galingumas) {\n                        document.getElementById('galingumas-error').textContent = data.errors.galingumas;\n                    }\n                    if (data.errors.kita) {\n                        document.getElementById('kita-error').textContent = data.errors.kita;\n                    }\n                    nextStepButton.disabled = false;\n                    nextStepButton.textContent = 'Submit';\n                    nextStepButton.classList.remove('loading-animation');\n                    formResponse2.innerHTML = '';\n                    formSubmitted = true;\n                } else {\n                    formResponse2.innerHTML = '<div class=\"error-message\">Unforeseen error, please reload the page.<\/div>';\n                }\n            })\n            .catch(function(error) {\n                console.error(\"Error occurred:\", error);\n                formResponse2.innerHTML = '<div class=\"error-message\">Unforeseen error, please reload the page.<\/div>';\n            })\n            .finally(function() {\n                nextStepButton.disabled = false;\n            });\n        });\n\n        updateStepIndicator();\n\n        function validateStep1() {\n            var name = document.getElementById('name').value.trim();\n            var mobile = document.getElementById('mobile').value.trim();\n            var email = document.getElementById('email').value.trim();\n\n            if (name === '' || mobile === '' || email === '') {\n                formResponse.innerHTML = '<div class=\"error-message\">Information processed...<\/div>';\n                return false;\n            }\n\n            return true;\n        }\n\n        function loadDataForStep2() {             \n            fetch('https:\/\/ikrautas.lt\/wp-content\/plugins\/ikrautas-monday-api\/formos\/get_form.php?secret_key=' + secretKeys, {\n                method: 'GET',\n            })\n            .then(function(response) { return response.json(); })\n            .then(function(data) {\n                if (data.message === 'OK') {\n                    currentStep = 2;\n                    updateStepIndicator();\n                    contactFormStep1.style.display = 'none';\n                    successFormStep2.style.display = 'block';\n                    firstStep.style.display = 'none';\n                    secondStep.style.display = 'block';\n                } else {\n                    formResponse2.innerHTML = '<div class=\"error-message\">' + data.errors + '<\/div>';\n                }\n            })\n            .catch(function(error) {\n                formResponse2.innerHTML = '<div class=\"error-message\">Unforeseen error, please reload the page.<\/div>';\n            });\n        }\n\n        if (secretKeys !== null) {\n            loadDataForStep2();\n        }\n    });\n<\/script>\n\n\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-16139","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Individual person - Ikrautas<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ikrautas.lt\/en\/individual-person\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Individual person - Ikrautas\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ikrautas.lt\/en\/individual-person\/\" \/>\n<meta property=\"og:site_name\" content=\"Ikrautas\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-23T07:05:00+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ikrautas.lt\/en\/individual-person\/\",\"url\":\"https:\/\/ikrautas.lt\/en\/individual-person\/\",\"name\":\"Individual person - Ikrautas\",\"isPartOf\":{\"@id\":\"https:\/\/ikrautas.lt\/en\/#website\"},\"datePublished\":\"2024-07-16T08:51:35+00:00\",\"dateModified\":\"2025-10-23T07:05:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/ikrautas.lt\/en\/individual-person\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ikrautas.lt\/en\/individual-person\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ikrautas.lt\/en\/individual-person\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Pagrindinis\",\"item\":\"https:\/\/ikrautas.lt\/en\/home\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Individual person\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ikrautas.lt\/en\/#website\",\"url\":\"https:\/\/ikrautas.lt\/en\/\",\"name\":\"Ikrautas\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ikrautas.lt\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Individual person - Ikrautas","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ikrautas.lt\/en\/individual-person\/","og_locale":"en_US","og_type":"article","og_title":"Individual person - Ikrautas","og_url":"https:\/\/ikrautas.lt\/en\/individual-person\/","og_site_name":"Ikrautas","article_modified_time":"2025-10-23T07:05:00+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ikrautas.lt\/en\/individual-person\/","url":"https:\/\/ikrautas.lt\/en\/individual-person\/","name":"Individual person - Ikrautas","isPartOf":{"@id":"https:\/\/ikrautas.lt\/en\/#website"},"datePublished":"2024-07-16T08:51:35+00:00","dateModified":"2025-10-23T07:05:00+00:00","breadcrumb":{"@id":"https:\/\/ikrautas.lt\/en\/individual-person\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ikrautas.lt\/en\/individual-person\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ikrautas.lt\/en\/individual-person\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Pagrindinis","item":"https:\/\/ikrautas.lt\/en\/home\/"},{"@type":"ListItem","position":2,"name":"Individual person"}]},{"@type":"WebSite","@id":"https:\/\/ikrautas.lt\/en\/#website","url":"https:\/\/ikrautas.lt\/en\/","name":"Ikrautas","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ikrautas.lt\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/ikrautas.lt\/en\/wp-json\/wp\/v2\/pages\/16139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ikrautas.lt\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ikrautas.lt\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ikrautas.lt\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ikrautas.lt\/en\/wp-json\/wp\/v2\/comments?post=16139"}],"version-history":[{"count":5,"href":"https:\/\/ikrautas.lt\/en\/wp-json\/wp\/v2\/pages\/16139\/revisions"}],"predecessor-version":[{"id":16144,"href":"https:\/\/ikrautas.lt\/en\/wp-json\/wp\/v2\/pages\/16139\/revisions\/16144"}],"wp:attachment":[{"href":"https:\/\/ikrautas.lt\/en\/wp-json\/wp\/v2\/media?parent=16139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}