{"id":162,"date":"2024-04-07T22:01:17","date_gmt":"2024-04-07T18:01:17","guid":{"rendered":"https:\/\/caspianfinance.az\/?page_id=162"},"modified":"2024-09-17T04:00:44","modified_gmt":"2024-09-17T00:00:44","slug":"loan-request","status":"publish","type":"page","link":"https:\/\/caspianfinance.az\/en\/loan-request\/","title":{"rendered":"Loan Request"},"content":{"rendered":"\n\n\n\n\n\n\n\n<h2>Loan Application Form<\/h2>\n\n\n\n\n\n\n\n\n\n\n\n<!DOCTYPE html>\n<html>\n<head>\n    <title>Loan Application Form<\/title>\n    <script src=\"https:\/\/www.google.com\/recaptcha\/api.js\" async defer><\/script>\n    <style>\n        \/* CSS kodlar\u0131 burada *\/\n        .file-upload-wrapper {\n            display: flex;\n            align-items: center;\n            cursor: pointer;\n            position: relative;\n            margin-bottom: 5px;\n        }\n        .file-upload-input {\n            display: none;\n        }\n        .file-upload-button,\n        .file-upload-remove {\n            width: 100%;\n            padding: 6px;\n            border: 1px solid #55a0f5ff;\n            background-color: #f9f9f9;\n            color: #333;\n            text-align: center;\n            border-radius: 5px;\n            cursor: pointer;\n            transition: background-color 0.3s;\n        }\n        .file-upload-button:hover,\n        .file-upload-remove:hover {\n            background-color: #55a0f5ff;\n        }\n        .file-upload-remove {\n            display: none; \/* Initially hidden *\/\n        }\n        .file-upload-info {\n            margin-left: 10px;\n            color: #666;\n        }\n        .terms {\n            display: flex;\n            align-items: center;\n            margin-bottom: 20px;\n        }\n        .terms input[type=\"checkbox\"] {\n            margin-right: 10px;\n        }\n        .form-group {\n            margin-bottom: 10px;\n        }\n        .form-group label {\n            display: block;\n            margin-bottom: 8px;\n            font-weight: bold;\n        }\n        .form-group input,\n        .form-group select,\n        .form-group textarea {\n            width: 100%;\n            padding: 8px 20px;\n            border: none;\n            border-bottom: 1px solid #55a0f5ff;\n            background: none;\n            box-sizing: border-box;\n        }\n        .form-group input:focus,\n        .form-group select:focus,\n        .form-group textarea:focus {\n            outline: none;\n            border-bottom: 1px solid #0073aa;\n        }\n        .form-group.error input,\n        .form-group.error select,\n        .form-group.error textarea {\n            border-bottom: 1px solid red;\n        }\n        .error-message {\n            color: red;\n            margin-top: 10px;\n        }\n    <\/style>\n<\/head>\n<body>\n    <form id=\"applicationForm\" method=\"post\" enctype=\"multipart\/form-data\" style=\"max-width: 600px; margin: 0 auto;\" onsubmit=\"return validateForm()\">\n        <div class=\"form-group\" id=\"firstNameGroup\">\n            <label for=\"firstName\">Name:<\/label>\n            <input type=\"text\" id=\"firstName\" name=\"firstName\">\n        <\/div>\n        <div class=\"form-group\" id=\"lastNameGroup\">\n            <label for=\"lastName\">Last Name:<\/label>\n            <input type=\"text\" id=\"lastName\" name=\"lastName\">\n        <\/div>\n        <div class=\"form-group\" id=\"phoneGroup\">\n            <label for=\"phone\">Phone Number:<\/label>\n            <input type=\"tel\" id=\"phone\" name=\"phone\">\n        <\/div>\n        <div class=\"form-group\" id=\"emailGroup\">\n            <label for=\"email\">E-mail Adress:<\/label>\n            <input type=\"email\" id=\"email\" name=\"email\">\n        <\/div>\n        <div class=\"form-group\" id=\"categoryGroup\">\n            <label for=\"category\">Loan type:<\/label>\n            <select id=\"category\" name=\"category\">\n                <option value=\"\">Select the loan type<\/option>\n                <option value=\"Household Loan\">Household Loan<\/option>\n                <option value=\"Furniture Loan\">Furniture Loan<\/option>\n                <option value=\"Leasing\">Leasing<\/option>\n                <option value=\"Micro-business Loan\">Micro-business Loan<\/option>\n                <option value=\"Mobile Phone Loan\">Mobile Phone Loan<\/option>\n                <option value=\"Factoring\">Factoring<\/option>\n            <\/select>\n        <\/div>\n        <div class=\"form-group\" id=\"messageGroup\">\n            <label for=\"message\">Detailed information for the loan:<\/label>\n            <textarea id=\"message\" name=\"message\"><\/textarea>\n        <\/div>\n        <div class=\"form-group\" id=\"idPhotoGroup\">\n            <label>Photo ID:<\/label>\n            <div class=\"file-upload-wrapper\">\n                <input type=\"file\" id=\"idPhotoFront\" name=\"idPhotoFront\" accept=\"image\/*\" class=\"file-upload-input\" onchange=\"updateFileName('idPhotoFront', 'fileNameFront', 'fileUploadButtonFront', 'fileRemoveButtonFront')\">\n                <div class=\"file-upload-button\" id=\"fileUploadButtonFront\" onclick=\"document.getElementById('idPhotoFront').click();\">Select the front side<\/div>\n                <div class=\"file-upload-remove\" id=\"fileRemoveButtonFront\" onclick=\"removeFile('idPhotoFront', 'fileUploadButtonFront', 'fileRemoveButtonFront', 'fileNameFront')\">Remove the file<\/div>\n                <span id=\"fileNameFront\" class=\"file-upload-info\"><\/span>\n            <\/div>\n            <div class=\"file-upload-wrapper\">\n                <input type=\"file\" id=\"idPhotoBack\" name=\"idPhotoBack\" accept=\"image\/*\" class=\"file-upload-input\" onchange=\"updateFileName('idPhotoBack', 'fileNameBack', 'fileUploadButtonBack', 'fileRemoveButtonBack')\">\n                <div class=\"file-upload-button\" id=\"fileUploadButtonBack\" onclick=\"document.getElementById('idPhotoBack').click();\">Select the reverse side<\/div>\n                <div class=\"file-upload-remove\" id=\"fileRemoveButtonBack\" onclick=\"removeFile('idPhotoBack', 'fileUploadButtonBack', 'fileRemoveButtonBack', 'fileNameBack')\">Remove the file<\/div>\n                <span id=\"fileNameBack\" class=\"file-upload-info\"><\/span>\n            <\/div>\n        <\/div>\n        <div class=\"terms\">\n            <input type=\"checkbox\" id=\"terms\" name=\"terms\">\n            <label for=\"terms\">I confirm the correctness of my information, I allow information about my credit obligations to be obtained from the AKB credit register and information about my income through the &#8220;ASAN Finans&#8221; system.<\/label>\n        <\/div>\n        <div class=\"form-group\">\n            <button type=\"submit\" name=\"submit\" style=\"width: 100%; padding: 10px; background-color: #0073aa; color: #fff; border: none; border-radius: 5px; cursor: pointer;\">Send<\/button>\n        <\/div>\n        <div id=\"formError\" class=\"error-message\"><\/div>\n        <!-- Google reCAPTCHA widget -->\n        <div class=\"g-recaptcha\" data-sitekey=\"6Lc6tBcqAAAAAHXCCoY5y1iUISYHHPFp56FRhhc1\"><\/div>\n    <\/form>\n\n    <script>\n        function updateFileName(fileInputId, fileNameId, uploadButtonId, removeButtonId) {\n            var fileInput = document.getElementById(fileInputId);\n            var fileName = document.getElementById(fileNameId);\n            var fileUploadButton = document.getElementById(uploadButtonId);\n            var fileRemoveButton = document.getElementById(removeButtonId);\n\n            if (fileInput.files.length > 0) {\n                fileName.textContent = fileInput.files[0].name;\n                fileUploadButton.style.display = 'none'; \/\/ Hide upload button\n                fileRemoveButton.style.display = 'block'; \/\/ Show remove button\n            } else {\n                fileName.textContent = '';\n                fileUploadButton.style.display = 'block'; \/\/ Show upload button\n                fileRemoveButton.style.display = 'none'; \/\/ Hide remove button\n            }\n        }\n\n        function removeFile(fileInputId, uploadButtonId, removeButtonId, fileNameId) {\n            var fileInput = document.getElementById(fileInputId);\n            var fileName = document.getElementById(fileNameId);\n            var fileUploadButton = document.getElementById(uploadButtonId);\n            var fileRemoveButton = document.getElementById(removeButtonId);\n\n            fileInput.value = ''; \/\/ Clear file input\n            fileName.textContent = ''; \/\/ Clear file name\n            fileUploadButton.style.display = 'block'; \/\/ Show upload button\n            fileRemoveButton.style.display = 'none'; \/\/ Hide remove button\n        }\n\n        function validateForm() {\n            var isValid = true;\n            var errorMessage = '';\n\n            \/\/ Clear previous errors\n            var errorElements = document.querySelectorAll('.form-group.error');\n            errorElements.forEach(function(el) {\n                el.classList.remove('error');\n            });\n            document.getElementById('formError').textContent = '';\n\n            \/\/ Get form values\n            var firstName = document.getElementById('firstName').value.trim();\n            var lastName = document.getElementById('lastName').value.trim();\n            var phone = document.getElementById('phone').value.trim();\n            var email = document.getElementById('email').value.trim();\n            var category = document.getElementById('category').value;\n            var message = document.getElementById('message').value.trim();\n            var idPhotoFront = document.getElementById('idPhotoFront').files.length;\n            var idPhotoBack = document.getElementById('idPhotoBack').files.length;\n            var termsAccepted = document.getElementById('terms').checked;\n\n            \/\/ Validate required fields\n            if (!firstName || !lastName || !phone || !email || !category || !message) {\n                isValid = false;\n                if (!firstName) document.getElementById('firstNameGroup').classList.add('error');\n                if (!lastName) document.getElementById('lastNameGroup').classList.add('error');\n                if (!phone) document.getElementById('phoneGroup').classList.add('error');\n                if (!email) document.getElementById('emailGroup').classList.add('error');\n                if (!category) document.getElementById('categoryGroup').classList.add('error');\n                if (!message) document.getElementById('messageGroup').classList.add('error');\n                document.getElementById('formError').textContent = 'All fields must be filled.';\n                return false; \/\/ Stop further validation\n            }\n\n            \/\/ Validate photo inputs\n            if (idPhotoFront === 0 || idPhotoBack === 0) {\n                isValid = false;\n                if (idPhotoFront === 0) {\n                    document.getElementById('fileUploadButtonFront').style.borderBottom = '1px solid red';\n                }\n                if (idPhotoBack === 0) {\n                    document.getElementById('fileUploadButtonBack').style.borderBottom = '1px solid red';\n                }\n                document.getElementById('formError').textContent = 'Please attach a photo of both sides of the ID.';\n                return false; \/\/ Stop further validation\n            }\n\n            \/\/ Validate terms\n            if (!termsAccepted) {\n                isValid = false;\n                document.getElementById('terms').style.border = '1px solid red';\n                document.getElementById('formError').textContent = 'You must accept the terms.';\n                return false; \/\/ Stop further validation\n            }\n\n            \/\/ Validate reCAPTCHA\n            var recaptchaResponse = grecaptcha.getResponse();\n            if (recaptchaResponse.length === 0) {\n                isValid = false;\n                document.getElementById('formError').textContent = 'Confirm you are not a robot.';\n                return false; \/\/ Stop further validation\n            }\n\n            return true; \/\/ All validations passed\n        }\n    <\/script>\n<\/body>\n<\/html>\n\n\n\n\n\n\n\n\n\n\n<h2>+994 12 465 00 52<\/h2>\n\n\n\n\n\n\n\n<h2>info@caspianfinance.az<\/h2>\n\n\n\n\n\n\n\n<h2>Ahmad Rajabli st.3, \u21164<\/h2>\n\n\n\n\n\n\n\n<h2>Work schedule: I &#8211; V days (9:00 &#8211; 18:00)<\/h2>\n\n\n\n\n\n\n\n\n\n\n\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"nf_dc_page":"","pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"class_list":["post-162","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Loan Request - Caspian Finance<\/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:\/\/caspianfinance.az\/en\/loan-request\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Loan Request - Caspian Finance\" \/>\n<meta property=\"og:url\" content=\"https:\/\/caspianfinance.az\/en\/loan-request\/\" \/>\n<meta property=\"og:site_name\" content=\"Caspian Finance\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-17T00:00:44+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:\\\/\\\/caspianfinance.az\\\/en\\\/loan-request\\\/\",\"url\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/loan-request\\\/\",\"name\":\"Loan Request - Caspian Finance\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/#website\"},\"datePublished\":\"2024-04-07T18:01:17+00:00\",\"dateModified\":\"2024-09-17T00:00:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/loan-request\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/caspianfinance.az\\\/en\\\/loan-request\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/loan-request\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Loan Request\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/\",\"name\":\"Caspian Finance\",\"description\":\"Caspian Finance\",\"publisher\":{\"@id\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/#organization\",\"name\":\"Caspian Finance\",\"url\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/cropped-cropped-Caspian-Logo_prev_ui-1-1.png\",\"contentUrl\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/cropped-cropped-Caspian-Logo_prev_ui-1-1.png\",\"width\":221,\"height\":220,\"caption\":\"Caspian Finance\"},\"image\":{\"@id\":\"https:\\\/\\\/caspianfinance.az\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Loan Request - Caspian Finance","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:\/\/caspianfinance.az\/en\/loan-request\/","og_locale":"en_US","og_type":"article","og_title":"Loan Request - Caspian Finance","og_url":"https:\/\/caspianfinance.az\/en\/loan-request\/","og_site_name":"Caspian Finance","article_modified_time":"2024-09-17T00:00:44+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/caspianfinance.az\/en\/loan-request\/","url":"https:\/\/caspianfinance.az\/en\/loan-request\/","name":"Loan Request - Caspian Finance","isPartOf":{"@id":"https:\/\/caspianfinance.az\/en\/#website"},"datePublished":"2024-04-07T18:01:17+00:00","dateModified":"2024-09-17T00:00:44+00:00","breadcrumb":{"@id":"https:\/\/caspianfinance.az\/en\/loan-request\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/caspianfinance.az\/en\/loan-request\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/caspianfinance.az\/en\/loan-request\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/caspianfinance.az\/en\/"},{"@type":"ListItem","position":2,"name":"Loan Request"}]},{"@type":"WebSite","@id":"https:\/\/caspianfinance.az\/en\/#website","url":"https:\/\/caspianfinance.az\/en\/","name":"Caspian Finance","description":"Caspian Finance","publisher":{"@id":"https:\/\/caspianfinance.az\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/caspianfinance.az\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/caspianfinance.az\/en\/#organization","name":"Caspian Finance","url":"https:\/\/caspianfinance.az\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/caspianfinance.az\/en\/#\/schema\/logo\/image\/","url":"https:\/\/caspianfinance.az\/en\/wp-content\/uploads\/2024\/07\/cropped-cropped-Caspian-Logo_prev_ui-1-1.png","contentUrl":"https:\/\/caspianfinance.az\/en\/wp-content\/uploads\/2024\/07\/cropped-cropped-Caspian-Logo_prev_ui-1-1.png","width":221,"height":220,"caption":"Caspian Finance"},"image":{"@id":"https:\/\/caspianfinance.az\/en\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/caspianfinance.az\/en\/wp-json\/wp\/v2\/pages\/162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/caspianfinance.az\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/caspianfinance.az\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/caspianfinance.az\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/caspianfinance.az\/en\/wp-json\/wp\/v2\/comments?post=162"}],"version-history":[{"count":5,"href":"https:\/\/caspianfinance.az\/en\/wp-json\/wp\/v2\/pages\/162\/revisions"}],"predecessor-version":[{"id":2307,"href":"https:\/\/caspianfinance.az\/en\/wp-json\/wp\/v2\/pages\/162\/revisions\/2307"}],"wp:attachment":[{"href":"https:\/\/caspianfinance.az\/en\/wp-json\/wp\/v2\/media?parent=162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}