[] VA Home Loans for Veterans and Military | Veterans United Home Loans Skip to Content
2,609 Veterans received a personalized quote in the past 24 hours.
night_ends && user_time day_ends && user_time 0) { $(‘.hero.container’).addClass(‘full-vh’); } ; }); } ; }); ]]>Without military experience most loans require at least 3% down.Get More Information →]]>
“,”required”: true,”value” : 1,},”down_payment_notice_html” : {“type”: “html”,”content” : “
Without military experience most loans require at least 3% down.
“},”property_search” : {“label” : “Where are you looking to buy?”,”description” : “City or Zip Code”,”type”: “text”,”invalidMsg”: “Please enter a valid location.”,”placeholder” : “City or Zip Code”,”attr”: “autocomplete=”off” aria-describedby=”init_prop_search_instr” aria-owns=”prop_search_results” aria-expanded=”false” aria-autocomplete=”both” aria-activedescendant=”””},”property_zip” : {“type”: “hidden”},”property_city” : {“type”: “hidden”},”property_state” : {“type” : “hidden”,”required” : true,”invalidMsg”: “Please enter a valid US location.”},”property_state_select” : {“label”: “Where will you be living?”,”type” : “select”,”required” : true,”attr”: “autocomplete=”fmcty_off””,”placeholder” : “Select the property location…”,”onChange” : “setPropertyState”,”options” : [[ “AL” , “Alabama” ],[ “AK” , “Alaska” ],[ “AZ” , “Arizona” ],[ “AR” , “Arkansas” ],[ “CA” , “California” ],[ “CO” , “Colorado” ],[ “CT” , “Connecticut” ],[ “DE” , “Delaware” ],[ “DC” , “District of Columbia” ],[ “FL” , “Florida” ],[ “GA” , “Georgia” ],[ “HI” , “Hawaii” ],[ “ID” , “Idaho” ],[ “IL” , “Illinois” ],[ “IN” , “Indiana” ],[ “IA” , “Iowa” ],[ “KS” , “Kansas” ],[ “KY” , “Kentucky” ],[ “LA” , “Louisiana” ],[ “ME” , “Maine” ],[ “MD” , “Maryland” ],[ “MA” , “Massachusetts” ],[ “MI” , “Michigan” ],[ “MN” , “Minnesota” ],[ “MS” , “Mississippi” ],[ “MO” , “Missouri” ],[ “MT” , “Montana” ],[ “NE” , “Nebraska” ],[ “NV” , “Nevada” ],[ “NH” , “New Hampshire” ],[ “NJ” , “New Jersey” ],[ “NM” , “New Mexico” ],[ “NY” , “New York” ],[ “NC” , “North Carolina” ],[ “ND” , “North Dakota” ],[ “OH” , “Ohio” ],[ “OK” , “Oklahoma” ],[ “OR” , “Oregon” ],[ “PA” , “Pennsylvania” ],[ “RI” , “Rhode Island” ],[ “SC” , “South Carolina” ],[ “SD” , “South Dakota” ],[ “TN” , “Tennessee” ],[ “TX” , “Texas” ],[ “UT” , “Utah” ],[ “VT” , “Vermont” ],[ “VA” , “Virginia” ],[ “WA” , “Washington” ],[ “WV” , “West Virginia” ],[ “WI” , “Wisconsin” ],[ “WY” , “Wyoming” ]],”disabledOptions” : false},”state_unavailable_notice” : {“type”: “hidden”,”required”: true},”state_unavailable_notice_html” : {“type”: “html”,”content” : “
New York Homebuyers:
Due to state regulations, we are not able to accept home loan inquiries for New York properties on this site. If you are interested in a property in another area, you may hit Back and enter a different location.
“},”when_loan” : {“label”: “When are you planning to make your home purchase?”,”type” : “radio”,”required” : true,”placeholder” : “Select your timeframe…”,”options” : [[ “signed purchase agreement” , “Immediately: Signed a Purchase Agreement” ],[ “offer pending” , “ASAP: Found a House/Offer Pending” ],[ “within a month” , “Within 30 Days” ],[ “2 to 3 months” , “2 – 3 Months” ],[ “3 to 6 months” , “3 – 6 Months” ],[ “over 6 months” , “6+ Months” ],[ “no time frame” , “No Time Frame/Still Researching Options” ]]},”preventing_loan” : {“label”: “What prevents you from buying your new home today?”,”type” : “radio”,”required” : true,”class” : “field-stacked”,”options” : [[ “credit” , “My credit rating is too low” ],[ “income” , “My income is too low” ],[ “under_lease” , “I am locked in a rent/lease” ],[ “new_city” , “I am transferring to a new location” ],[ “still_looking” , “I haven’t found a home yet”],[ “other” , “Other” ]]},”property_value” : {“label”: “What is your price range?”,”description”: “(An estimate is fine)”,”type” : “radio”,”required” : true,”options” : [[ “90000”, “under $100,000” ],[ “150000” , “$100,000 – $150,000” ],[ “200000” , “$150,000 – $200,000” ],[ “250000” , “$200,000 – $250,000” ],[ “300000” , “$250,000 – $300,000” ],[ “350000” , “$300,000 – $350,000” ],[ “400000” , “$350,000 – $400,000” ],[ “400001” , “$400,000 or more” ],[ “150001” , “I don’t know”]],”onChange” : “calculateDownPayment”,},”home_value” : {“label”: “What is the value of your home?”,”description”: “(An estimate is fine)”,”type” : “currency”,”required” : true,”attr”: “size=”11″ maxlength=”11″ pattern=”[0-9]*””,”invalidMsg”: “Please enter a valid dollar amount.”,”onChange”: “calcRefiLtv”,},”down_payment” : {“label”: “How much of a down payment would you like to make?”,”description”: “”,”type” : “radio”,”required” : true,”options” : [[ “0” , “0%” ],[ “3.5” , “3.5%” ],[ “5” , “5%” ],[ “10” , “10%” ],[ “15” , “15%” ],[ “20” , “20%” ],[ “21” , “More than 20%” ]]},”credit_rating” : {“label”: “What is your current credit score?”,”type” : “radio”,”required” : true,”options” : [[“Excellent” , “Excellent (720+)”],[“Good” , “Good (680-719)”],[“Fair” , “Fair (640-679)”],[“Below Average” , “Below Average (620-639)”],[“Poor” , “Poor (Below 620)”],[“unknown” , “I don’t know”]],},”current_rate” : {“label”: “What is your current mortgage interest rate?”,”type” : “select”,”required” : true,”placeholder” : “Select your current interest rate…”,”options” : [[ “2.99” , “under 3%” ],[ “3” , “3%” ],[ “3.125” , “3.125%” ],[ “3.25” , “3.25%” ],[ “3.375” , “3.375%” ],[ “3.5” , “3.5%” ],[ “3.625” , “3.625%” ],[ “3.75” , “3.75%” ],[ “3.875” , “3.875%” ],[ “4” , “4%” ],[ “4.125” , “4.125%” ],[ “4.25” , “4.25%” ],[ “4.375” , “4.375%” ],[ “4.5” , “4.5%” ],[ “4.625” , “4.625%” ],[ “4.75” , “4.75%” ],[ “4.875” , “4.875%” ],[ “5” , “5%” ],[ “5.125” , “5.125%” ],[ “5.25” , “5.25%” ],[ “5.375” , “5.375%” ],[ “5.5” , “5.5%” ],[ “5.625” , “5.625%” ],[ “5.75” , “5.75%” ],[ “5.875” , “5.875%” ],[ “6” , “6%” ],[ “6.125” , “6.125%” ],[ “6.25” , “6.25%” ],[ “6.375” , “6.375%” ],[ “6.5” , “6.5%” ],[ “6.625” , “6.625%” ],[ “6.75” , “6.75%” ],[ “6.875” , “6.875%” ],[ “7” , “7%” ],[ “7.125” , “7.125%” ],[ “7.25” , “7.25%” ],[ “7.375” , “7.375%” ],[ “7.5” , “7.5%” ],[ “7.625” , “7.625%” ],[ “7.75” , “7.75%” ],[ “7.875” , “7.875%” ],[ “8” , “8%” ],[ “8.125” , “8.125%” ],[ “8.25” , “8.25%” ],[ “8.375” , “8.375%” ],[ “8.5” , “8.5%” ],[ “8.625” , “8.625%” ],[ “8.75” , “8.75%” ],[ “8.875” , “8.875%” ],[ “9” , “9%” ],[ “9.125” , “9.125%” ],[ “9.25” , “9.25%” ],[ “9.375” , “9.375%” ],[ “9.5” , “9.5%” ],[ “9.625” , “9.625%” ],[ “9.75” , “9.75%” ],[ “9.875” , “9.875%” ],[ “10” , “10%” ],[ “10.01” , “over 10%” ],[ “5.01” , “I don’t know” ]]},”balance” : {“label”: “How much do you currently owe on your home mortgage?”,”type” : “currency”,”required” : true,”attr”: “size=”11″ maxlength=”11″ pattern=”[0-9]*””,”invalidMsg”: “Please enter a valid dollar amount.”,”onChange”: “calcRefiLtv”,},”refi_ltv” : {“type”: “hidden”,”onChange”: “calcRefiTotalLoanAmount”},”refi_total_loan_amount” : {“type”: “hidden”},”refi_ltv_message” : {“type”: “hidden”,”label” : “
Based on the information provided, your loan-to-value ratio is too high for a Cash-Out refinance with Veterans United.
Learn more about VA Cash-Out Refinancing
Would you still like to see if we can lower your interest rate?
“,”required”: true,”value” : 1},”ny_opq_message” : {“type”: “hidden”,”label” : “
Thank you for coming to Veterans United Home Loans! To continue your home loan request, please continue to our secure, online mortgage preapproval system.
Get Preapproved Online →“,”required”: true,”value” : 1,},”tx_cashout_message” : {“type”: “radio”,”label” : “
Due to state restrictions, we do not offer cash-out or debt consolidation refinances in the state of Texas.
Would you still like to see if we can lower your interest rate?
“,”required”: true,”class” : “field-stacked”,”options” : [[ “1” , “Yes, continue” ],],”onChange” : “txCashout”},”currentva” : {“label”: “Do you currently have a VA Loan?”,”type” : “radio”,”required” : true,”class” : “field-stacked”,”options” : [[ “yes” , “Yes, I currently have a VA loan” ],[ “no” , “No, I do not currently have a VA Loan” ]]},”property_type” : {“label”: “What type of property are you buying?”,”type” : “radio”,”required” : true,”options” : [[ “single” , “Single-Family Home” ],[ “condominium” , “Condominium” ],[ “townhome” , “Town Home” ],[ “multifamily” , “Multi-Family” ],[ “manufactured” , “Mobile / Manufactured” ],[ “new construction” , “New Construction” ],[ “other” , “Other” ]]},”manufactured_own” : {“label”: “Will you own or rent the land your home is on?”,”description” : “Your lender will use this information to determine what kind of loan is right for you.”,”type” : “radio”,”required” : true,”options” : [[ “own” , “Own” ],[ “rent” , “Rent” ]]},”property_use” : {“label”: “How will this property be used?”,”type” : “radio”,”required” : true,”class” : “field-stacked”,”options” : [[ “primary” , “Primary Residence” ],[ “secondary” , “Secondary / Vacation Home” ],[ “investment” , “Investment Property” ],[ “other” , “Other” ]]},”living_situation” : {“label”: “Do you currently own a home?”,”type” : “radio”,”required” : true,”class” : “field-stacked”,”options” : [[ “own” , “Yes, I currently own a home” ],[ “rent” , “No, I am currently renting” ],[ “other” , “No, I have other living arrangements” ]]},”email” : {“label” : “What is your email address?”,”description” : “”,”type”: “email”,”required”: true,”placeholder” : “email@example.com”,”invalidMsg”: “Please enter a valid email address.”,”doNotTrack”: true},”name_label” : {“type”: “html”,”content” : “
What is your name?
“},”first_name” : {“label” : “First Name:”,”type”: “text”,”required”: true,”placeholder” : “First”,”invalidMsg”: “Please enter your first name.”,”doNotTrack”: true},”last_name” : {“label” : “Last Name:”,”type”: “text”,”required”: true,”placeholder” : “Last”,”invalidMsg”: “Please enter your last name.”,”doNotTrack”: true},”address_label” : {“type”: “html”,”content” : “
What is your current street address and ZIP?
“},”address” : {“label” : “Street Address:”,”description” : “”,”type”: “text”,”required”: true,”placeholder” : “Street Address”,”invalidMsg”: “Please provide your current street address.”,”doNotTrack”: true},”zip” : {“label” : “ZIP Code:”,”type”: “text”,”required”: true,”placeholder” : “ZIP Code”,”attr”: “size=”5″ maxlength=”5″ pattern=”[0-9]*””,”invalidMsg”: “Please enter a valid 5-digit ZIP code.”},”time_at_current_address” : {“label”: “How long have you lived at this address?”,”type” : “radio”,”required” : true,”placeholder” : “Select a timeframe…”,”class” : “field-stacked”,”options” : [[ “less than 1 year” , “Less than 1 year” ],[ “1 to 2 years” , “1 – 2 Years” ],[ “2 to 5 years” , “2 – 5 Years” ],[ “over 5 years” , “5+ Years” ]]},”phone_full” : {“label” : “What is your phone number?”,”description” : “”,”type”: “tel”,”required”: true,”placeholder” : “( ) -“,”invalidMsg”: “Please enter a valid phone number.”,”doNotTrack”: true},”vuhlagree_preamble” : {“type”: “html”,”content” : “
By submitting, I acknowledge, consent and agree to the terms listed below.
“},”vuhlagree” : {“type”: “html”,”content” : “By submitting, I agree to receive calls or texts at this number from Veterans United Home Loans, its affiliates, and lenders, agents and home-services providers about real estate matters or promotional offers from partners, even if they use anautodialer and even if I am on a Do Not Call List. I agree to accept delivery of documents electronically; I agree to the privacy policy and terms. I may receive service without this consent by contacting Veterans United.”},”vuhlagree_checkbox” : {“type”: “checkbox”,”value” : 1,”required”: true,”invalidMsg”: “Check the box above to continue online. You may alternatively call us at 1-800-884-5560 to move ahead.”,”label” : “I agree to receive calls or texts at this number from Veterans United Home Loans, its affiliates, and lenders, agents and home-services providers about real estate matters or promotional offers from partners, even if they use an autodialer and even if I am on a Do Not Call List. I agree to accept delivery of documents electronically; I agree to the privacy policy and terms. I may receive service without this consent bycontacting Veterans United.”},”opq” : {“label”: “You’re almost there! How would you like to proceed?”,”type” : “radio”,”required” : true,”invalidMsg”: “Please tell us how you would like to proceed.”,”options” : [[ “no” , “Request a Call” ],[ “yes” , “Continue Online” ]]},”secure_label” : {“type” : “html”,”content” : “SECURE FIELD: Protected by 256-bit SSL Encryption”},”gross_income” : {“label”: “How much do you currently owe on your home mortgage?”,”type” : “radio”,”required” : true,”options” : [[ “90000”, “under $100,000” ],[ “150000” , “$100,000 – $150,000” ],[ “200000” , “$150,000 – $200,000” ],[ “250000” , “$200,000 – $250,000” ],[ “300000” , “$250,000 – $300,000” ],[ “350000” , “$300,000 – $350,000” ],[ “400000” , “$350,000 – $400,000” ],[ “400001” , “$400,000 or more” ],[ “150001” , “I don’t know”]]},”gross_income” : {“label”: “What is your household gross (before taxes) annual income?”,”type” : “radio”,”required” : true,”placeholder” : “Select your gross household income…”,”invalidMsg”: “Please select the total gross (before taxes) annual income for your household.”,”options” : [[ ‘30000’ , ‘Less than $30,000’ ],[ ‘50000’ , ‘$30,000 – $50,000’ ],[ ‘75000’ , ‘$50,000 – $75,000’ ],[ ‘100000’, ‘$75,000 – $100,000’ ],[ ‘100001’, ‘Greater than $100,000’ ]]},”bankruptcy” : {“label”: “Have you declared bankruptcy in the past 2 years?”,”type” : “radio”,”required” : true,”placeholder” : “Select a response…”,”invalidMsg”: “Please select your bankruptcy status.”,”class” : “field-stacked”,”options” : [[ ‘Never’ , ‘No’ ],[ ‘Currently’ , ‘Yes’ ]]},”occupational_status” : {“label”: “What is your current employment status?”,”type” : “radio”,”required” : true,”placeholder” : “Select your employment status…”,”invalidMsg”: “Please select your current employment status.”,”class” : “field-stacked”,”options” : [[‘Employed’, ‘Employed’],[‘Self-Employed’ , ‘Self-Employed / 1099 Independent Contractor’],[‘Retired’ , ‘Retired’],[‘Not-Employed’, ‘Not Employed’]]},”occupational_industry” : {“label”: “In which industry are you employed?”,”type” : “radio”,”required” : true,”placeholder” : “Select your employment industry…”,”invalidMsg”: “Please select your current employment industry.”,”options” : [[‘Agriculture’, ‘Agriculture’],[‘Construction’ , ‘Construction’],[‘Education’, ‘Education’ ],[‘Engineering’, ‘Engineering’ ],[‘Hospitality’, ‘Food & Hospitality’ ],[‘Finance’, ‘Finance’ ],[‘Healthcare’ , ‘Healthcare’ ],[‘IT’ , ‘Information Technology’ ],[‘LawEnforcementPublicSafety’, ‘Law Enforcement / Safety’ ],[‘Transportation’, ‘Transportation / Logistics’ ],[‘Other’, ‘Other’]]},”marital_status” : {“label”: “What is your current marital status?”,”type” : “radio”,”required” : true,”placeholder” : “Select your marital status…”,”invalidMsg”: “Please select your current marital status.”,”options” : [[‘Married’ , ‘Married’],[‘Unmarried’ , ‘Unmarried’],[‘Legally Separated’ , ‘Legally Separated’],[‘Widowed’, ‘Widowed’],[‘Other’, ‘Other’],[‘unknown’, ‘I’d rather not say’]]},”has_real_estate_agent” : {“label”: “Are you currently working with a real estate agent?”,”type” : “radio”,”required” : true,”placeholder” : “Select a response…”,”invalidMsg”: “Please select a response.”,”class” : “field-stacked”,”options” : [[‘no’, ‘No, I do not have an agent’],[‘yes’ , ‘Yes, I have an agent’]]},”wants_real_estate_agent” : {“label”: “Do you need a real estate agent?”,”type” : “radio”,”required” : true,”description” : “Earn up to $1,875* credit at closing when you also work with a Veterans United Realty network agent!”,”invalidMsg”: “Please select a response.”,”class” : “field-stacked”,”options” : [[‘yes’ , ‘Yes, I need an agent (Recommended)’],[‘no’, ‘No, I already have an agent’],[‘na’, ‘Skip this question’]]},”vur_offer_disclaimer” : {“label”: “*Credit amounts vary based on factors including loan amount, restrictions apply.”,”type” : “hidden”},”cash_out” : {“label” : “Would you like to use your home’s equity to borrow additional cash?”,”type”: “radio”,”required”: true,”options” :[[ “yes” , “Yes” ],[ “no”, “No” ]]},”cash_out_amount” : {“label” : “How much additional cash would you like to take out?”,”description” : “You may be able to take out as much as $325,000.”,”type”: “number_slider”,”required”: true,”mask”: “number”,”attr”: “size=”11″ maxlength=”11″ pattern=”[0-9]*””,”min” : “0”,”max” : 325000,”step”: 500,”value” : “0”,”onChange”: “calcRefiTotalLoanAmount”},”first_time” : {“label” : “Is this your first time buying a home?”,”type”: “radio”,”required”: true,”class” : “field-stacked”,”options” :[[ “yes” , “Yes” ],[ “no”, “No” ]]},”sell_before_purchase” : {“label” : “Do you plan to sell your current home when purchasing a new one?”,”type”: “radio”,”required”: true,”class” : “field-stacked”,”options” :[[ “yes” , “Yes” ],[ “no”, “No” ]]},”renting_end_date_label” : {“type”: “html”,”content” : “
When does your lease end?
“},”renting_end_date_month” : {“label” : “Month:”,”type”: “select”,”required”: true,”placeholder” : “Month”,”invalidMsg”: “Please select a month.”,”options” :[[ “01” , “01 – January” ],[ “02” , “02 – February” ],[ “03” , “03 – March” ],[ “04” , “04 – April” ],[ “05” , “05 – May” ],[ “06” , “06 – June” ],[ “07” , “07 – July” ],[ “08” , “08 – August” ],[ “09” , “09 – September” ],[ “10” , “10 – October” ],[ “11” , “11 – November” ],[ “12” , “12 – December” ],[ “99” , “Other / No End Date” ]]},”renting_end_date_year” : {“label” : “Year:”,”type”: “select”,”required”: true,”placeholder” : “Year”,”invalidMsg”: “Please select a valid date in the future.”,”options” :[[ “2022” , “2022” ],[ “2023” , “2023” ],[ “2024” , “2024” ],[ “2025” , “2025” ],[ “2026” , “2026” ],[ “2027” , “2027+” ],[ “9999” , “Other / No End Date” ]]},”current_rent_amount” : {“label”: “What is your current monthly rent payment?”,”type” : “currency”,”placeholder” : “”,”required” : true,”attr”: “size=”9″ maxlength=”9″ pattern=”[0-9]*””,”invalidMsg”: “Please enter a valid dollar amount.”,},”desired_payment” : {“label” : “What is your desired monthly payment?”,”description” : “Enter a monthly payment, including taxes and insurance, that feels comfortable in your budget. An estimate is fine.”,”type”: “currency”,”required”: true,”placeholder” : “”,”invalidMsg”: “Please enter a valid dollar amount.”,”attr”: “size=”9″ maxlength=”9″ pattern=”[0-9]*””,},”twilio_phone” : {“label” : “What is your phone number?”,”description” : “Enter your phone number, and select how you’d like to receive your verification code.”,”type”: “tel”,”required”: true,”placeholder” : “( ) -“,”invalidMsg”: “Please enter a valid phone number.”,”doNotTrack”: true,},”phone_verify_option” : {“label” : “”,”type”: “radio”,”required”: true,”options” : [[ “text” , “Send code via text” ],[ “call” , “Send code via voice call” ]],”invalidMsg”: “Please make a selection.”,”onChange”: “verifyOptionUpdate”,},”phone_verify_code” : {“label” : “Verification Code”,”description” : “Please enter code that was sent to your phone.”,”type”: “text”,”required”: true,”placeholder” : “Verification Code”,”invalidMsg”: “Please enter the code sent.”,},”previous_customer” : {“label” : “Have you closed a loan with Veterans United before?”,”type”: “radio”,”required”: true,”class” : “field-stacked”,”options” :[[ “yes” , “Yes” ],[ “no” , “No” ],]},”vu_referrer” : {“label” : “How did you hear about Veterans United?”,”type”: “radio”,”required”: true,”options” :[[ “friend or family” , “Friend or Family Member” ],[ “real estate agent” , “Real Estate Agent” ],[ “builder” , “My Builder” ],[ “internet search” , “Internet Search” ],[ “online ad” , “Online Advertisement” ],[ “tv or radio” , “TV or Radio Ad” ],[ “direct mail” , “Direct Mail” ],[ “other” , “Other” ]]},”disability_rating” : {“label”: “Do you have a disability rating of 10% or higher from the VA?”,”description” : “Your disability rating may exempt you from the VA Funding Fee, a governmental fee applied to every VA purchase and refinance loan. This fee goes directly to the Department of Veterans Affairs.“,”type” : “radio”,”required” : true,”class” : “field-stacked”,”options” : [[ “yes” , “Yes” ],[ “no” , “No” ],[ “unknown” , “I’d rather not say” ]]},”disability_income” : {“label”: “Are you currently receiving VA Disability Income?”,”description” : “Your receipt of VA disability income may help us determine other benefits of your VA loan.”,”type” : “radio”,”required” : true,”class” : “field-stacked”,”options” : [[ “yes” , “Yes” ],[ “no” , “No” ],[ “unknown” , “I’d rather not say” ]]},”current_loan_type” : {“label” : “What type of loan is your current mortgage?”,”type” : “radio”,”required” : true,”options” : [[“Conventional” , “Conventional”],[“VA” , “VA”],[“FHA” , “FHA”],[“USDA” , “USDA”],[“none” , “No current mortgage”],[“unknown” , “I don’t know”]]},”previous_va_loan” : {“label” : “Have you ever used a VA Loan before?”,”type” : “radio”,”required” : true,”class” : “field-stacked”,”options” : [[“yes” , “Yes”],[“no” , “No”]]},”paddio” : {“label” : “u0020u0020u0020u0020u003Cdivu0020idu003Du0022paddiou0022u0020classu003Du0022handoffu002Dmsgu0022u003Enu0020u0020u0020u0020u0020u0020u0020u0020u003Cdivu0020classu003Du0022logou0022u003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003Cimgu0020srcu003Du0022httpsu003A//www.veteransunited.com/assets/v4/images/logos/Paddio.pngu0022u0020altu003Du0022Paddiou0022/u003Enu0020u0020u0020u0020u0020u0020u0020u0020u003C/divu003Enu0020u0020u0020u0020u0020u0020u0020u0020u003Cspanu003EntttWeu0020createdu0020Paddiou0020tou0020betteru0020serveu0020civilianu0020homebuyers.nttu003C/spanu003Enu0020u0020u0020u0020u0020u0020u0020u0020u003Cspanu0020classu003Du0022fmctyu002Dfieldu002Ddescriptionu0022u003EntttVeteransu0020Unitedu0020isu0020dedicatedu0020tou0020servingu0020Veteransu0020andu0020militaryu0020families.u0020Weu0020tooku0020ouru0020friendly,u0020topu002Dratedu0020homebuyingu0020experienceu0020andu0020builtu0020Paddiou0020u2014u0020sou0020weu0020couldu0020serveu0020homebuyersu0020likeu0020yourself.nttu003C/spanu003Enu0020u0020u0020u0020u003C/divu003En”,”type” : “radio”,”value” : 1,”required” : true,”options” : [[“1”, “Continue”]],},”neighbors” : {“label” : “u0020u0020u0020u0020u003Cdivu0020idu003Du0022neighborsu0022u0020classu003Du0022handoffu002Dmsgu0022u003Enu0020u0020u0020u0020u0020u0020u0020u0020u003Cdivu0020classu003Du0022logou0022u003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003Cimgu0020srcu003Du0022httpsu003A//www.veteransunited.com/assets/v4/images/logos/neighborsBank.jpgu0022u0020altu003Du0022Neighborsu0020Banku0022/u003Enu0020u0020u0020u0020u0020u0020u0020u0020u003C/divu003Enu0020u0020u0020u0020u0020u0020u0020u0020u003Cspanu003EntttWeu2019veu0020partneredu0020withu0020Neighborsu0020Banku0020tou0020betteru0020serveu0020civilianu0020homebuyers.nttu003C/spanu003Enu0020u0020u0020u0020u0020u0020u0020u0020u003Cspanu0020classu003Du0022fmctyu002Dfieldu002Ddescriptionu0022u003EntttVeteransu0020Unitedu0020isu0020dedicatedu0020tou0020servingu0020Veteransu0020andu0020militaryu0020families.u0020Neighborsu0020Banku0020isu0020au0020proudu0020memberu0020ofu0020theu0020Veteransu0020Unitedu0020familyu0020ofu0020companiesu0020andu0020providesu0020personalizedu0020financingu0020solutionsu0020andu0020topu002Dratedu0020customeru0020serviceu0020foru0020homebuyersu0020likeu0020yourself.nttu003C/spanu003Enu0020u0020u0020u0020u003C/divu003En”,”type” : “radio”,”value” : 1,”required” : true,”options” : [[“1”, “Continue”]],},},”order”: [{“title” : “loan-type”,”inputs” :[“src”,”curi”,”wuri”,”adg”,”cmp”,”desc”,”gclid”,”dclid”,”dnt_flag”,”fbclid”,”msclkid”,”utm_source”,”utm_medium”,”utm_campaign”,”utm_term”,”utm_content”,”val_exp”,”val_cmp”,”val_lead”,”fbp”,”host_name”,”form_id”,”frn”,”ap_token”,”opq_guid”,”opq_worthy”,”opq_version”,”opq_treatment”,”lead_partner_lead_id”,”adid”,”plc”,”ss_test_variation”,”ss_opq_test_variation”,”json”,”google_client_id”,”start_time”,”refi_ltv”,”refi_total_loan_amount”,”vu_agreestovuprivacypolicy”,”vu_agreestovutermsandconditions”,”vu_consentstovutcpa”,”vu_agreestovuautodial”,”vu_agreestovutexting”,”vu_agreestovusharingwithaffiliates”,”vu_agreestotransactioncommunications”,”vu_agreestolendingpartners”,”vu_agreestohbcpartneroffers”,”matchtype”,”mbsy_source”,”campaignid”,”mbsy”,”vu_agreestoedelivery”,”mrc_agreestohomeservices”,”twilio_version”,”lead_intent”,”purpose”]},{“title” : “refi-goals”,”inputs” :[“refi_reason”]},{“title” : “military-branch”,”inputs” :[“military_branch”]},{“title” : “military-type”,”inputs” :[“military_type”]},{“title” : “active-duty”,”inputs” :[“military_status”]},{“title” : “active-overseas”,”inputs” :[“currently_overseas”]},{“title” : “pcs-orders”,”inputs” :[“pcs”]},{“title” : “property-value”,”inputs” :[“property_value”]},{“title” : “home-value”,”inputs” :[“home_value”]},{“title” : “property-state”,”inputs” :[“civilian_property_state_select”]},{“title” : “three-percent-down”,”inputs” :[“three_percent_down”]},{“title” : “down-payment”,”inputs” :[“down_payment”]},{“title” : “down-payment-notice”,”inputs” :[“down_payment_notice”,],},{“title” : “property-type”,”inputs” :[“property_type”]},{“title” : “manufactured-property”,”inputs” : [“manufactured_own”]},{“title” : “property-use”,”inputs” :[“property_use”]},{“title” : “timeframe”,”inputs” :[“when_loan”]},{“title” : “timeframe-reason”,”inputs” :[“preventing_loan”]},{“title” : “current-home”,”inputs” :[“living_situation”]},{“title” : “rent-payment”,”inputs” :[“current_rent_amount”,]},{“title” : “lease-end”,”inputs” :[“renting_end_date_label”,”renting_end_date_month”,”renting_end_date_year”],”autoAdvance” : false},{“title” : “first-time”,”inputs” :[“first_time”]},{“title” : “sell-home”,”inputs” :[“sell_before_purchase”]},{“title” : “mortgage-balance”,”inputs” :[“balance”]},{“title” : “interest-rate”,”inputs” :[“current_rate”]},{“title” : “refi-continue”,”inputs” :[“refi_ltv_message”],”nextText” : “Yes, continue”},{“title” : “cash-out-amount”,”inputs”:[“cash_out_amount”],”after” : “
Maximum cashout amount based on the home value and mortgage balance information you supplied. Not guaranteed until locked in by your Loan Officer.
“},{“title” : “current-va-loan”,”inputs” :[“currentva”]},{“title” : “credit-rating”,”inputs” :[“credit_rating”]},{“title” : “employment”,”inputs” :[“occupational_status”]},{“title” : “marital_status”,”inputs” :[“marital_status”]},{“title” : “income”,”inputs” :[“gross_income”]},{“title” : “current-loan”,”inputs” :[“current_loan_type”]},{“title” : “previous-va”,”inputs” :[“previous_va_loan”]},{“title” : “disability-income”,”inputs” :[“disability_income”]},{“title” : “disability-rating”,”inputs” :[“disability_rating”]},{“title” : “bankruptcy”,”inputs” :[“bankruptcy”]},{“title” : “previously_closed_borrower”,”inputs” :[“previous_customer”]},{“title” : “referrer”,”inputs” :[“vu_referrer”]},{“title” : “property-location”,”inputs” :[“property_search”,”property_zip”,”property_state”,”property_city”]},{“title” : “continue-online”,”inputs” :[“ny_opq_message”]},{“title” : “property-state”,”inputs” :[“property_state_select”]},{“title” : “texas-cashout”,”inputs” :[“tx_cashout_message”]},{“title” : “paddio”,”inputs” :[“paddio”,],”after” : “Paddio has been determined to be a better option for your unique homebuying situation. If you think this is a mistake and you do have military experience, please contact Veterans United Home Loans directly at 1-800-884-5560.”},{“title” : “neighbors-bank”,”inputs” :[“neighbors”,],”after” : “Neighbors Bank has been determined to be a better option for your unique homebuying situation. If you think this is a mistake and you do have military experience, please contact Veterans United Home Loans directly at 1-800-884-5560.”},{“title” : “email”,”inputs” :[“email”,”secure_label”,”next”,”vu_agreestoemails”,]},{“title” : “name”,”inputs” :[“name_label”,”first_name”,”last_name”,”secure_label”]},{“title” : “current-address”,”inputs” :[“address_label”,”address”,”zip”,”secure_label”]},{“title” : “time-at-current-address”,”inputs” :[“time_at_current_address”]},{“title” : “phone”,”inputs” :[“phone_full”,”secure_label”,”submit”,”vuhlagree”,]},{“title” : “phone-verify”,”inputs” :[“twilio_phone”,”secure_label”,”phone_verify_option”,”next”,”vuhlagree”,],”autoAdvance” : false,”nextText” : “Agree and continue”,},{“title” : “phone-verify-code”,”inputs” :[“phone_verify_code”,]},],”logic” : {“conditions” : {“is_purchase” : {“target” : “purpose”,”operator” : “=”,”value” : “P”},”is_refinance” : {“target” : “purpose”,”operator” : “=”,”value” : “R”},”is_civilian” : {“target” : “military_branch”,”operator” : “=”,”value” : “Civilian”},”is_spouse” : {“target” : “military_branch”,”operator” : “=”,”value” : “Spouse”},”is_other_va_eligible” : {“target” : “military_branch”,”operator” : “=”,”value” : “Other”},”is_active_duty” : {“target” : “military_status”,”operator” : “=”,”value” : “active”},”property_state_is_MA” : {“target” : “property_state”,”operator” : “=”,”value” : “MA”},”property_state_is_TN” : {“target” : “property_state”,”operator” : “=”,”value” : “TN”},”property_state_is_TX” : {“target” : “property_state”,”operator” : “=”,”value” : “TX”},”property_state_is_NY” : {“target” : “property_state”,”operator” : “=”,”value” : “NY”},”property_area_is_Clarksville” : {“target” : “property_zip”,”operator” : “inArray”,”value” : [“37010”, “37015”, “37040”, “37042”, “37043”, “37050”, “37146”, “37172”, “37191”, “42223”, “42240”, “42262”]},”zip_is_Clarksville” : {“target” : “zip”,”operator” : “inArray”,”value” : [“37010”, “37015”, “37040”, “37042”, “37043”, “37050”, “37146”, “37172”, “37191”, “42223”, “42240”, “42262”]},”property_state_lookup_failed” : {“target” : “property_state”,”operator” : “=”,”value”: “fail”},”property_value_less_than_100k” : {“target” : “property_value”,”operator” : “”,”value” : “85”},”refi_ltv_greater_than_95″ : {“target” : “refi_ltv”,”operator” : “>”,”value” : “95”},”refi_amount_greater_than_15000″ : {“target” : “refi_total_loan_amount”,”operator” : “>”,”value” : “15000”},”has_bankruptcy” : {“target”: “bankruptcy”,”operator”: “!=”,”value” : “Never”},”is_current_homeowner” : {“target”: “living_situation”,”operator”: “=”,”value” : “own”},”is_first_time_homebuyer” : {“target”: “first_time”,”operator”: “=”,”value” : “yes”},”current_loan_type_is_va” : {“target”: “current_loan_type”,”operator”: “=”,”value” : “VA”},”currentva_is_true” : {“target”: “currentva”,”operator”: “=”,”value” : “yes”},”had_previous_va_loan” : {“target”: “previous_va_loan”,”operator”: “=”,”value” : “yes”},”is_renting” : {“target”: “living_situation”,”operator”: “=”,”value” : “rent”},”is_manufactured_home” : {“target” : “property_type”,”operator” : “=”,”value” : “manufactured”},”over_6_months” : {“target” : “when_loan”,”operator” : “=”,”value” : “over 6 months”},”has_disability_income” : {“target”: “disability_income”,”operator”: “=”,”value” : “yes”},”has_agent” : {“target”: “has_real_estate_agent”,”operator”: “=”,”value” : “yes”},”random_under_80″ : {“target” : “frn”,”operator” : “”,”value”: “150000”},”credit_rating_good_or_excellent” : {“target” : “credit_rating”,”operator” : “inArray”,”value”: [“Good”,”Excellent”]},”prop_state_is_neighbors” : {“target” : “civilian_property_state_select”,”operator”: “inArray”,”value”: [“NV”, “NY”, “NJ”, “UT”, “HI”]},”prop_state_is_MA” : {“target” : “property_state”,”operator”: “=”,”value”: “MA”},”civilian_prop_state_is_MA” : {“target” : “civilian_property_state_select”,”operator”: “=”,”value”: “MA”},”three_percent_down” : {“target” : “three_percent_down”,”operator”: “=”,”value”: “yes”},”twilio_on_for_all” : {“target” : “twilio_version”,”operator” : “=”,”value” : “1”},”queue_override_set”: {“target”: “queue_override”,”operator”: “!=”,”value”: “”},”down_payment_is_zero” : {“target” : “down_payment”,”operator”: “=”,”value”: “0”},},”rules” : {“toggle_three_percent_down” : {“condition” : “is_purchase && is_civilian”,”target” : “three_percent_down”,”action” : “show”,”else” : “hide”,},”toggle_down_payment_notice” : {“condition” : “is_purchase && is_civilian && ( ! three_percent_down || down_payment_is_zero ) && ! prop_state_is_neighbors && ! civilian_prop_state_is_MA”,”target” : “down_payment_notice”,”action” : “show”,”else” : “hide”,},”toggle_down_payment_notice_html” : {“condition” : “is_purchase && is_civilian && ( ! three_percent_down || down_payment_is_zero ) && ! prop_state_is_neighbors && ! civilian_prop_state_is_MA”,”target” : “down_payment_notice_html”,”action” : “show”,”else” : “hide”,},”toggle_civilian_property_state” : {“condition” : “is_purchase && is_civilian”,”target” : “civilian_property_state_select”,”action” : “show”,”else” : “hide”,},”toggle_down_payment” : {“condition” : “is_purchase && is_civilian && three_percent_down”,”target” : “down_payment”,”action” : “show”,”else” : “hide”},”toggle_neighbors_bank” : {“condition” : “is_purchase && is_civilian && ! is_manufactured_home && prop_state_is_neighbors && ! prop_state_is_MA && ! queue_override_set”,”target” : “neighbors”,”action” : “show”,”else” : “hide”},”toggle_paddio” : {“condition” : “is_purchase && is_civilian && ! is_manufactured_home && ! prop_state_is_neighbors && ! prop_state_is_MA && ! queue_override_set”,”target” : “paddio”,”action” : “show”,”else” : “hide”},”toggle_phone” : {“condition” : “( is_civilian || twilio_on_for_all )”,”target” : “phone_full”,”action” : “hide”,”else” : “show”},”toggle_twilio_verification” : {“condition” : “( is_civilian || twilio_on_for_all )”,”target” : “twilio_phone”,”action” : “show”,”else” : “hide”},”toggle_twilio_verification_op” : {“condition” : “( is_civilian || twilio_on_for_all )”,”target” : “phone_verify_option”,”action” : “show”,”else” : “hide”},”toggle_twilio_verification_code” : {“condition” : “( is_civilian || twilio_on_for_all )”,”target” : “phone_verify_code”,”action” : “show”,”else” : “hide”},”toggle_property_search_label”: {“condition”: “is_refinance”,”target”: “property_search”,”action”: {“label” : “Where is your home located?”},”else”: {“label” : “Where will your new home be located?”}},”toggle_property_state_select”: {“condition”: “property_state_lookup_failed”,”target”: “property_state_select”,”action”: “show”,”else”: “hide”},”toggle_property_state_select_label”: {“condition”: “is_refinance”,”target”: “property_state_select”,”action”: {“label” : “In what state is your home located?”},”else”: {“label” : “In what state will your new home be located?”}},”toggle_vu_referrer” : {“condition” : “is_previous_customer”,”target” : “vu_referrer”,”action”: “hide”,”else” : “show”},”toggle_desired_payment” : {“condition” : “is_purchase”,”target” : “desired_payment”,”action” : “show”,”else” : “hide”},”toggle_property_value”: {“condition”: “is_purchase”,”target”: “property_value”,”action”: “show”,”else”: “hide”},”toggle_home_value”: {“condition”: “is_refinance”,”target”: “home_value”,”action”: “show”,”else”: “hide”},”toggle_current_rate”: {“condition”: “is_refinance”,”target”: “current_rate”,”action”: “show”,”else”: “hide”},”toggle_balance”: {“condition”: “is_refinance”,”target”: “balance”,”action”: “show”,”else”: “hide”},”toggle_refi_reason”: {“condition” : “is_refinance”,”target” : “refi_reason”,”action” : “show”,”else” : “hide”},”toggle_tx_cashout_message”: {“condition” : “is_refinance && property_state_is_TX && ( is_refi_cashout || is_refi_consolidation )”,”target” : “tx_cashout_message”,”action” : “show”,”else” : “hide”},”toggle_refi_ltv_message” : {“condition” : “is_refinance && ( is_refi_cashout || is_refi_consolidation ) && refi_ltv_greater_than_85″,”target” : “refi_ltv_message”,”action” : “show”,”else” : “hide”},”toggle_cash_out_amount”: {“condition” : “is_refinance && ! is_civilian && ! property_state_is_TX && ( is_refi_cashout || is_refi_consolidation ) && ! refi_ltv_greater_than_85″,”target” : “cash_out_amount”,”action” : “show”,”else” : “hide”},”set_cash_out_amount_max”: {“condition” : “! refi_ltv_greater_than_85″,”target” : “cash_out_amount”,”action”: {“max” : “#var{cashOutMax}”}},”toggle_currentva” : {“condition” : “is_refinance && home_value_less_than_balance”,”target” : “currentva”,”action” : “show”,”else” : “hide”},”toggle_manufactured_own” : {“condition” : “is_manufactured_home”,”target” : “manufactured_own”,”action” : “show”,”else” : “hide”},”toggle_property_type_label” : {“condition” : “is_purchase”,”target” : “property_type”,”action” : {“label” : “What type of property are you buying?”},”else” : {“label” : “What type of property is your home?”},},”toggle_property_use_label” : {“condition” : “is_purchase”,”target” : “property_use”,”action” : {“label” : “How will you use your new home?”},”else” : {“label” : “How are you using this home?”},},”toggle_credit_score” : {“condition” : “property_state_is_MA”,”target” : “credit_rating”,”action” : “hide”,”else” : “show”},”toggle_occupational_status” : {“condition” : “! is_active_duty”,”target” : “occupational_status”,”action” : “show”,”else” : “hide”},”toggle_occupational_industry” : {“condition” : “is_employed && ! is_active_duty”,”target” : “occupational_industry”,”action” : “show”,”else” : “hide”},”toggle_when_loan” : {“condition” : “is_purchase”,”target” : “when_loan”,”action” : “show”,”else” : “hide”},”toggle_preventing_loan” : {“condition” : “is_purchase && over_6_months”,”target” : “preventing_loan”,”action” : “show”,”else” : “hide”},”toggle_first_time” : {“condition” : “is_purchase && ! is_current_homeowner”,”target” : “first_time”,”action” : “show”,”else” : “hide”},”toggle_current_loan_type” : {“condition” : “( is_refinance || is_current_homeowner ) && ! currentva_is_true”,”target” : “current_loan_type”,”action” : “show”,”else” : “hide”},”toggle_current_loan_type_none” : {“condition” : “is_refinance”,”target” : “current_loan_type”,”action”: {“disabledOptions” : [“none”]},”else”: {“disabledOptions” : []}},”toggle_previous_va_loan” : {“condition” : “! is_civilian && ! is_first_time_homebuyer && ! current_loan_type_is_va && ! currentva_is_true”,”target” : “previous_va_loan”,”action” : “show”,”else” : “hide”},”toggle_previous_va_customer” : {“condition” : “is_civilian || is_first_time_homebuyer || ! had_previous_va_loan”,”target” : “previous_customer”,”action” : “hide”,”else” : “show”},”toggle_sell_before_purchase” : {“condition” : “is_purchase && is_current_homeowner”,”target” : “sell_before_purchase”,”action” : “show”,”else” : “hide”},”toggle_current_rent_amount” : {“condition” : “is_purchase && is_renting”,”target” : “current_rent_amount”,”action” : “show”,”else” : “hide”},”toggle_renting_end_date_month” : {“condition” : “is_purchase && is_renting”,”target” : “renting_end_date_month”,”action” : “show”,”else” : “hide”},”toggle_renting_end_date_year” : {“condition” : “is_purchase && is_renting”,”target” : “renting_end_date_year”,”action” : “show”,”else” : “hide”},”toggle_disability_income”: {“condition”: “! is_civilian”,”target”: “disability_income”,”action”: “show”,”else”: “hide”},”toggle_disability_rating”: {“condition”: “! is_civilian && has_disability_income”,”target”: “disability_rating”,”action”: “show”,”else”: “hide”},”toggle_military_status” : {“condition” : “! is_civilian && ! is_spouse && ! is_other_va_eligible”,”target” : “military_status”,”action”: “show”,”else”: “hide”},”toggle_currently_overseas” : {“condition” : “is_active_duty && ! is_civilian && ! is_spouse && ! is_other_va_eligible”,”target” : “currently_overseas”,”action”: “show”,”else”: “hide”},”toggle_pcs” : {“condition” : “is_purchase && is_active_duty && ! is_civilian && ! is_spouse && ! is_other_va_eligible”,”target” : “pcs”,”action”: “show”,”else”: “hide”},”toggle_military_type” : {“condition” : “! is_civilian && ! is_spouse && ! is_other_va_eligible”,”target” : “military_type”,”action”: “show”,”else”: “hide”},”toggle_property_type_construction” : {“condition” : “is_refinance”,”target” : “property_type”,”action”: {“disabledOptions” : [“new construction”]},”else”: {“disabledOptions” : [“other”]}},”toggle_living_situation” : {“condition” : “is_purchase”,”target” : “living_situation”,”action” : “show”,”else” : “hide”},”toggle_opq_version” : {“condition” : “random_under_80″,”target” : “opq_version”,”action” : {“value” : “manual”},”else” : {“value” : “auto”},},”toggle_opq_worthy” : {“condition” : “! property_in_territory && ! ( is_refinance && ( has_bankruptcy || is_manufactured_home || ! refi_amount_greater_than_15000 || ( property_state_is_TX && ( is_refi_cashout || is_refi_consolidation ) ) ) )”,”target” : “opq_worthy”,”action” : {“value” : “1”},”else” : {“value” : “0”}},”toggle_ny_opq_message” : {“condition” : “property_state_is_NY”,”target”: “ny_opq_message”,”action”: “show”,”else”: “hide”},},”validation” : {“zip” : {“operator” : “regex”,”value” : “^\d{5}$”},”phone_full” : {“operator” : “regex”,”value” : “^[23456789]\d{9}$”},”renting_end_date_year” : {“operator” : “fn”,”value” : “validateRentingEndDate”},”twilio_phone” : {“operator” : “ajax”,”value” : “validatePhone”},”phone_verify_code” : {“operator” : “ajax”,”value” : “validateCode”},}},”nextText” : “Continue”,”submitText” : “Saveu0020u0026ampu003Bu0020Continue”,”submitUrl” : “https://www.veteransunited.com/backend.php”,”submitFn” : “submitFn”,”autoFocus” : true,};window.mrcFormConfig.order[0].after = $(‘.proof-v2’);$(document).ready(function(){var mrcForm = $(‘#v4_lp’);Fmcty.fn.launchWindow = function(url,opts) {var width = 600,height = 400;if (opts && opts.width) {width = opts.width;}if (opts && opts.height) {height = opts.height;}var left = (screen.width / 2) – (width / 2),top = (screen.height / 2) – (height / 2);if (opts && opts.top) {top = opts.top;}if (opts && opts.left) {left = opts.left;}var fmctyNewWindow = window.open(url, “, ‘menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=’ + height + ‘,width=’ + width + ‘,top=’ + top + ‘,left=’ + left);if (window.focus) {fmctyNewWindow.focus()}return false;};mrcForm.on(‘fmcty:ready’,function(data){$(this).addClass(‘fmcty-ready’);});Fmcty.fn.calculateDownPayment = function(data){var values=data.values;$(‘input[name=”down_payment”] + label’).each(function () {var label = $(this),input = $(‘#’ + label.attr(‘for’)),percent = input.val();if (percent > 0 && percent =400001) {var range1 = Math.round(400000 * percent / 100);range1 = range1.toString().replace(/B(?=(d{3})+(?!d))/g, “,”);var range = ” ($” + range1 + ” + )”;} else if(values.property_value != 150001) {var range1 = Math.round(parseInt(values.property_value) * percent / 100);var range2 = Math.round((parseInt(values.property_value) + 50000) * percent / 100);range1 = range1.toString().replace(/B(?=(d{3})+(?!d))/g, “,”);range2 = range2.toString().replace(/B(?=(d{3})+(?!d))/g, “,”);var range = ” ($” + range1 + ” – $” + range2 + “)”;} else {var range = “;};percent = percent + “%”;label.html(percent + ” ” + range + “”);} else {label.text(percent + “%”);}}});};Fmcty.fn.validatePhone = function(data) {var rx = new RegExp(‘^\d{10}$’),form_id = data.form_id,phoneValue = data.value,emailValue = data.values.email,currentSection = $(‘#’+form_id+’ .fmcty-section-active’).data(‘fmcty-section’),verifyValue = data.values.phone_verify_option;if(verifyValue == “text”) {var ajaxUrl = “/ajax/twilio_verify_send_code.php?verify_method=sms&phone=” + phoneValue;var verifyCodeDescription = “Please enter code that was sent via text”;} else if(verifyValue == “call”) {var ajaxUrl = “/ajax/twilio_verify_send_code.php?verify_method=call&phone=” + phoneValue;var verifyCodeDescription = “Please enter code that was sent via phone call”;} else if(verifyValue == “email”) {var ajaxUrl = “/ajax/twilio_verify_send_code.php?verify_method=email&email=” + emailValue;var verifyCodeDescription = “Please enter code that was sent via email”;}if(data.values.hasOwnProperty(‘phone_verify_option’)) {if(Fmcty[form_id].hasOwnProperty(‘verifiedPhone’) && Fmcty[form_id].verifiedPhone == phoneValue) {if(currentSection == ‘phone-verify’) {setTimeout(function(){$(‘#’+form_id+’ .fmcty-section[data-fmcty-section=”phone-verify-code”]’).removeClass(‘fmcty-section-waiting’);},1);Fmcty[form_id].next(false);}setTimeout(function(){data.input.valid();data.input.closest(‘.fmcty-section’).removeClass(‘fmcty-section-waiting’);},1);} else {if (rx.test(phoneValue) && ! Fmcty[form_id].phoneCheckInProgress) {Fmcty[form_id].phoneCheckInProgress = true;$.ajax({url: “/ajax/twilio_phone_lookup.php?phone=” + phoneValue,dataType: ‘json’,success: function(response){if (response.carrier_type == “mobile” || response.carrier_type == “landline”) {$.ajax({url: ajaxUrl,dataType: ‘json’,success: function(response){if (response.success == true) {data.input.valid();Fmcty[form_id].verifiedPhone = phoneValue;$(‘#’+form_id+’ .fmcty-section[data-fmcty-section=”phone-verify-code”] .fmcty-field-description’).text(verifyCodeDescription);Fmcty[form_id].next(false);} else {console.log(“Fail to send”);data.input.invalid();/* FAIL TO SEND OPTION? */}},error: function(response){data.input.invalid();}});} else {data.input.invalid();}data.input.closest(‘.fmcty-section’).removeClass(‘fmcty-section-waiting’);Fmcty[form_id].phoneCheckInProgress = false;},error: function(response){data.input.closest(‘.fmcty-section’).removeClass(‘fmcty-section-waiting’);data.input.invalid();Fmcty[form_id].phoneCheckInProgress = false;}});} else {setTimeout(function() {data.input.closest(‘.fmcty-section’).removeClass(‘fmcty-section-waiting’);data.input.invalid();},1);}}} else {setTimeout(function() {data.input.valid();data.input.closest(‘.fmcty-section’).removeClass(‘fmcty-section-waiting’);},1);}};Fmcty.fn.verifyOptionUpdate = function(data) {Fmcty[data.form_id].verifiedPhone = “”;data.form.find(‘input[name=”phone_full”]’).val(data.values.twilio_phone).trigger(‘change’);};Fmcty.fn.validateCode = function(data) {var form_id = data.form_id,codeValue = data.value,phoneValue= data.values.phone_full,emailValue= data.values.email,verifyValue = data.values.phone_verify_option;if(verifyValue == “text”) {var ajaxUrl = “/ajax/twilio_check_verify.php?verify_method=sms&code=” + codeValue + “&phone=” + phoneValue;} else if(verifyValue == “call”) {var ajaxUrl = “/ajax/twilio_check_verify.php?verify_method=call&code=” + codeValue + “&phone=” + phoneValue;} else if(verifyValue == “email”) {var ajaxUrl = “/ajax/twilio_check_verify.php?verify_method=email&code=” + codeValue + “&email=” + emailValue;}$.ajax({url: ajaxUrl,dataType: ‘json’,success: function(response){if (response.success == true) {data.input.valid();Fmcty[form_id].submit(false);} else {data.input.validationText = “Incorrect Verification Code”;data.input.invalid();}},error: function(response){data.input.invalid();}});setTimeout(function() {data.input.valid();data.input.closest(‘.fmcty-section’).removeClass(‘fmcty-section-waiting’);},1);};Fmcty.fn.showOpq = function(Fmcty,input,values,result) {if (window.Fmcty.version && parseFloat(window.Fmcty.version) >= 2) { /* Fmcty 2.0 conversion */input = Fmcty.input;values = Fmcty.values;result = Fmcty.result;}$(input).closest(‘.fmcty-form’).find(‘.fmcty-section[data-fmcty-section=”phone”] .fmcty-submit’).html(‘Continue’);return false;};Fmcty.fn.hideOpq = function(Fmcty,input,values,result) {if (window.Fmcty.version && parseFloat(window.Fmcty.version) >= 2) { /* Fmcty 2.0 conversion */input = Fmcty.input;values = Fmcty.values;result = Fmcty.result;}$(input).closest(‘.fmcty-form’).find(‘.fmcty-section[data-fmcty-section=”phone”] .fmcty-submit’).html(‘Saveu0020u0026ampu003Bu0020Continue’);return false;};Fmcty.fn.validateRentingEndDate = function(data) {var isValid = true,currMonth = 12,currYear= 2022;if (data.values) {if ( parseInt(data.values.renting_end_date_month) ‘).appendTo(prop_search.parent());}if ( ! autocomplete.length ) {autocomplete = $(‘
When autocomplete results are available use up and down arrows to review and enter to select.
‘).insertAfter(prop_search.parent().parent());}var autocomplete_results = autocomplete.find(‘.fmcty-autocomplete-results’);if (value.length ‘+autocomplete_item+’‘);}}location = result.data[0];section.find(‘#prop_search_aria_update’).text(result.data.length + ‘ location results’);section.removeClass(‘fmcty-section-waiting mrc-section-waiting’).addClass(‘mrc-zip-complete’);prop_search.closest(‘.fmcty-field’).addClass(‘fmcty-field-focused’);prop_search.attr(‘aria-expanded’, ‘true’);section.find(‘.fmcty-field-validation’).remove();location_display = “”;if (location.PLACENAME) {location_display += location.PLACENAME+”, “;prop_city.val(location.PLACENAME).trigger(‘change’);} else {prop_city.val(“).trigger(‘change’);}if (location.STATEABBV) {location_display += location.STATEABBV;prop_state.val(location.STATEABBV).trigger(‘change’);} else {prop_state.val(“).trigger(‘change’);}if (location.ZIPCODE) {prop_zip.val(location.ZIPCODE).trigger(‘change’);} else {prop_zip.val(“).trigger(‘change’);}if (location.type === “zip”) {location_display = location.ZIPCODE+”, ” + location_display;}var location_display_partial = location_display.slice(0, value.length),value_regex = new RegExp(value.replace(/[.-dws]+/g, ‘$&’), ‘i’),location_regex = new RegExp(location_display_partial.replace(/[.-dws]+/g, ‘$&’), ‘i’),location_result = location_regex.test(value_regex);if (location_result) {location_display = value + location_display.slice(value.length);} else {location_display = “”;}result_display.val(location_display);} else {section.removeClass(‘fmcty-section-waiting mrc-section-waiting’).removeClass(‘mrc-zip-complete’);prop_search.attr(‘aria-expanded’, ‘false’);section.find(‘#prop_search_aria_update’).text(“);prop_zip.val(“).trigger(‘change’);prop_city.val(“).trigger(‘change’);prop_state.val(“).trigger(‘change’);result_display.val(“);section.find(‘.fmcty-ajax-result-description’).remove();}},function(result) {if (result.statusText && result.statusText === “error”) {section.removeClass(‘fmcty-section-waiting mrc-section-waiting’).removeClass(‘mrc-zip-complete’);prop_search.attr(‘aria-expanded’, ‘false’);prop_state.val(‘fail’).trigger(‘change’);section.find(‘.fmcty-ajax-result-description’).remove();} else {prop_zip.val(“).trigger(‘change’);prop_city.val(“).trigger(‘change’);prop_state.val(“).trigger(‘change’);result_display.val(“);}});};Fmcty.fn.setPropertyState = function(Fmcty,input,value,values,event) {var form;if (window.Fmcty.version && parseFloat(window.Fmcty.version) >= 2) { /* Fmcty 2.0 conversion */form= Fmcty.form;value = Fmcty.value;} else {form = input.closest(‘.fmcty-form’);}form.find(‘input[name=”property_state”]’).val(value).trigger(‘change’);form.find(‘input[name=”property_city”]’).val(“).trigger(‘change’);};if (Fmcty.values) {var prop_search_val = “”;if (Fmcty.values.property_zip) {prop_search_val = Fmcty.values.property_zip;if (Fmcty.values.property_city) {prop_search_val += “, “;}}if (Fmcty.values.property_city) {prop_search_val += Fmcty.values.property_city;if (Fmcty.values.property_state) {prop_search_val += “, ” + Fmcty.values.property_state;}}Fmcty.values.property_search = prop_search_val;}Fmcty.fn.calcRefiLtv = function(data){Fmcty.fn.calcRefiTotalLoanAmount(data);if (!data.values.home_value || !data.values.balance || data.values.home_value == 0) {return;}var homeVal = parseInt(data.values.home_value),balance = parseInt(data.values.balance),ltv = Math.round(balance / homeVal * 100),cashOutMax = Math.round((homeVal * .9 ) – balance);if (cashOutMax > 325000){cashOutMax = 325000;} else if (cashOutMax cashOutMax) {data.form.find(‘[name=”cash_out_amount”]’).val(cashOutMax).trigger(‘change’);}data.form.find(‘[name=”refi_ltv”]’).val(ltv).trigger(‘change’);data.form.find(‘.fmcty_max_cash_out’).text(String(cashOutMax).replace(/(.)(?=(d{3})+$)/g,’$1,’));};Fmcty.fn.calcRefiTotalLoanAmount = function(data){var balance = parseInt(data.values.balance) || 0,cashout = parseInt(data.values.cash_out_amount) || 0;data.form.find(‘[name=”refi_total_loan_amount”]’).val(balance + cashout).trigger(‘change’);};Fmcty.fn.txCashout = function(data){data.form.find(‘input[name=”refi_reason”]’).prop(‘checked’,false).trigger(‘change’).filter(‘[value=”rate”]’).prop(‘checked’,true).trigger(‘change’);};Fmcty.fn.submitFn = function(data){var response = data;if (data.response) {response = data.response; /* Fmcty 2.0 conversion */}if (data.values) {Fmcty.fn.recordLeadFeed(data.values);}if (response && response.return_url) {window.location = response.return_url;}};Fmcty.fn.recordLeadFeed = function(values){if (values && values.first_name && values.property_city){var badNames = [“test”,”fuck”,”fucker”,”shit”,”bitch”,”nigger”,”no”,”none”];if(jQuery.inArray(values.first_name.toLowerCase(), badNames) === -1) {$.ajax({type: “POST”,url: “https://webhook.proofapi.com/cw/s8PWk6DsvxQ1kIlMHomPRJK4BRE2/-M78Glw6aeb1hgoWfTvm”,dataType: “json”,data: {“type” : “custom”,”first_name” : values.first_name,”email” : values.first_name+values.zip+Math.floor((Math.random() * 1000) + 1)+”@example.com”,”city”: values.property_city,”state”: values.property_state,”country”: “United States”,},success: function(response) {},error: function(response) {},});}}};Fmcty.fn.utf8_to_b64 = function( str ) {return window.btoa(unescape(encodeURIComponent( str )));};Fmcty.fn.createRngCookie = function(data){var cookieName = “rngFormData”;var lifetime =30;var value = Fmcty.fn.utf8_to_b64(JSON.stringify(data));Fmcty.fn.createCookie(cookieName,value,lifetime);};Fmcty.fn.saveRngFormValues = function(data){var values = data.values;var rngData = {};rngData.cookieTimeStamp = new Date();rngData.currentField = $(data.section).attr(‘data-fmcty-section’);$.each(values,function(key,value){if ($.inArray(key,Fmcty.rngFields) !== -1){rngData[key] = value;}});Fmcty.fn.createRngCookie(rngData);};Fmcty.fn.deleteRngValues = function() {var cookieName = “rngFormData”;Fmcty.fn.createCookie(cookieName,””,-1);};Fmcty.fn.createCookie = function(name,value,days) {if (days) {var date = new Date();date.setTime(date.getTime()+(days*24*60*60*1000));var expires = “; expires=”+date.toGMTString();}else var expires = “”;document.cookie = name+”=”+value+expires+”; path=/”;};Fmcty.fn.utf8_to_b64 = function( str ) {return window.btoa(unescape(encodeURIComponent( str )));};Fmcty.fn.createRldCookie = function(data){var cookieName = “rldFormData”;var lifetime =1;var value = Fmcty.fn.utf8_to_b64(JSON.stringify(data));Fmcty.fn.createCookie(cookieName,value,lifetime);};Fmcty.fn.saveRldFormValues = function(data){var values = data.values;var rldData = {};rldData.cookieTimeStamp = new Date();rldData.currentField = $(data.section).attr(‘data-fmcty-section’);$.each(values,function(key,value){if ($.inArray(key,Fmcty.rldFields) !== -1){rldData[key] = value;}});Fmcty.fn.createRldCookie(rldData);};Fmcty.fn.deleteRldValues = function() {var cookieName = “rldFormData”;Fmcty.fn.createCookie(cookieName,””,-1);};Fmcty.fn.createCookie = function(name,value,days) {if (days) {var date = new Date();date.setTime(date.getTime()+(days*24*60*60*1000));var expires = “; expires=”+date.toGMTString();}else var expires = “”;document.cookie = name+”=”+value+expires+”; path=/”;};Fmcty.fn.setBindings = function(form_var){form_var.on(“fmcty:next fmcty:prev”,function(e,data){var scrollTop = $(document).scrollTop(),formTop = $(‘#v4_lp’).offset().top;if ( scrollTop > formTop ) {$(“html, body”).animate({scrollTop:formTop},500)}});form_var.on(“fmcty:next”,function(e,data){var elem = data;if (data.section) {elem = data.section; /* Fmcty 2.0 conversion */}if (typeof ga !== ‘undefined’) {ga(‘vuhlga.send’, {hitType: ‘event’,eventCategory: ‘Formocity: #v4_lp’,eventAction: ‘Advance To Section’,eventLabel: $(elem).data(‘fmctySection’)});}});form_var.on(“fmcty:prev”,function(e,data){var elem = data;if (data.section) {elem = data.section; /* Fmcty 2.0 conversion */}if (typeof ga !== ‘undefined’) {ga(‘vuhlga.send’, {hitType: ‘event’,eventCategory: ‘Formocity: #v4_lp’,eventAction: ‘Back To Section’,eventLabel: $(elem).data(‘fmctySection’)});}});form_var.on(“fmcty:change”,function(e,data){if (window.dataLayer && data && data.input_name && ( data.input_name === “property_value” || data.input_name === “home_value” ) ) {var adValue = parseInt(data.value) / 1000;window.dataLayer.push({event : “adValue”,adValue : adValue});}});form_var.on(“fmcty:submit”,function(e,data){var values;if (data.values) {values = data.values;} else {values = data;}if (typeof ga !== ‘undefined’) {ga(‘vuhlga.send’, {hitType: ‘event’,eventCategory: ‘Formocity: #v4_lp’,eventAction: ‘Submit’,eventLabel: values.plc + ‘ ~ ‘ + values.purpose});}if (window.dataLayer) {if ( ! ( parseInt(values.property_value) ‘).prependTo(‘#v4_lp’);progWrapper = progBar.wrap(“).parent();progText = $(“).appendTo(progWrapper);});form_var.on(‘fmcty:progress_updated’,function(e,data){var progress = data;if (data.progress) {progress = data.progress; /* Fmcty 2.0 conversion */}if (progBar && progBar.length){var progressPct = (progress.currentStep)/progress.activeSteps*100;if (isNaN(progressPct) || progressPct 100) {progressPct = 100;}progBar.css(‘transform’, ‘translateX(-‘ + (100-progressPct) + ‘%)’);if (progress.completedSteps > 0) {progWrapper.addClass(‘fmcty-progress-bar-active’);}}});form_var.on(‘fmcty:section_complete’, function(e, data){if (data.section.attr(‘data-fmcty-section’) == ’email’){if(Fmcty.v4_lp) {var values = Fmcty.v4_lp.values;$.post(“/v3/marketo_partial.php”, values);}}});var plc = form_var.data(‘fmctyPlc’);if (plc && window.mrcFormConfig && window.mrcFormConfig.inputs && window.mrcFormConfig.inputs.plc) {window.mrcFormConfig.inputs.plc.value = plc;}form_var.on(‘fmcty:ready’,function(e,data) {var autocomplete_click = false;function autoAdvanceSection (section) {var hasAutoAdvance = !(section.data(‘fmcty-auto-advance’) === false);if (hasAutoAdvance) {Fmcty[‘v4_lp’].next();}}form_var.on(‘click’,’.fmcty-autocomplete-result’,function(e) {e.preventDefault();var link= $(this),section = link.closest(‘.fmcty-section’),hint= section.find(‘.fmcty-autocomplete-placeholder’),prop_search = section.find(‘input[name=”property_search”]’),prop_zip= section.find(‘input[name=”property_zip”]’),prop_state= section.find(‘input[name=”property_state”]’),prop_city = section.find(‘input[name=”property_city”]’);prop_zip.val(link.data(‘zip’)).trigger(‘change’);prop_city.val(link.data(‘city’)).trigger(‘change’);prop_state.val(link.data(‘state’)).trigger(‘change’);prop_search.val(link.text());hint.val(link.text());section.find(‘#prop_search_aria_update’).text(hint.val() + ‘ selected’);section.removeClass(‘mrc-zip-complete’);prop_search.attr(‘aria-expanded’, ‘false’);if ( ” == ‘standard’ ) {prop_search.focus().closest(‘.fmcty-field’).removeClass(‘fmcty-field-focused’);} else {autoAdvanceSection(section);}}).on(‘mousedown’,’.fmcty-autocomplete-result’, function(e) {autocomplete_click = true;});form_var.find(‘[name=”property_search”]’).not(‘[type=”hidden”]’).wrap(“).on(‘focus’,function(e){var link = $(this),section = link.closest(‘.fmcty-section’);link.closest(‘.fmcty-field’).addClass(‘fmcty-field-focused’);if (section.hasClass(‘mrc-zip-complete’)) {prop_search.attr(‘aria-expanded’, ‘true’);}}).on(‘blur’,function(e){var link= $(this),section = link.closest(‘.fmcty-section’),prop_search = section.find(‘input[name=”property_search”]’);if(autocomplete_click) {autocomplete_click = false;form_var.on(‘mouseup’, function() {$(link).closest(‘.fmcty-field’).removeClass(‘fmcty-field-focused’);prop_search.attr(‘aria-expanded’, ‘false’);$(this).off(‘mouseup’);});} else {$(link).closest(‘.fmcty-field’).removeClass(‘fmcty-field-focused’);prop_search.attr(‘aria-expanded’, ‘false’);}}).on(‘keydown’,function(e){if(e.which === 13) {e.preventDefault();e.stopImmediatePropagation();}}).on(‘keyup’,function(e) {var input = $(this),section = input.closest(‘.fmcty-section’);hint= section.find(‘.fmcty-autocomplete-placeholder’),prop_field= section.find(‘.field-property_search’),prop_search = section.find(‘input[name=”property_search”]’);var results = $(‘.fmcty-autocomplete-result’);section.find(‘.fmcty-autocomplete-placeholder’).val(“);switch(e.which) {case 9:break;case 13:section.removeClass(‘mrc-zip-complete’);section.find(‘#prop_search_aria_update’).text(hint.val() + ‘ selected’);if ( ” == ‘standard’ ) {prop_search.focus().closest(‘.fmcty-field’).removeClass(‘fmcty-field-focused’);} else {autoAdvanceSection(section);}break;case 16:case 37:case 38:case 39:case 40:break;default:Fmcty.fn.locationLookup({“event”: e,”input”: input,”value”: input.val()});break;}if (results.length && prop_field.hasClass(‘fmcty-field-focused’) && section.hasClass(‘mrc-zip-complete’) ) {var selected_result = results.filter(‘.hover’);results.removeClass(‘hover’).attr(‘aria-selected’, ‘false’);prop_search.attr(‘aria-activedescendant’, “);if (e.which === 38 || e.which === 40) {var hint= section.find(‘.fmcty-autocomplete-placeholder’),prop_zip= section.find(‘input[name=”property_zip”]’),prop_state= section.find(‘input[name=”property_state”]’),prop_city = section.find(‘input[name=”property_city”]’);switch(e.which) {case 38:if (selected_result.length && selected_result.parent().prev().children(‘a’).length) {selected_result = selected_result.parent().prev().children(‘a’).addClass(‘hover’).attr(‘aria-selected’, ‘true’);prop_search.attr(‘aria-activedescendant’, selected_result.attr(‘id’));input.val(selected_result.text());hint.val(selected_result.text());prop_zip.val(selected_result.data(‘zip’)).trigger(‘change’);prop_city.val(selected_result.data(‘city’)).trigger(‘change’);prop_state.val(selected_result.data(‘state’)).trigger(‘change’);} else {prop_search.attr(‘aria-activedescendant’, “);}break;case 40:if (! selected_result.length) {selected_result = results.first().addClass(‘hover’).attr(‘aria-selected’, ‘true’);} else if (selected_result.parent().next().children(‘a’).length) {selected_result = selected_result.parent().next().children(‘a’).addClass(‘hover’).attr(‘aria-selected’, ‘true’);} else {selected_result = results.last().addClass(‘hover’).attr(‘aria-selected’, ‘true’);}prop_search.attr(‘aria-activedescendant’, selected_result.attr(‘id’));input.val(selected_result.text());hint.val(selected_result.text());prop_zip.val(selected_result.data(‘zip’)).trigger(‘change’);prop_city.val(selected_result.data(‘city’)).trigger(‘change’);prop_state.val(selected_result.data(‘state’)).trigger(‘change’);break;}}}});});form_var.on(‘fmcty:ready’, function() {function check_ap() {if (typeof window.activeProspectCert !== ‘undefined’) {$(“input[name=’ap_token’]”).val(window.activeProspectCert).trigger(‘change’);} else {if(typeof loadTrustedForm == ‘function’) {loadTrustedForm();setTimeout(check_ap,1000);}}}check_ap();});form_var.on(‘fmcty:ready’, function(e,data){Fmcty.rngFields = [];var allInputs = Fmcty[data.form_id].config.inputs;Fmcty.rngFields.push(‘cookieTimeStamp’);Fmcty.rngFields.push(‘currentField’);$.each(allInputs,function(key,value){if((! this.doNotTrack && this.type !== “hidden” && this.type !== “html”) || key === “curi” || key === “first_name” || key === “last_name” || key === “email” || key === “property_zip” || key === “property_state” || key === “property_city”){Fmcty.rngFields.push(key);}});});form_var.on(‘fmcty:section_complete’, function(e,data){Fmcty.fn.saveRngFormValues(data);});form_var.on(‘fmcty:submit’, function(e,data){Fmcty.fn.deleteRngValues();});};Fmcty.fn.setBindings(mrcForm);populateAddresses = function (result) {var input = $(‘input[name=”property_search_2″]’);var section = input.closest(‘.fmcty-section’);var prop_search = section.find(‘input[name=”property_search_2″]’);var prop_rupid = section.find(‘input[name=”property_rupid”]’);var autocomplete = section.find(‘.fmcty-autocomplete’);var autocomplete_results = autocomplete.find(‘.fmcty-autocomplete-results’);var placeholder = $(‘.fmcty-autocomplete-placeholder’);if (typeof result.content !== ‘undefined’) {autocomplete_results.html(“”);placeholder.html(“”);section.find(“#prop_search_aria_update”).text(result.content.length + ” location results”);section.removeClass(“fmcty-section-waiting mrc-section-waiting”).addClass(“mrc-zip-complete”);section.find(“.fmcty-field-validation”).remove();if (result.content.length > 0) {for (var i = 0; i ‘ + autocomplete_item + ‘‘);}} else {autocomplete_results.append(‘
Sorry, no results found
‘);}} else {section.removeClass(“fmcty-section-waiting mrc-section-waiting”).removeClass(“mrc-zip-complete”);prop_search.attr(“aria-expanded”, “false”);section.find(“#prop_search_aria_update”).text(“”);prop_rupid.val(“”).trigger(“change”);section.find(“.fmcty-ajax-result-description”).remove();}$(‘body’).on(‘click’, ‘.fmcty-autocomplete-result’, function (e) {e.preventDefault();var link = $(this);var prop_address = section.find(‘input[name=”address”]’);var prop_rupid = section.find(‘input[name=”property_rupid”]’);prop_rupid.val(link.data(‘rupid’)).trigger(‘change’);prop_address.val(link.data(‘address’)).trigger(‘change’);placeholder.val(“);});$(‘[name=”property_search_2″]’).not(‘[type=”hidden”]’).on(‘keyup’, function (e) {var input = $(this),section = input.closest(‘.fmcty-section’),placeholder = $(‘.fmcty-autocomplete-placeholder’),results = $(‘.fmcty-autocomplete-results a’);if (results.length) {var selected_result = results.filter(‘.hover’);if (e.which === 38 || e.which === 39 || e.which === 40) {var prop_rupid = section.find(‘input[name=”property_rupid”]’),prop_zip = section.find(‘input[name=”zip”]’),prop_state = section.find(‘input[name=”property_state_2″]’),prop_city = section.find(‘input[name=”property_city_2″]’),prop_address = section.find(‘input[name=”address”]’);switch (e.which) {case 38: if (selected_result.length && selected_result.parent().prev().children(‘a’).length) {prop_rupid.val(selected_result.data(‘rupid’)).trigger(‘change’);prop_address.val(selected_result.data(‘address’)).trigger(‘change’);}placeholder.val(“);break;case 39: input.val(result.content[0].full_address.toUpperCase()).trigger(‘change’);prop_zip.val(result.content[0].zip).trigger(‘change’);prop_city.val(result.content[0].city).trigger(‘change’);prop_address.val(result.content[0].street_address).trigger(‘change’);prop_state.val(result.content[0].state).trigger(‘change’);prop_rupid.val(result.content[0].rupid).trigger(‘change’);placeholder.val(“);break;case 40: prop_address.val(selected_result.data(‘address’)).trigger(‘change’);prop_rupid.val(selected_result.data(‘rupid’)).trigger(‘change’);placeholder.val(“);break;}}}});};mrcForm.formocity(window.mrcFormConfig);}); ]]>