Apply Now

SBA Loans | Lendio.com

Let's get started.

$
.noDisplay { display: none; } .hidden { opacity: 0;} /* header */ #applynow > div.pt-md-5:first-of-type, #bottom-cta, #lendio-header, body > .container-fluid.d-none.d-lg-block.background-100 { display:none !important; } #applynow .section-full.position-relative.border-top.py-8 { border-top:none !important; padding-top: 1rem!important; } #applynow .section-full > div.container { max-width:100%; } #default-header { border-bottom: solid 1px #DAE0E4; padding: 20px 0 30px; } .site-logo { display: block; height: 25px; width: 99px; background-repeat: no-repeat; background-image: url(https://www.lendio.com/wp-content/themes/lendio-standards/images/2021-logo.svg); } .tao-progressbarCon { position: absolute; width: 70%; left: 50%; transform: translate(-50%, -50%); align-items:center; } .tao-progressbar { color: #6b717a; margin-top: 5px; } .text-start { text-align: left!important; } .tao-progressbar-container { position: relative; display: inline-block; width: 100%; } .tao-progressbar-container .bar { height: 10px; background-color: #ecf1f8; position: absolute; width: 99.96%; left: 0; } .tao-progressbar-container .bar-status { background-color:#0082ff; z-index:1; position:absolute; max-width:100%; } .tao-progress-nav-btn-back:hover, .tao-progress-nav-btn-next:hover { cursor: pointer; } .navigationButtons { color: #6b717a; cursor: pointer; } .svg-inline--fa { display: inline-block; font-size: inherit; height: 1em; overflow: visible; vertical-align: -0.125em; } .bar-text { font-size: 14px; } #applynow #pwfTao #pwf-submit-button.disabled { color:#acbacd !important; background-color:#e7edf5 !important; border-color:#e7edf5 !important; } /* pwf */ pwf-widget .carousel-item.question { display: none; } .pwfTaoCarouselItem:not(.active) { display: none; } .pwfTaoCarouselItem { max-width: 779px; margin: 0 auto; } #pwfTao-carousel { margin: 3rem 3rem 0; height:auto; } #pwfTao-carousel .pwfTao-question-title h3, #pwf-2 .slide-7 .row.mb-5 h3 { font-weight: 700!important; line-height: 40px; } .pwfTao-select-boxes { display: inherit; grid-gap: 10px; } .pwfTao-select-box { width:150px; height: auto; border: 2px solid #DAE0E4; color: #6B717A;; border-radius: 8px; text-align: center; min-height: 100px; max-width:100%; } .pwfTao-select-box:hover { border: 2px solid #0082FF; color: #0082FF;; cursor: pointer; font-weight: 700; } .invalidFeedback, .invalidFeedback2 { width: 100%; margin-top: 0.25rem; font-size: .875em; color: #dc3545; } .custom-select.is-invalid, .form-control.is-invalid { border-color: #dc3545!important; padding-right: calc(1.5em + 0.75rem); background-repeat: no-repeat; background-position: right calc(0.375em + 0.1875rem) center; background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .input-group { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; } .input-group>.form-control, .input-group>.form-select { position: relative; flex: 1 1 auto; width: 1%; min-width: 0; } .dollar{ display:inline-block; position: relative; color: gray; width: 100%; max-width:300px; margin:0 auto; } .dollar input{ padding-left:15px; border: 1px solid #BBC7D7; } .dollar:before { position: absolute; content:"$"; left:5px; top:12px; z-index: 10; } .pwfTao-dropdown { border-radius: .25rem; height: 48px; width: 100%; color: #6b717a; padding-left: 12px; border-color: #BBC7D7; position: relative; } .secondaryQBtn { text-decoration: underline; color: #6B717A; } .timeCon { max-width: 500px; margin: 0 auto; } .pwfTao-or-text { color: #6B717A; } #tao-entity-type .pwfTao-select-box { min-width: 140px; } #pwfTaoSlide7 h5 { font-weight: 600; } #topErrorMsg { text-align: center; margin-top: 20px; color: #dc3545; position: absolute; top:-30px; left: 50%; transform: translate(-50%, -50%); } .pwfTao-question-input { width:310px; margin: 0 auto; padding-left: 0; } .form-control { height: 48px; width:310px; } pwf-widget .form-control { width: 100%; } .timeCon .col-4 { padding-left: 0; } .icon-select-box { } .icon-select-box p { text-align: center; } .secondaryQ .label { font-size: 20px; } #taoPreQualified #tao-pwf-submit-button { background-color: #00C058; border-color: #00C058; } #pwf-2 .slide-7 h3 { text-align: center!important; font-weight: 700!important; } #taoIndustry { width: 500px; } .fine-print { text-align: left; } #pwfTaoSlide5 .icon-select-box { padding-bottom: 1.5rem!important; } #pwf-2 .form-check { text-align:left; } #taoCreditScore { flex-direction: row-reverse; } #taoTimeInBusinessMonth, #taoIndustry { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUCAMAAACtdX32AAAAdVBMVEUAAAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhMdQaAAAAJ3RSTlMAAAECAwQGBwsOFBwkJTg5RUZ4eYCHkJefpaytrsXGy8zW3+Do8vNn0bsyAAAAYElEQVR42tXROwJDQAAA0Ymw1p9kiT+L5P5HVEi3qJn2lcPjtIuzUIJ/rhIGy762N3XaThqMN1ZPALsZPEzG1x8LrFL77DHBnEMxBewz0fJ6LyFHTPL7xhwzWYrJ9z22AqmQBV757MHfAAAAAElFTkSuQmCC); background-position: 100%; background-repeat: no-repeat; background-size: 20px; -webkit-appearance: none !important; -moz-appearance: none !important; } .form-check .agree-size[data-v-2c0dfc18] { white-space:break-spaces !important; max-height:52px; overflow-y:scroll; border:1px solid #e5e5e5; padding:6px; } .fine-print[data-v-2c0dfc18] { display:none; } #applynow #pwfTao > div.container.position-relative { padding:0; } @media only screen and (max-width:767px) { #taoCreditScore { flex-direction: column-reverse; display:flex !important; } #pwfTaoSlide5 .icon-select-box { padding-bottom:0!important; max-width:100%; } #taoCreditScore .pwfTao-select-box .label br { margin-left: 5px; content: ''; } #default-header { padding:0 0 30px;} #default-header .col-2 { width:21%; } #default-header .col-8 { width:58%; padding: 0; } .site-logo { width: 100%; background-position:center; margin:0 auto !important; } } /* icons */ .checkmark-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/checkmark.png); background-repeat: no-repeat; background-position: center; background-size: 20px; } .x-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/x-circle.png); background-repeat: no-repeat; background-position: center; background-size: 20px; } .c-corp-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-entityType-c-corp-icon.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .llc-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-entityType-llc-icon.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .partnership-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-entityType-partnership-icon.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .s-corp-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-entityType-s-corp-icon.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .soleprop-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-entityType-soleprop-icon.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .amount-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-fundAspect-amount-icon.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .cost-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-fundAspect-cost-icon.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .speed-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-fundAspect-speed-icon.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .pwfTao-select-box:hover .checkmark-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/checkmark.png); background-repeat: no-repeat; background-position: center; background-size: 20px; } .pwfTao-select-box:hover .x-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/x-circle.png); background-repeat: no-repeat; background-position: center; background-size: 20px; } .pwfTao-select-box:hover .c-corp-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-entityType-c-corp-icon-blue.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .pwfTao-select-box:hover .llc-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-entityType-llc-icon-blue.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .pwfTao-select-box:hover .partnership-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-entityType-partnership-icon-blue.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .pwfTao-select-box:hover .s-corp-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-entityType-s-corp-icon-blue.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .pwfTao-select-box:hover .soleprop-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-entityType-soleprop-icon-blue.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .pwfTao-select-box:hover .amount-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-fundAspect-amount-icon-blue.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .pwfTao-select-box:hover .cost-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-fundAspect-cost-icon-blue.png); background-repeat: no-repeat; background-position: center; background-size: contain; } .pwfTao-select-box:hover .speed-icon { background-image: url(https://lp.lendio.com/hubfs/onsite-images/sexy-eligible/2022-fundAspect-speed-icon-blue.png); background-repeat: no-repeat; background-position: center; background-size: contain; } /* footer */ #footer .site-footer { padding: 25px 32px; } #footer .site-logo { width: unset; background-position: center; margin-top: 20px; } #footer .howCon { margin-top: 10px; } #footer hr { margin-top: 0!important; } /* modal */ #howItWorksModal { display: none; } .modalBackground { position:fixed; background-color:rgba(71,71,71,.8); height: 100%; left: 0; top: 0; width: 100%; z-index: 2000; overflow-y: auto; } .modalClose { cursor: pointer; color: #fff; right: -6px; text-align: right; padding-right: 6px; width: 100%; overflow: visible; background: 0 0; border: 0; -webkit-appearance: none; display: block; outline: 0; z-index: 1046; box-shadow: none; touch-action: manipulation; height: 44px; line-height: 44px; position: absolute; text-decoration: none; opacity: .65; font-style: normal; font-size: 28px; top: -40px; } .hiw-container { padding: 40px; text-align: center; position: fixed; width: 100%; right: 0; top: 50%; transform: translateY(-50%); box-sizing: border-box; } .hiw-container:before { content: ""; display: inline-block; height: 100%; vertical-align: middle; } .hiw-content { line-height: 0; width: 100%; max-width: 900px; cursor: auto; position: relative; display: inline-block; vertical-align: middle; margin: 0 auto; text-align: left; z-index: 1045; } .hiw-iframe-scaler { width: 100%; height: 0; overflow: hidden; padding-top: 56.25%; } .hiw-iframe { position: absolute; display: block; top: 0; left: 0; width: 100%; height: 100%; box-shadow: 0 0 8px rgb(0 0 0 / 60%); background: #000; } @media (min-width: 768px) and (max-width: 992px) { .container, .container-md, .container-sm { max-width: 100%!important; } } @media only screen and (max-width:768px) { #pwfTao-carousel { margin: 2rem; height: 650px; } .tao-progressbarCon { width:99%; top: 100px; } .pwfTao-select-box { margin: 0 auto; width: 310px; border-radius: 4px; margin-bottom: 8px; min-height: 48px; } .pwfTao-select-box:hover { color: #fff; background-color: #0082FF; } #footer .site-logo { margin-top: 0; margin-bottom: 10px; } #default-header { height: 130px; } #pwfTao-carousel .pwfTao-question-title h3 { line-height: 32px; } .icon-select-box { height: 65px;} .icon-select-box div { background-position:86% center; margin-right: 10px; background-size:contain; } .icon-select-box p { text-align: left; padding-left: 25px; } #pwfTaoSlide7 .container { padding-left: 0; padding-right: 0; } } @media only screen and (max-width:588px) { #pwfTaoSlide7 h1 { font-size: 32px; line-height: 40px; } #pwfTaoSlide7 h5 { font-size: 18px; line-height: 22px; } #pwfTao-carousel { margin: 1rem; } } var num = 100/6
Checking your eligibility...
$(document).ready(function(){ document.querySelector('#pwfWidgetCon #pwf-2 .slide-7 #pwf-submit-button').innerText = 'Apply for free'; const legalTxtCons = document.querySelectorAll('.agree-size[data-v-2c0dfc18]'); legalTxtCons[0].innerHTML = 'I agree to Lendio\'s Registration Terms
I acknowledge that I have read and agree to the Terms of Application, Terms of Use, Credit Gathering Authorization, Information Sharing Agreement and Privacy Policy.'; legalTxtCons[1].innerHTML = 'I consent to the terms below
I consent to receive phone calls and/or text messages, including autodialed and pre-recorded calls, for marketing purposes, from Lendio and its participating partners at the phone number provided above. I acknowledge that consent is not a condition of purchase or account creation and that telephone calls to and from Lendio or its partners may be recorded. Message and data rates may apply. I understand I may opt out at any time. For more information, see Section 11 of the Terms of Use.'; }); document.getElementById("taoAmountSeeking-input").addEventListener("input", questionOne); function questionOne() { if(document.getElementById("taoAmountSeeking-input").value == ''){ document.getElementById('amountSeekingSubmit').disabled = true; }else { document.getElementById('amountSeekingSubmit').disabled = false; } } document.getElementById("taoTimeInBusinessYear").addEventListener("input", questionTwo); document.getElementById("taoTimeInBusinessMonth").addEventListener("input", questionTwo); function questionTwo() { if(document.getElementById("taoTimeInBusinessYear").value == '' || document.getElementById("taoTimeInBusinessMonth").value == 'default'){ document.getElementById('timeInBusinessSubmit').disabled = true; }else { document.getElementById('timeInBusinessSubmit').disabled = false; } } document.getElementById("taoAverageMonthlySales-input").addEventListener("input", questionThree); function questionThree() { if(document.getElementById("taoAverageMonthlySales-input").value == ''){ document.getElementById('avgSalesSubmit').disabled = true; }else { document.getElementById('avgSalesSubmit').disabled = false; } } document.querySelector("#pwfWidgetCon .hs_cos_wrapper link[href*='guide']").remove() var pwf = document.querySelector('progressive-form'); var pwfTouchForm = document.createElement("pwf-widget"); pwfTouchForm.setAttribute("id","version-touch") pwfTouchForm.setAttribute("version","a") pwf.style.display="none" pwf.parentElement.appendChild(pwfTouchForm) var pwfTaoCarouselItems = document.querySelectorAll(".pwfTaoCarouselItem"), backButton = document.querySelector(".navigationButtons-back"), nextButton = document.querySelector(".navigationButtons-next"), barStatus = document.querySelector(".bar-status"), progressbar = document.querySelector(".tao-progressbarCon"), pwfWidget = document.querySelector("#pwfWidgetCon"), spinner = document.querySelector("#taoSpinner"); //////// base functions //////// function progressPwf (p,d) { // answer pwf questions to progress to form if (p === "business_start_date") { var sixMoAgo = new Date(); sixMoAgo.setMonth(sixMoAgo.getMonth() - 6) sixMoAgo = convertDate(sixMoAgo) if (dreams.dataLayer.borrowerAnswers.business_start_date <= sixMoAgo) { document.querySelector("pwf-widget .select-box[data-cy='timeInBusiness-111']").click() } else { document.querySelector("pwf-widget .select-box[data-cy='timeInBusiness-110']").click() } } else if (p === "amountSeeking") { var amountRange = "" d = d.replaceAll(",","") d = parseInt(d) if (d < 5000) { amountRange = "4999" } else if (d < 25000) { amountRange = "24999" } else if (d < 50000) { amountRange = "49999" } else if (d < 100000) { amountRange = "99999" } else if (d < 250000) { amountRange = "249999" } else if (d < 500000) { amountRange = "499999" } else if (d = 1000000) { amountRange = "1000000" } document.querySelector("pwf-widget .select-box[data-cy='" + p + "-" + amountRange + "']").click() } else if (p === "averageMonthlySales") { var amountRange = "" d = d.replaceAll(",","") d = parseInt(d) if (d < 8000) { amountRange = "7999" } else if (d < 15000) { amountRange = "14999" } else if (d < 20000) { amountRange = "19999" } else if (d < 50000) { amountRange = "49999" } else if (d < 80000) { amountRange = "79999" } else if (d < 200000) { amountRange = "199999" } else if (d = 400000) { amountRange = "400000" } document.querySelector("pwf-widget .select-box[data-cy='" + p + "-" + amountRange + "']").click() } else if (p === "creditScore") { document.querySelector("pwf-widget .select-box[data-cy='" + p + "-" + d + "']").click() } else if ( p === "entityType") { document.querySelector("pwf-widget #entityType").value = d document.querySelector("pwf-widget #entityType").dispatchEvent(new Event('change')); } else if (p === "industry") { document.querySelector("pwf-widget #industry").value = d document.querySelector("pwf-widget #industry").dispatchEvent(new Event('change')); } }; function updateDataLayer(p,d) { progressPwf (p,d) // set interest if (!dreams.dataLayer.borrowerAnswers) { dreams.setData({ path: "borrowerAnswers.interest", data: "marketplace" }) } dreams.setData({ path: "borrowerAnswers." + p, data: d }) adobe.target.trackEvent({ mbox: 'event', params: { 'orderId': dreams.dataLayer.user.lendioId, 'orderTotal': 0, 'productPurchasedId': 'marketplace', 'answered': p } }); } function nextSlide(elem) { if (elem.attributes.id.value === "pwfTaoSlide1") { elem.classList.toggle("active") elem.nextElementSibling.classList.toggle("active") backButton.classList.remove("hidden") } else if (elem.attributes.id.value === "pwfTaoSlide6") { elem.classList.toggle("active") elem.nextElementSibling.classList.toggle("active") checkEligibility() } else if (elem.nextElementSibling) { elem.classList.toggle("active") elem.nextElementSibling.classList.toggle("active") } } function previousSlide(elem) { if (elem.attributes.id.value === "pwfTaoSlide2") { elem.classList.toggle("active") elem.previousElementSibling.classList.toggle("active") backButton.classList.add("hidden") } else if (elem.attributes.id.value === "pwfTaoSlide7") { elem.classList.toggle("active") elem.previousElementSibling.classList.toggle("active") nextButton.classList.remove("hidden") } else if (elem.previousElementSibling) { elem.classList.toggle("active") elem.previousElementSibling.classList.toggle("active") } } function updateBarStatus(direction) { var currentWidth = document.querySelector(".bar-status").style.width if (direction === "increase") { barStatus.style.setProperty('width', 'calc('+currentWidth+' + 100%/6)'); } else if (direction === "decrease") { barStatus.style.setProperty('width', 'calc('+currentWidth+' - 100%/6)'); } } function convertDate(date) { var yyyy = date.getFullYear().toString(), mm = (date.getMonth()+1).toString(), dd = "01", mmChars = mm.split(''); return yyyy + '-' + (mmChars[1]?mm:"0"+mmChars[0]) + '-' + dd; } //////// main button progression //////// pwfTaoCarouselItems.forEach(function(a) { a.querySelectorAll(".mainQ .pwfTao-select-box").forEach(function(b) { b.addEventListener("click", function() { updateDataLayer(b.dataset.cy.split("-")[0],b.dataset.cy.split("-")[1]) nextSlide(a) updateBarStatus("increase") }) }) a.querySelectorAll(".secondaryQ .pwfTao-select-box").forEach(function(b) { b.addEventListener("click", function() { if (b.dataset.cy.split("-")[0] === "timeInBusiness") { if (b.dataset.cy.split("-")[1] === "yes") { var sixMoAgo = new Date(); sixMoAgo.setMonth(sixMoAgo.getMonth() - 6) updateDataLayer("business_start_date",convertDate(sixMoAgo)) } else { var todaysDate = new Date(); updateDataLayer("business_start_date",convertDate(todaysDate)) } } else if (b.dataset.cy.split("-")[0] === "averageMonthlySales") { if (b.dataset.cy.split("-")[1] === "yes") { updateDataLayer(b.dataset.cy.split("-")[0],"29999") } else { updateDataLayer(b.dataset.cy.split("-")[0],"7999") } } else if (b.dataset.cy.split("-")[0] === "creditScore") { if (b.dataset.cy.split("-")[1] === "yes") { updateDataLayer(b.dataset.cy.split("-")[0],"880") } else { updateDataLayer(b.dataset.cy.split("-")[0],"878") } } else if (b.dataset.cy.split("-")[0] === "bankAccount") { if (b.dataset.cy.split("-")[1] === "yes") { updateDataLayer(b.dataset.cy.split("-")[0],"yes") } else { updateDataLayer(b.dataset.cy.split("-")[0],"no") } } nextSlide(a) updateBarStatus("increase") secondaryQ(a) }) }) }) function industryHandler(a,b) { updateDataLayer(b.dataset.name,b.value) nextSlide(a) updateBarStatus("increase") } //////// secondary options progression //////// // q1, q2 & q3 buttons var nextQ_btn = function(elem) { if (elem.attributes.id.value === "pwfTaoSlide1") { if (elem.querySelector("input").value) { updateDataLayer(elem.querySelector("input").dataset.name,elem.querySelector("input").value) nextSlide(elem) updateBarStatus("increase") } else if (("borrowerAnswers" in dreams.dataLayer)) { if (("amountSeeking" in dreams.dataLayer.borrowerAnswers)) { nextSlide(elem) updateBarStatus("increase") } else { addErrorMsg(elem) elem.querySelectorAll(".pwfTao-select-box").forEach(function(a) { a.addEventListener("click", function() { removeErrorMsg(elem) }) }) elem.querySelector("input").addEventListener("focus",function() { removeErrorMsg(elem) }) } } else { addErrorMsg(elem) elem.querySelectorAll(".pwfTao-select-box").forEach(function(a) { a.addEventListener("click", function() { removeErrorMsg(elem) }) }) elem.querySelector("input").addEventListener("focus",function() { removeErrorMsg(elem) }) } } else if (elem.attributes.id.value === "pwfTaoSlide2") { var a = elem.querySelector("select"), b = elem.querySelector("input"); if ((/default/.test(a.value) || b.value === "") && !("business_start_date" in dreams.dataLayer.borrowerAnswers)) { validateForm(taoTimeInBusinessYear) validateForm(taoTimeInBusinessMonth) } else if ("business_start_date" in dreams.dataLayer.borrowerAnswers) { nextSlide(elem) updateBarStatus("increase") adobe.target.trackEvent({ mbox: 'event', params: { 'orderId': dreams.dataLayer.user.lendioId, 'orderTotal': 0, 'productPurchasedId': 'marketplace', 'answered': 'business_start_date' } }); } else { updateDataLayer("business_start_date",b.value + "-" + a.value + "-01") nextSlide(elem) updateBarStatus("increase") } } else if (elem.attributes.id.value === "pwfTaoSlide3") { if (elem.querySelector("input").value) { updateDataLayer(elem.querySelector("input").dataset.name,elem.querySelector("input").value) nextSlide(elem) updateBarStatus("increase") } else if ("averageMonthlySales" in dreams.dataLayer.borrowerAnswers) { nextSlide(elem) updateBarStatus("increase") } else { addErrorMsg(elem) elem.querySelectorAll(".pwfTao-select-box").forEach(function(a) { a.addEventListener("click", function() { removeErrorMsg(elem) }) }) elem.querySelector("input").addEventListener("focus",function() { removeErrorMsg(elem) }) } } } // q1 & q3 format amount function updateTextView(_obj){ var num = getNumber(_obj.value) if(num==0){ _obj.value= ''; }else{ _obj.value = num.toLocaleString(); } } function getNumber(_str){ var arr = _str.split(''); var out = new Array(); for(var cnt=0;cnt<arr.length;cnt++){ if(isNaN(arr[cnt])==false){ out.push(arr[cnt]); } } return numberWithCommas(Number(out.join(''))); } function numberWithCommas(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); } document.querySelector("#taoAmountSeeking-input").onkeyup = function() { updateTextView(this); } document.querySelector("#taoAverageMonthlySales-input").onkeyup = function() { updateTextView(this); } // q2 form validation function removeErrorMsg(field) { if (field.attributes.id.value === "pwfTaoSlide1" || field.attributes.id.value === "pwfTaoSlide2" || field.attributes.id.value === "pwfTaoSlide3") { field.querySelector(".invalidFeedback2").classList.add("noDisplay") } if (field.attributes.id.value === "taoTimeInBusinessMonth") { field.classList.remove("is-invalid") } if (/Year/.test(field.name)) { field.parentElement.nextElementSibling.classList.add("noDisplay") } } function addErrorMsg(field) { if (field.attributes.id.value === "pwfTaoSlide1" || field.attributes.id.value === "pwfTaoSlide2" || field.attributes.id.value === "pwfTaoSlide3") { field.querySelector(".invalidFeedback2").classList.remove("noDisplay") } if (field.attributes.id.value === "taoTimeInBusinessMonth") { field.classList.add("is-invalid") } if (/Year/.test(field.name)) { field.parentElement.nextElementSibling.classList.remove("noDisplay") } } function validateForm(field) { if (/Year/.test(field.name)) { if (field.value.length === 4 && /^(19|20)\d{2}$/.test(field.value)) { removeErrorMsg(field) } else { addErrorMsg(field) } } else if (/Month/.test(field.name)) { if (field.value !== "default") { removeErrorMsg(field) } else { addErrorMsg(field) } } } //////// unsure qs progression //////// function secondaryQ(elem) { elem.querySelector(".mainQ").classList.toggle("noDisplay") elem.querySelector(".secondaryQ").classList.toggle("noDisplay") } //////// pre qual //////// function checkEligibility() { progressbar.classList.add("noDisplay") document.querySelector("#default-header").style.height = "80px" // document.querySelector(".progressbar").remove() document.querySelector("pwf-widget #industry").dispatchEvent(new Event('change')); document.querySelector("#pwf-2 .slide-7").classList.add("active") document.querySelector("pwf-widget .order-first").remove() document.querySelector("#pwf-2 .slide-7 h3").innerHTML = "Create a Lendio account
to see your eligibility." document.querySelector(".container.position-relative").classList.remove("mb-5") document.querySelector(".container.position-relative").classList.remove("px-1") document.querySelector(".container.position-relative").classList.remove("px-sm-4") document.querySelector(".pwf-mobile-widget").classList.remove("px-4") document.querySelector(".pwf-mobile-widget").classList.remove("py-5") setTimeout(function() { spinner.classList.toggle("noDisplay") pwfWidget.classList.toggle("noDisplay") document.querySelector("#pwfTao-carousel").style.height = "100%" }, 2000); } //////// navigation buttons //////// backButton.addEventListener("click", function() { pwfTaoCarouselItems.forEach(function(elem) { if (elem.classList.contains("active")) { previousSlide(elem) updateBarStatus("decrease") }; }); }); nextButton.addEventListener("click", function() { var evaluated = false; function showError(elem) { document.querySelector("#topErrorMsg").classList.remove("hidden") evaluated = true; elem.addEventListener("click", function() { document.querySelector("#topErrorMsg").classList.add("hidden") }) backButton.addEventListener("click", function() { document.querySelector("#topErrorMsg").classList.add("hidden") }) } pwfTaoCarouselItems.forEach(function(elem) { if (elem.classList.contains("active") && !evaluated) { if (("borrowerAnswers" in dreams.dataLayer)) { if (!(elem.dataset.cy in dreams.dataLayer.borrowerAnswers)) { showError(elem) } else { progressPwf (elem.dataset.cy.split("-")[0],elem.dataset.cy.split("-")[1]) nextSlide(elem) updateBarStatus("increase") evaluated = true; } } else { showError(elem) } } }); }); //////// modal functionality //////// function openModalDiv() { document.getElementById('howItWorksModal').style.display = 'block'; } function closeModalDiv() { document.getElementById('howItWorksModal').style.display = 'none'; }

Quickly Compare Loan Offers from Multiple Lenders

Compare Offers
from 75+ Lenders

Applying is free and won’t impact your credit
Talk to a rep at (855) 853-6346

Mon–Fri | 7:30am–5pm MST