
Connect with a local, VA-friendly real estate agent! Nexovant Digital Realty
Thanks, you’ll be connected to a Veterans United Realty agent shortly.
Realty Search Solutions, LLC, or in California, Realty Search Corp., does not provide financial services. By selecting “continue”, I agree to receive marketing calls or texts at the number I provided from Mortgage Research Center, LLC, through its brands Veterans United Home Loans or Paddio, or MRC affiliate Neighbors Bank about financing 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. Consent is not a condition of service.”},”name_label” : {“type”: “html”,”content” : “
What is your name?
“},”first_name” : {“label” : “First Name”,”placeholder” : “First Name”,”attr”: ‘autocomplete=”given-name”‘,”type”: “text”,”required”: true,”invalidMsg”: “Please enter your first name.”,”doNotTrack”: true,},”last_name” : {“label” : “Last Name”,”placeholder” : “Last Name”,”attr”: ‘autocomplete=”family-name”‘,”type”: “text”,”required”: true,”invalidMsg”: “Please enter your last name.”,”doNotTrack”: true},”email” : {“type”: “email”,”label” : “What is your email address?”,”attr”: ‘autocomplete=”email”‘,”placeholder” : “Email Address”,”required”: true,”invalidMsg”: “Please enter a valid email address.”,”doNotTrack”: true},”rss_agreestoemails” : {“type”: “html”,”content” : “Your information is secure. Continuing here means you agree to our privacy policy and to receive information from Veterans United Realty and its affiliates.”},”phone_full” : {“type”: “tel”,”label” : “What is your phone number?”,”required”: true,”onChange”: ‘setMostRecentPhone’,”placeholder” : “( ) -“,”attr”: ‘autocomplete=”tel-national”‘,”invalidMsg”: “Please enter a valid phone number.”,”doNotTrack”: true},”agree” : {“type”: “html”,”content” : “By submitting, I am providing my electronic signature and I agree my information may be shared and that I may be contacted at this number (including through emails, and/or autodialed or pre-recorded calls or generative AI or texts, carrier rates may apply) for marketing purposes by Realty Search Solutions, LLC (or if located in the state of California, Realty Search Corp.) and its network agents calling on its behalf, about homebuying matters even if I am on a Do Not Call List. I agree to the privacy policy and terms. Consent is not a condition of service. I may receive service without this consent by contacting Realty Search Solutions, LLC.”},”living_situation” : {“label” : “What is your living situation?”,”type” : “radio”,”class” : “field-stacked”,”required” : true,”options” : [[ “own” , “I currently own a home” ],[ “rent” , “I am currently renting” ],[ “other” , “I have other living arrangements” ]]},”property_type” : {“label”: “What property type are you most interested in?”,”type” : “radio”,”required” : true,”class” : “field-stacked”,”options” : [[ “single” , “Single-Family Home” ],[ “condominium” , “Condominium” ],[ “townhome” , “Town Home” ],[ “multifamily” , “Multi-Family” ],[ “manufactured” , “Mobile / Manufactured” ],[ “new construction” , “New Construction” ],[ “other” , “Other” ]]},”when_loan” : {“label”: “Do you have a timeline in mind?”,”type” : “radio”,”required” : true,”class” : “field-stacked”,”placeholder” : “Select your timeframe…”,”options” : [[ “within a month” , “As soon as possible” ],[ “2 to 3 months” , “3 months or less” ],[ “3 to 6 months” , “3 to 6 months” ],[ “over 6 months” , “6 months or more” ],[ “no timeframe” , “No timeframe” ]]},”military_status” : {“label”: “Are you currently serving?”,”type” : “radio”,”required” : true,”class” : “field-stacked”,”options” : [[ ‘Active Duty’ , ‘Currently Serving’ ],[ ‘Veteran’, ‘Separated’ ]]},”occupational_status” : {“label” : “What is your current employment status?”,”type”: “radio”,”required”: true,”class” : “field-stacked”,”options” : [[“Employed”, “Full Time”],[“Part-Time” , “Part Time”],[“Retired” , “Retired”],[“Not-Employed”, “I’m not currently working”]]},”first_time” : {“label” : “Would this be your first home purchase?”,”type”: “radio”,”required”: true,”class” : “field-stacked”,”options” : [[ “yes” , “Yes” ],[ “no”, “No” ]]},”bedroom_minimum” : {“label” : “How many bedrooms would you like in your new home?”,”type”: “radio”,”required”: true,”options” : [[“1”, “1 bedroom”],[“2”, “2 bedrooms”],[“3”, “3 bedrooms”],[“4”, “4 bedrooms”],[“5”, “5 or more bedrooms”],[“0”, “I’m not sure”]],},”bathroom_minimum” : {“label” : “How many bathrooms would you like in your new home?”,”type”: “radio”,”required”: true,”options” : [[“1”, “1 bathroom”],[“2”, “2 bathrooms”],[“3”, “3 or more bathrooms”],[“0”, “I’m not sure”]],},”credit_rating” : {“label”: “How is your credit score?”,”type” : “radio”,”required” : true,”class” : “field-stacked”,”options” : [[“Excellent” , “Excellent (720+)”],[“Good”, “Good (680-719)”],[“Fair”, “Fair (620-679)”],[“Below Average” , “Below Average (600-639)”],[“Poor”, “Poor (Below 600)”],[“unknown” , “I don’t know”]],},”confirm_location” : {“label” : “Are you thinking of staying in your current city?”,”type” :”radio”,”required”: true,”class” : “field-stacked”,”onChange”: “setPurchaseLocation”,”invalidMsg”: “Please make a selection to continue”,”options” : [[ “yes” , “Yes, I’m staying in my current city” ],[ “no” , “No, I’m moving to a new city” ],]}, },”order”: [{“title” : “start”,”inputs” : [“rss_leadvariablevalue”,”form_id”,”submission_type”,”selling_home”,”purchase_location_interest”,”rss_dualpurpose”,”organization”,”host_name”,”websitefullurl”,”queue_override”,”src”,”source”,”adg”,”cmp”,”curi”,”placement”,”platform”,”matchtype”,”campaignid”,”microsoftadsnetworktype”,”google_client_id”,”plc”,”dnt_flag”,”adid”,”gclid”,”dclid”,”fbclid”,”msclkid”,”utm_source”,”utm_medium”,”utm_campaign”,”utm_term”,”utm_content”,”lead_intent”,”agent_direct_version_contact_type”,”agent_direct_version”,”rss_mostrecentphonenumber”,”routing_campaign”,”output_version”,”vur_purpose”,”selling_city”,”selling_state”,”listing_address”,”address_rupid”,”rss_leadformquestion1id”,”rss_leadformquestion1answer”,”rss_dualpostid”,”rss_adlinkid”,”start_form”,”map_state_select”,”map_html”,],},{“title”: “vu_whereprocess”,”inputs” : [“vu_whereprocess”,],},{“title”: “living_situation”,”inputs” : [“living_situation”,],},{“title” : “first_time”,”inputs” : [“first_time”]},{“title” : “selling_plans”,”inputs” : [“selling_plans”]},{“title” : “address-search”,”inputs” : [“address_search”,”address_search_zip”,”address_search_city”,”address_search_state”,”address_search_street”,”address_search_rupid”,”secure_label”]},{“title” : “address”,”inputs” : [“address_label”,”address”,”zip”]},{“title” : “fths”,”inputs” : [“fths”]},{“title” : “listing_value”,”inputs” : [“listing_value”]},{“title” : “confirm_location”,”inputs” : [“confirm_location”]},{“title”: “property-search”,”inputs” : [“property_search_label”,”property_search”,”property_zip”,”property_state”,”property_city”,],},{“title” : “property-zip”,”inputs” : [“property_zip_fallback”]},{“title” : “military_branch”,”inputs” : [“military_branch”]},{“title” : “active-duty”,”inputs” : [“military_status”]},{“title” : “occupational_status”,”inputs” : [“occupational_status”]},{“title” : “has_agent”,”inputs” : [“has_agent”,]},{“title” : “toured_homes”,”inputs” : [“toured_homes”,]},{“title” : “active_purchase”,”inputs” : [“active_purchase”,]},{“title” : “signed_agency_agreement”,”inputs” : [“signed_agency_agreement”,]},{“title” : “property_value”,”inputs” : [“property_value”]},{“title” : “property_type”,”inputs” : [“property_type”]},{“title” : “bedroom_minimum”,”inputs” : [“bedroom_minimum”]},{“title” : “bathroom_minimum”,”inputs” : [“bathroom_minimum”]},{“title” : “when_loan”,”inputs” : [“when_loan”]},{“title” : “property_value_2″,”inputs” : [“property_value_2”]},{“title” : “name”,”inputs” : [“name_label”,”first_name”,”last_name”]},{“title” : “email_address”,”inputs” : [“email”,”next”,”rss_agreestoemails”]},{“title” : “phone_number”,”inputs” : [“phone_full”,”agree”,]},{“title” : “requests_loan_specialist”,”inputs” : [“submit_success”,”requests_loan_specialist”,”lender_agree”,”vu_agree”]},],”logic” : {“conditions” : {“address_not_listed” : {“target” : “address_search_rupid”,”operator” : “=”,”value” : “null”},”property_zip_lookup_failed” : {“target” : “property_zip”,”operator” : “=”,”value”: “fail”},”property_zip_lookup_failed_2″ : {“target” : “zip”,”operator” : “=”,”value”: “fail”},”property_state_lookup_failed” : {“target” : “property_state”,”operator” : “=”,”value”: “fail”},”property_state_2_lookup_failed” : {“target” : “property_state_2″,”operator” : “=”,”value”: “fail”},”is_renting” : {“target” : “living_situation”,”operator” : “=”,”value” : “rent”},”has_agent” : {“target” : “has_agent”,”operator” : “=”,”value” : “yes”},”has_toured_homes” : {“target” : “toured_homes”,”operator” : “=”,”value” : “yes”},”has_not_toured_homes” : {“target” : “toured_homes”,”operator” : “=”,”value” : “no”},”is_buying” : {“target” : “vur_purpose”,”operator” : “=”,”value” : “purchase”},”is_selling” : {“target” : “vur_purpose”,”operator” : “=”,”value” : “listing”},”is_buying_and_selling” : {“target” : “rss_dualpurpose”,”operator” : “=”,”value” : “1”},”requests_loan_specialist” : {“target” : “requests_loan_specialist”,”operator” : “=”,”value” : “yes”},”is_civilian” : {“target” : “military_branch”,”operator” : “=”,”value”: “Civilian”},”is_new_york_purchase” : {“target” : “property_state”,”operator” : “=”,”value” : “NY”},”is_current_homeowner” : {“target”: “living_situation”,”operator”: “=”,”value” : “own”},”is_other_living” : {“target”: “living_situation”,”operator”: “=”,”value” : “other”},”is_active_duty” : {“target” : “military_status”,”operator” : “=”,”value” : “Active Duty”},”is_spouse” : {“target”: “military_branch”,”operator”: “=”,”value” : “Spouse”},”is_fthb” : {“target”: “first_time”,”operator”: “=”,”value” : “yes”},”is_renting_or_other” : {“target”: “living_situation”,”operator”: “!=”,”value” : “own”},”help_selling” : {“target” : “selling_plans”,”operator” : “=”,”value” : “yes”},”update_purchase_location” : {“target” : “confirm_location”,”operator” : “=”,”value” : “yes”},”is_on_VUR” : {“target” : “host_name”,”operator” : “=”,”value” : “veteransunitedrealty.com”},”is_on_ARN” : {“target” : “host_name”,”operator” : “=”,”value” : “alliancerealtynetwork.com”},”is_on_RLTY” : {“target” : “host_name”,”operator” : “=”,”value” : “rlty.com”},},”rules” : {“toggle_purchase_property_search_on”: {“condition”: “update_purchase_location”,”target”: “property_search”,”action”: “hide”,”else”: “show”,},”toggle_purchase_city_on”: {“condition”: “update_purchase_location”,”target”: “property_city”,”action”: “hide”,”else”: “show”,},”toggle_purchase_state_on”: {“condition”: “update_purchase_location”,”target”: “property_state”,”action”: “hide”,”else”: “show”,},”toggle_property_zip_on”: {“condition”: “update_purchase_location”,”target”: “property_zip”,”action”: “hide”,”else”: “show”,},”toggle_confirm_location” : {“condition” : “! help_selling || is_fthb || address_not_listed”,”target”: “confirm_location”,”action”: “hide”,”else”: “show”},”toggle_property_zip_fallback”: {“condition”: “property_zip_lookup_failed”,”target”: “property_zip_fallback”,”action”: “show”,”else”: “hide”},”toggle_property_zip_fallback_2″: {“condition”: “property_zip_lookup_failed_2″,”target”: “property_zip_fallback_2″,”action”: “show”,”else”: “hide”},”toggle_purchase_property_search_off”: {“condition”: “is_selling”,”target”: “property_search”,”action”: “hide”,},”toggle_purchase_city_off”: {“condition”: “is_selling”,”target”: “property_city”,”action”: “hide”,},”toggle_purchase_state_off”: {“condition”: “is_selling”,”target”: “property_state”,”action”: “hide”,},”toggle_purchase_zip_off”: {“condition”: “is_selling”,”target”: “property_zip”,”action”: “hide”,},”toggle_vu_agree_off”: {“condition”: “is_selling”,”target”: “vu_agree”,”action”: “hide”,},”toggle_toured_homes”: {“condition”: “! is_selling && has_agent”,”target”: “toured_homes”,”action”: “show”,”else”: “hide”,},”toggle_toured_homes_value” : {“condition”: “! has_agent”,”target”: “toured_homes”,”action”: {“value” : “no”}},”toggle_signed_agency_agreement”: {“condition”: “has_agent”,”target”: “signed_agency_agreement”,”action”: “show”,”else”: “hideField”,},”toggle_signed_agency_agreement_value”: {“condition”: “! has_agent”,”target”: “signed_agency_agreement”,”action”: {“value” : “no”}},”toggle_active_purchase”: {“condition”: “has_toured_homes”,”target”: “active_purchase”,”action”: “show”,”else”: “hideField”,},”toggle_active_purchase_value”: {“condition”: “! has_toured_homes”,”target”: “active_purchase”,”action”: {“value” : “no”}},”toggle_price_range”: {“condition”: “is_buying || is_buying_and_selling”,”target”: “property_value”,”action”: “show”,”else”: “hideField”,},”toggle_price_range_2″: {“condition”: “is_selling || is_buying_and_selling”,”target”: “property_value_2″,”action”: “show”,”else”: “hide”,},”toggle_requests_loan_specialist”: {“condition”: “is_new_york_purchase || is_selling || ( is_civilian && is_on_VUR )”,”target”: “requests_loan_specialist”,”action”: “hide”,”else”: “show”,},”toggle_lender_agree”: {“condition”: “is_new_york_purchase || is_selling || ( is_civilian && is_on_VUR )”,”target”: “lender_agree”,”action”: “hide”,”else”: “show”,},”toggle_vu_agree”: {“condition”: “is_new_york_purchase || is_selling || ( is_civilian && is_on_VUR )”,”target”: “vu_agree”,”action”: “hide”,”else”: “show”,},”update_organization”: {“condition”: “is_civilian”,”target”: “organization”,”action”: {“value” : “arn”},”else”: {“value” : “vur”}},”update_submission_type”: {“condition”: “is_civilian”,”target”: “submission_type”,”action”: {“value” : “conventional”},”else”: {“value” : “va”}},”set_lender_agree”: {“condition”: “requests_loan_specialist”,”target”: “vu_agree”,”action”: {“value” : “1”},”else”: {“value” : “0”}},”toggle_property_type”: {“condition”: “is_buying || is_buying_and_selling”,”target”: “property_type”,”action”: “show”,”else”: “hide”,},”toggle_when_loan”: {“condition”: “is_buying || is_buying_and_selling”,”target”: “when_loan”,”action”: “show”,”else”: “hide”,},”toggle_fthb” : {“condition” : “is_current_homeowner || is_selling”,”target”: “first_time”,”action”: “hide”,”else”: “show”},”toggle_beds” : {“condition” : “is_selling”,”target”: “bedroom_minimum”,”action”: “hide”,”else”: “show”},”toggle_baths” : {“condition” : “is_selling”,”target”: “bathroom_minimum”,”action”: “hide”,”else”: “show”},”toggle_active_duty” : {“condition” : “is_civilian || is_spouse”,”target”: “military_status”,”action”: “hide”,”else”: “show”},”toggle_occupational_status” : {“condition” : “is_active_duty”,”target”: “occupational_status”,”action”: “hide”,”else”: “show”},”toggle_fake_vur_purpose” : {“condition” : “is_other_living || is_renting”,”target”: “fake_vur_purpose”,”action”: “hide”,”else”: “show”},”toggle_selling_plans” : {“condition” : “is_fthb”,”target”: “selling_plans”,”action”: “hide”,”else”: “show”},”toggle_sell_label” : {“condition” : “! is_fthb && is_renting_or_other”,”target”: “selling_plans”,”action”: {“label” : “You have a home you’re thinking of selling?”},else: {“label” : “Will you be selling your home?”},},”toggle_address_label” : {“condition” : “help_selling && is_renting_or_other”,”target”: “address_search”,”action”: {“label” : “What is the address you’re thinking of selling?”},else: {“label” : “Where are you currently living?”},},”toggle_address_search” : {“condition” : “! help_selling || is_fthb”,”target”: “address_search”,”action”: “hide”,”else”: “show”},”toggle_address_search_city” : {“condition” : “! help_selling || is_fthb”,”target”: “address_search_city”,”action”: “hide”,”else”: “show”},”toggle_address_search_state” : {“condition” : “! help_selling || is_fthb”,”target”: “address_search_state”,”action”: “hide”,”else”: “show”},”toggle_address_search_street” : {“condition” : “! help_selling || is_fthb”,”target”: “address_search_street”,”action”: “hide”,”else”: “show”},”toggle_address_search_rupid” : {“condition” : “! help_selling || is_fthb”,”target”: “address_search_rupid”,”action”: “hide”,”else”: “show”},”toggle_address_search_zip” : {“condition” : “! help_selling || is_fthb”,”target”: “address_search_zip”,”action”: “hide”,”else”: “show”},”toggle_zip” : {“condition” : “address_not_listed”,”target”: “zip”,”action”: “show”,”else”: “hide”},”toggle_fths” : {“condition” : “! help_selling || is_fthb”,”target”: “fths”,”action”: “hide”,”else”: “show”},”toggle_listing_value” : {“condition” : “! help_selling || is_fthb”,”target”: “listing_value”,”action”: “hide”,”else”: “show”},”toggle_manual_address_label” : {“condition” : “address_not_listed”,”target” : “address_label”,”action” : “show”,”else” : “hide”,},”toggle_manual_address” : {“condition” : “address_not_listed”,”target” : “address”,”action” : “show”,”else” : “hideField”,},”toggle_manual_zip” : {“condition” : “address_not_listed”,”target” : “zip”,”action” : “show”,”else” : “hideField”,},},”validation” : {“phone_full” : {“operator” : “regex”,”value” : “^[23456789]\d{9}$”},}},”nextText” : “Continue”,”submitText” : “Continue”,”submitUrl” : “httpsu003A//www.mortgageresearchcenter.com/ajax/post_lead.php”,”submitFn” : “submitFn”,”autoFocus” : true,”dataLayer” : {‘change’: true,’ready’ : true,’prev’: true,},};window.vur_v5.inputs.rss_dualpostid.value = crypto.randomUUID();window.vur_v5.inputs.rss_adlinkid.value = crypto.randomUUID();$(document).ready(function(){var vur_v5 = $(‘#vur_v5’);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;};vur_v5.on(“fmcty:next fmcty:prev”,function(e,data){if (typeof LeadiD !== ‘undefined’ && typeof LeadiD.snap === ‘function’) {$(‘#leadid_token’).trigger(‘change’);setTimeout(function(){LeadiD.snap();},700); /* slide transition time */}});vur_v5.on(‘fmcty:ready’,function(data){$(this).addClass(‘fmcty-ready’);});var progBar, progWrapper, progText;vur_v5.on(‘fmcty:ready’, function() {progBar = $(”).prependTo(‘#vur_v5’);progWrapper = progBar.wrap(”).parent();progText = $(”).appendTo(progWrapper);});vur_v5.on(‘fmcty:progress_updated’, function(e, data) {var progress = data.progress || data;if (progBar && progBar.length) {var progressPct = (progress.currentStep / progress.activeSteps) * 100;progressPct = Math.min(Math.max(progressPct, 0), 100);progWrapper.toggleClass(‘fmcty-progress-bar-active’, progress.currentStep > 1);progBar.attr({value: progress.currentStep – 1,max: progress.activeSteps});progText.text(`Step ${progress.currentStep} of ${progress.activeSteps}`);}});vur_v5.on(‘fmcty:ready’,function(e,data) {if (typeof initExpanders === ‘function’) {initExpanders();}});window.vur_v5.order[0].after = ‘u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003Cdivu0020classu003Du0022lpu002Dreviewu002Dwidgetu0022u003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003Cdivu0020classu003Du0022reviewu002Dwidgetu002Dratingu0022u003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003Cdivu0020classu003Du0022staru002Dratingu0022u0020itempropu003Du0022reviewRatingu0022u0020itemscopeu003Du0022u0022u0020itemtypeu003Du0022httpu003A//schema.org/Ratingu0022u003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003Cspanu0020classu003Du0022starsu0022u0020styleu003Du0022widthu003Au002097.004723227686u0025u003Bu0022u003Eu0026nbspu003Bu003C/spanu003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003C/divu003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003Cdivu0020classu003Du0022reviewu002Dwidgetu002Daverageu0022u003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003Cspanu0020itempropu003Du0022ratingValueu0022u003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u00204.9nu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003C/spanu003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003Cspanu003Eu0020outu0020ofu0020u003C/spanu003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003Cspanu0020itempropu003Du0022bestRatingu0022u003E5u003C/spanu003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003C/divu003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003C/divu003Ennu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003Cdivu0020classu003Du0022reviewu002Dwidgetu002Dtotalu0022u003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003Cstrongu003E90,616u003C/strongu003Eu0020Veteransu0020Unitedu0020Realtyu0020Reviewsnu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003C/divu003Enu0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u0020u003C/divu003Enu0020u0020u0020u0020u0020u0020u0020u0020’;vur_v5.on(“fmcty:progress_updated”,function(e,data){if (data.progress.currentStep > 1) {$(‘body’).addClass(‘form-started form-engaged’);data.container.addClass(‘fmcty-started fmcty-engaged’);} else {$(‘body’).removeClass(‘form-started’);data.container.removeClass(‘fmcty-started’);}});var fmctyXhr = null;Fmcty.fn.callLocationLookupService = function(query,successCallback,errorCallback) {if (fmctyXhr && fmctyXhr.readyState != 4) {fmctyXhr.abort();}fmctyXhr = $.ajax({url: “https://www.mortgageresearchcenter.com/ajax/location.php?not_state=PR,VI,AE,AS,GU,MH,FM,MP,PW,AP&input=” + query,cache: true,dataType: “json”,type: “GET”,crossDomain: true,success: function(response) {successCallback(response);},error: function(response) {errorCallback(response);}});};Fmcty.fn.locationLookup = function(data) {var input = data.input,value = data.value,values = data.values,event = data.event,form_id = data.form_id;var section = input.closest(‘.fmcty-section’),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”]’),result_display= section.find(‘.fmcty-autocomplete-placeholder’),autocomplete= section.find(‘.fmcty-autocomplete’),location,location_display;if ( ! result_display.length ) {result_display = $(”).appendTo(prop_search.parent());}if ( ! autocomplete.length ) {autocomplete = $(”).appendTo(‘#’ + form_id + ‘_prop_search_results_box’);}var autocomplete_results = autocomplete.find(‘.fmcty-autocomplete-results’);if (value.length < 2) {prop_zip.val('').trigger('change');prop_city.val('').trigger('change');prop_state.val('').trigger('change');result_display.val('');section.removeClass('mrc-zip-complete').find('.fmcty-ajax-result-description').remove();prop_search.attr('aria-expanded', 'false');return;}section.addClass('fmcty-section-waiting mrc-section-waiting');Fmcty.fn.callLocationLookupService(value,function(result) {if (typeof result.data !== 'undefined') {autocomplete_results.html('');for (var i = 0; i < result.data.length; i++) {if (result.data[i].PLACENAME) {var autocomplete_item = "",autocomplete_id = "";if (result.data[i].type === 'zip') {autocomplete_item = result.data[i].ZIPCODE+", ";autocomplete_id = result.data[i].ZIPCODE;} else {autocomplete_id = result.data[i].CityStateKey;}if (result.data[i].PLACENAME) {autocomplete_item += result.data[i].PLACENAME+', ';}if (result.data[i].STATEABBV) {autocomplete_item += result.data[i].STATEABBV;}autocomplete_results.append('
‘);}}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;}vur_v5.on(‘fmcty:ready’,function(e,data) {var autocomplete_click = false;function autoAdvanceSection (section) {var hasAutoAdvance = !(section.data(‘fmcty-auto-advance’) === false);if (hasAutoAdvance) {Fmcty[‘vur_v5’].next();}}vur_v5.find(‘[name=”property_search”]’).not(‘[type=”hidden”]’).closest(‘.fmcty-field’).append(‘
When autocomplete results are available use up and down arrows to review and enter to select.
‘ );vur_v5.on(‘click’,’.fmcty-property-search-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-property-search-result’, function(e) {autocomplete_click = true;});vur_v5.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;vur_v5.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-property-search-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(),”form_id”: data.form_id,});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.removeAttr(‘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.prev().length) {selected_result = selected_result.prev().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.removeAttr(‘aria-activedescendant’);}break;case 40:if (! selected_result.length) {selected_result = results.first().addClass(‘hover’).attr(‘aria-selected’, ‘true’);} else if (selected_result.next().length) {selected_result = selected_result.next().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;}}}});});let addressXhr = null;Fmcty.fn.address_search_fn = function(query,successCallback,errorCallback) {if (addressXhr && addressXhr.readyState != 4) {addressXhr.abort();};addressXhr = $.ajax({url: “https://www.veteransunitedrealty.com/api/autocomplete/?size=5&input=” + query,cache: true,dataType: “json”,type: “GET”,crossDomain: true,success: function(response) { successCallback(response);},error: function(response) {errorCallback(response);}});};Fmcty.fn.display_address_results = function(data) {let input = data.input,value = data.value,event = data.event,form_id = data.form_id;let section = input.closest(‘.fmcty-section’),address_search= section.find(‘input[name=”address_search”]’),autocomplete_wrapper= section.find(‘.fmcty-autocomplete-wrapper’),autocomplete= section.find(‘.fmcty-autocomplete’),hint= section.find(‘.fmcty-autocomplete-placeholder’),show_hint = true,min_characters= 3,max_results = 11,location,location_display;autocomplete.html(”);section.find(‘input[name=”address_search_street”]’).val(”).trigger(‘change’);section.find(‘input[name=”address_search_state”]’).val(”).trigger(‘change’);section.find(‘input[name=”address_search_city”]’).val(”).trigger(‘change’);section.find(‘input[name=”address_search_zip”]’).val(”).trigger(‘change’);section.find(‘input[name=”address_search_rupid”]’).val(”).trigger(‘change’);if( value.length < min_characters ) {address_search.attr('aria-expanded', 'false');section.removeClass('fmcty-search-complete');hint.val('');autocomplete.height(0);autocomplete_wrapper.css('max-height', 0);return;}autocomplete.append('');let autocomplete_results = autocomplete.find('.fmcty-autocomplete-results');section.addClass('fmcty-section-waiting mrc-section-waiting');Fmcty.fn.address_search_fn(value,function(data){let suggestions = data.content,address_not_listed = {"rupid": null,"city": null,"state": null,"zip": null,"street_address": "Address Not Listed","full_address": "Address Not Listed",};suggestions.push(address_not_listed);let suggestions_length = Math.min(suggestions.length, max_results);autocomplete_results.html('');$.each(suggestions, function(index, data) {let result_template = `
`;if(index 336) {height = 336;}autocomplete.height(height);autocomplete_wrapper.css(‘max-height’, (height + 40) + ‘px’);let aria_update_text = suggestions_length === 1 ? ‘result’ : ‘results’;section.find(‘.address_search_aria_update’).text(suggestions_length + ‘ ‘ + aria_update_text);},function(data){if (data.statusText && data.statusText === “error”) {section.removeClass(‘fmcty-section-waiting mrc-section-waiting’).removeClass(‘fmcty-search-complete’);address_search.attr(‘aria-expanded’, ‘false’);address_search.val(‘Address Not Listed’).trigger(‘change’);address_search_rupid.val(‘null’).trigger(‘change’);section.find(‘.fmcty-ajax-result-description’).remove();}});};vur_v5.on(‘fmcty:ready’,function(e,data) {let autocomplete_click = false;let autocomplete_template = `
When autocomplete results are available use up and down arrows to review and enter to select.
`;function section_complete(section) {if (” == ‘standard’ || section.data(‘fmcty-auto-advance’) === false) {Fmcty.fn.autocomplete_address_escape(section);} else {section.find(‘.fmcty-next’).trigger(‘click’);}};vur_v5.find(‘[name=”address_search”]’).not(‘[type=”hidden”]’).closest(‘.fmcty-field’).append(autocomplete_template);vur_v5.on(‘click’,’.fmcty-address-search-result’,function(e) {e.preventDefault();let link = $(this),section= link.closest(‘.fmcty-section’),address_search = section.find(‘input[name=”address_search”]’);Fmcty.fn.autocomplete_address_select(link);section.removeClass(‘fmcty-search-complete’);address_search.attr(‘aria-expanded’, ‘false’);section.find(‘.fmcty-autocomplete-wrapper’).css( ‘max-height’, 0 );console.log(”);section_complete(section);}).on(‘mousedown’,’.fmcty-address-search-result’, function(e) {autocomplete_click = true;});vur_v5.find(‘[name=”address_search”]’).not(‘[type=”hidden”]’).wrap(”).after(”).on(‘focus’,function(e) {let input = $(this),section = input.closest(‘.fmcty-section’);hint= section.find(‘.fmcty-autocomplete-placeholder’);input.closest(‘.fmcty-field’).addClass(‘fmcty-field-focused’);hint.val(”);if (section.find(‘.fmcty-address-search-result’).length > 0 && input.val() != “Address Not Listed”) {Fmcty.fn.autocomplete_address_show(section);}}).on(‘paste’, function(e) {let input = $(this);let paste = (event.clipboardData || window.clipboardData).getData(“text”);e.preventDefault();input.val(paste).trigger(‘change’);Fmcty.fn.display_address_results({“event”: e,”input”: input,”value”: input.val(),”form_id”: data.form_id,});}).on(‘blur’,function(e) {let input = $(this);section = input.closest(‘.fmcty-section’);if (autocomplete_click === false) {input.closest(‘.fmcty-field’).removeClass(‘fmcty-field-focused’);Fmcty.fn.autocomplete_address_escape(section);}}).on(‘keydown’,function(e) {let section = $(this).closest(‘.fmcty-section’),hint= section.find(‘.fmcty-autocomplete-placeholder’);if(e.which === 13) {e.preventDefault();e.stopImmediatePropagation();}hint.val(”);}).on(‘keyup’,function(e) {let input= $(this),section= input.closest(‘.fmcty-section’);hint = section.find(‘.fmcty-autocomplete-placeholder’),autocomplete_wrapper = section.find(‘.fmcty-autocomplete-wrapper’),autocomplete = section.find(‘.fmcty-autocomplete’),autocomplete_field = section.find(‘.field-address_search’),address_search = section.find(‘input[name=”address_search”]’),results= section.find(‘.fmcty-address-search-result’);hint.val(”);switch(e.which) {case 9:break;case 13:section.removeClass(‘fmcty-search-complete’);section_complete(section);break;case 16:case 27:case 37:case 38:case 39:case 40:case 91:break;default:Fmcty.fn.display_address_results({“event”: e,”input”: input,”value”: input.val(),”form_id”: data.form_id,});break;}if (results.length && autocomplete_field.hasClass(‘fmcty-field-focused’) && section.hasClass(‘fmcty-search-complete’) ) {let selected_result = results.filter(‘.hover’);results.removeClass(‘hover’).attr(‘aria-selected’, ‘false’);address_search.removeAttr(‘aria-activedescendant’);if (e.which === 38 || e.which === 40 || e.which === 27) {switch(e.which) {case 38:if (selected_result.length && selected_result.prev().length) {selected_result = selected_result.prev().addClass(‘hover’).attr(‘aria-selected’, ‘true’);} else {selected_result = results.last().addClass(‘hover’).attr(‘aria-selected’, ‘true’);}Fmcty.fn.autocomplete_address_select(selected_result);address_search.attr(‘aria-activedescendant’, selected_result.attr(‘id’));autocomplete[0].scrollTop = (selected_result[0].offsetTop) – ((autocomplete[0].clientHeight / 2) – (selected_result[0].offsetHeight / 2));break;case 40:if (! selected_result.length || selected_result.next().length === 0) {selected_result = results.first().addClass(‘hover’).attr(‘aria-selected’, ‘true’);} else if (selected_result.next().length) {selected_result = selected_result.next().addClass(‘hover’).attr(‘aria-selected’, ‘true’);} else {selected_result = results.last().addClass(‘hover’).attr(‘aria-selected’, ‘true’);;}Fmcty.fn.autocomplete_address_select(selected_result);address_search.attr(‘aria-activedescendant’, selected_result.attr(‘id’));autocomplete[0].scrollTop = (selected_result[0].offsetTop) – ((autocomplete[0].clientHeight / 2) – (selected_result[0].offsetHeight / 2));break;case 27:Fmcty.fn.autocomplete_address_escape(section);break;}}}}).on(‘scroll’, function(e) {let input = $(this),section = input.closest(‘.fmcty-section’);hint= section.find(‘.fmcty-autocomplete-placeholder’);hint.scrollLeft(input.scrollLeft());});});vur_v5.on(‘fmcty:section_complete’, function(e,data) {if(data.section.attr(“data-fmcty-section”) == “address-search”) {if(data.values.address_search_rupid !== “null”) {vur_v5.find(‘[name=”selling_city”]’).val(data.values.address_search_city).trigger(‘change’);vur_v5.find(‘[name=”zip”]’).val(data.values.address_search_zip).trigger(‘change’);vur_v5.find(‘[name=”selling_state”]’).val(data.values.address_search_state).trigger(‘change’);vur_v5.find(‘[name=”address”]’).val(data.values.address_search_street).trigger(‘change’);vur_v5.find(‘[name=”listing_address”]’).val(data.values.address_search_street).trigger(‘change’);vur_v5.find(‘[name=”address_rupid”]’).val(data.values.address_search_rupid).trigger(‘change’);}}if(data.section.attr(“data-fmcty-section”) == “address”) {if(data.values.zip !== “null”) {$.ajax({url: “https://www.mortgageresearchcenter.com/ajax/location.php?not_state=PR,VI,AE,AS,GU,MH,FM,MP,PW,AP&input=” + data.values.zip,cache: true,dataType: “json”,type: “GET”,crossDomain: true,success: function(response) {if(typeof response.data !== ‘undefined’) {var city = response.data[0].PLACENAME;var state = response.data[0].STATEABBV;vur_v5.find(‘[name=”selling_city”]’).val(city).trigger(‘change’);vur_v5.find(‘[name=”selling_state”]’).val(state).trigger(‘change’);}}});}}});Fmcty.fn.autocomplete_address_show = function(section) {let address_search = section.find(‘input[name=”address_search”]’),autocomplete_wrapper = section.find(‘.fmcty-autocomplete-wrapper’),autocomplete = section.find(‘.fmcty-autocomplete’),results= section.find(‘.fmcty-address-search-result’);section.addClass(‘fmcty-search-complete’);address_search.attr(‘aria-expanded’, ‘true’);let height = section.find(‘.fmcty-autocomplete-results’).outerHeight();if(height > 336) {height = 336;}autocomplete.height(height);autocomplete_wrapper.css(‘max-height’, (height + 40) + ‘px’);};Fmcty.fn.autocomplete_address_escape = function(section) {let address_search = section.find(‘input[name=”address_search”]’),autocomplete_wrapper = section.find(‘.fmcty-autocomplete-wrapper’),autocomplete = section.find(‘.fmcty-autocomplete’),hint = section.find(‘.fmcty-autocomplete-placeholder’),results= section.find(‘.fmcty-address-search-result’);section.removeClass(‘fmcty-search-complete’);address_search.attr(‘aria-expanded’, ‘false’);hint.val(”);autocomplete.height(0);autocomplete_wrapper.css(‘max-height’, 0);if(results.length > 0) {section.find(‘.address_search_aria_update’).text(‘Results closed’);} else {section.find(‘.address_search_aria_update’).text(”);}};Fmcty.fn.autocomplete_address_select = function(result) {if (!result.length) {return;}let section= result.closest(‘.fmcty-section’),address_search = section.find(‘input[name=”address_search”]’),hint = section.find(‘.fmcty-autocomplete-placeholder’),autocomplete = section.find(‘.fmcty-autocomplete’),full_address = result[0].dataset.fullAddress,street_address = result[0].dataset.streetAddress,rupid= result[0].dataset.rupid;city = result[0].dataset.city,state= result[0].dataset.state,zip= result[0].dataset.zip,address_search.val(full_address).trigger(‘change’);section.find(‘input[name=”address_search_rupid”]’).val(rupid).trigger(‘change’);section.find(‘input[name=”address_search_street”]’).val(street_address).trigger(‘change’);section.find(‘input[name=”address_search_city”]’).val(city).trigger(‘change’);section.find(‘input[name=”address_search_state”]’).val(state).trigger(‘change’);section.find(‘input[name=”address_search_zip”]’).val(zip).trigger(‘change’);};Fmcty.fn.setPurchaseLocation = function(data) {if (data.values.confirm_location === ‘yes’) {data.form.find(‘input[name=”property_city”]’).val(data.values.selling_city).trigger(‘change’);data.form.find(‘input[name=”property_state”]’).val(data.values.selling_state).trigger(‘change’);data.form.find(‘input[name=”property_zip”]’).val(data.values.zip).trigger(‘change’);} else {data.form.find(‘input[name=”property_city”]’).val(”).trigger(‘change’);data.form.find(‘input[name=”property_state”]’).val(”).trigger(‘change’);data.form.find(‘input[name=”property_zip”]’).val(”).trigger(‘change’);}};vur_v5.on(‘fmcty:section_complete’, function(e, data) {if(data.section.attr(‘data-fmcty-section’) == “address-search”) {let locationLabel = $(‘.locationLabel’);if(data.values.address_search_rupid !== “null”) {locationLabel.text(data.values.address_search_city + ‘, ‘ + data.values.address_search_state);}} else if(data.section.attr(‘data-fmcty-section’) == “address”) {$.ajax({url: “https://www.mortgageresearchcenter.com/ajax/location.php?not_state=PR,VI,AE,AS,GU,MH,FM,MP,PW,AP&input=” + data.values.zip,cache: true,dataType: “json”,type: “GET”,crossDomain: true,success: function(response) {if(typeof response.data === ‘undefined’) {$(‘.locationLabel’).text(‘your current city’);} else {var city = response.data[0].PLACENAME;var state = response.data[0].STATEABBV;$(‘.locationLabel’).text(city + ‘, ‘ + state);}}});}});Fmcty.fn.setVurPurpose = function(data) {if(data.values.selling_plans == ‘yes’ ) {data.form.find(‘input[name=”rss_dualpurpose”]’).val(‘1’).trigger(‘change’);} else{data.form.find(‘input[name=”rss_dualpurpose”]’).val(‘2’).trigger(‘change’);}};Fmcty.fn.setWhereAt = function(data) {data.form.find(‘input[name=”rss_leadformquestion1id”]’).val(window.vur_v5.inputs.vu_whereprocess.label).trigger(‘change’);data.form.find(‘input[name=”rss_leadformquestion1answer”]’).val(data.values.vu_whereprocess).trigger(‘change’);};Fmcty.fn.setMostRecentPhone = function(data) {data.form.find(‘input[name=”rss_mostrecentphonenumber”]’).val(data.values.phone_full).trigger(‘change’);};Fmcty.fn.setProcuringCause = function(data) {if(data.values.has_agent == ‘no’) {data.values.toured_homes = ‘no’;data.values.signed_agency_agreement = ‘no’;data.values.active_purchase = ‘no’;}};Fmcty.fn.setLender = function(data) {const lenderQuestion = document.querySelector(‘li[data-fmcty-section=requests_loan_specialist]’);const lenderNames = document.querySelectorAll(‘.lenderName’);const lenderFullNames = document.querySelectorAll(‘.lenderNameFull’);const agentNetworkNames = document.querySelectorAll(‘.agentNetworkName’);const livingSituation = data.values.living_situation;const militBranch = data.values.military_branch;const purchaseState = data.values.property_state;const event = new Event(‘change’);if (livingSituation == “own” && militBranch != “Civilian”) {lenderNames.forEach(lenderName => {lenderName.textContent = ‘Veterans United’;});lenderFullNames.forEach(lenderFullName => {lenderFullName.textContent = ‘Veterans United Home Loans’;});agentNetworkNames.forEach(agentNetworkName => {agentNetworkName.textContent = ‘a Veterans United Realty’;});} else if (livingSituation == “own” && militBranch == “Civilian”) {lenderNames.forEach(lenderName => {lenderName.textContent = ‘Paddio’;});lenderFullNames.forEach(lenderFullName => {lenderFullName.textContent = ‘Paddio’;});agentNetworkNames.forEach(agentNetworkName => {agentNetworkName.textContent = ‘an Alliance Realty Network’;});}};Fmcty.fn.hideField = function(Fmcty,input,values,result) {$(Fmcty.input).closest(‘.fmcty-field’).addClass(‘fmcty-field-hidden’);};$(document).on(“fmcty:section_complete”, function (e, data) {if (data.section.attr(‘data-fmcty-section’) == “email_address”){if(Fmcty.vur_v5) {var values = Fmcty.vur_v5.values;$.post(“/marketo/falloff/”, values);}}});vur_v5.on(‘fmcty:submit’,function() {const submitButton = document.querySelector(‘.fmcty-submit’);submitButton.closest(‘.fmcty-section’).classList.add(‘fmcty-section-waiting’);});Fmcty.fn.submitFn = function (data) {var response = data;var formContainer = document.getElementById(‘vur_v5’);if (!data.response) {formContainer.insertAdjacentHTML(“afterbegin”, “
There was an issue submitting the form. Please try again.
“);} else {response = data.response; /* Fmcty 2.0 conversion */if(typeof response.lenders === ‘undefined’ || response.lenders.length == 0) {Fmcty.fn.rssnConfirm(data);} else if(response.lenders[0].lender_id == ’20’ || response.lenders[0].lender_id == ‘531’ ) {if(typeof response.offers === ‘undefined’){Fmcty.fn.rssnConfirm(data);}else {window.location = response.offers[0].apply_url;}} else {Fmcty.fn.mrcBuildConfirm(data, {submissionSummary: false,offers: true,applyOnline: true,enhancedReviews: true,allowApplyUrlAutoRedirect: true,allowApplyUrlAutoRedirectWithOffer: true});}}};Fmcty.fn.rssnConfirm = function (data) {var fName = Fmcty.vur_v5.values.first_name;var milBranch = Fmcty.vur_v5.values.military_branch;var lenderRequest = Fmcty.vur_v5.values.requests_loan_specialist;var contactType = Fmcty.vur_v5.values.agent_direct_version_contact_type;var livingSituation = Fmcty.vur_v5.values.living_situation;var vurPurpose = Fmcty.vur_v5.values.vur_purpose;var sellingCity = Fmcty.vur_v5.values.selling_city;var sellingState = Fmcty.vur_v5.values.selling_state;var buyingCity = Fmcty.vur_v5.values.property_city;var buyingState = Fmcty.vur_v5.values.property_state;var purchasePrice = Fmcty.vur_v5.values.property_value;var touredHomes = Fmcty.vur_v5.values.toured_homes;var activePurchase = Fmcty.vur_v5.values.active_purchase;var signedAgreement = Fmcty.vur_v5.values.signed_agency_agreement;if (touredHomes == “yes” || activePurchase == “yes” || signedAgreement == “yes”) {contactType = ‘manual’;}var confirmationLink = ‘/connect/?fname=’ + fName + ‘&v=’ + contactType + ‘&ls=’ + livingSituation + ‘&p=’ + vurPurpose + ‘&lo=’ + lenderRequest + ‘&mil=’ + milBranch + ‘&sc=’ + sellingCity + ‘&ss=’ +sellingState + ‘&bc=’ + buyingCity + ‘&bs=’ + buyingState + ‘&prc=’ + purchasePrice;if (contactType && vurPurpose) {window.location = confirmationLink;} else {window.location = ‘/confirmation/’;}};$(document).on(“fmcty:section_complete”, function (e, data) {if((data.section.attr(‘data-fmcty-section’) == “living_situation”)) {if(data.values.living_situation == “own”) {vur_v5.find(‘[name=”first_time”][value=”no”]’).prop(‘checked’, true).trigger(‘change’);} else {vur_v5.find(‘[name=”fake_vur_purpose”][value=”purchase”]’).prop(‘checked’, true).trigger(‘change’);}}if((data.section.attr(‘data-fmcty-section’) == “fake_vur_purpose”)) {if(data.values.vur_purpose == “listing”) {vur_v5.find(‘[name=”first_time”][value=”no”]’).prop(‘checked’, true).trigger(‘change’);}}if((data.section.attr(‘data-fmcty-section’) == “active-duty”)) {if(data.values.military_status == “Active Duty”) {vur_v5.find(‘[name=”occupational_status”][value=”Employed”]’).prop(‘checked’, true).trigger(‘change’);}}});var progBar, progWrapper, progText;vur_v5.on(‘fmcty:ready’, function() {progBar = $(”).prependTo(‘#vur_v5’);progWrapper = progBar.wrap(”).parent();progText = $(”).appendTo(progWrapper);});vur_v5.on(‘fmcty:progress_updated’, function(e, data) {var progress = data.progress || data;if (progBar && progBar.length) {var progressPct = (progress.currentStep / progress.activeSteps) * 100;progressPct = Math.min(Math.max(progressPct, 0), 100);progWrapper.toggleClass(‘fmcty-progress-bar-active’, progress.currentStep > 1);progBar.attr({value: progress.currentStep – 1,max: progress.activeSteps});progText.text(`Step ${progress.currentStep} of ${progress.activeSteps}`);}});vur_v5.on(‘fmcty:section_complete’, function(e,data) {if((data.section.attr(‘data-fmcty-section’) == “vu_whereprocess”)) {$(“#vur_v5_lender”).find(“input[name=’vu_whereprocess’]”).val(data.values.vu_whereprocess).trigger(‘change’);$(“#vur_v5_lender”).find(“input[name=’vu_dualpostid’]”).val(data.values.rss_dualpostid).trigger(‘change’);$(“#vur_v5_lender”).find(“input[name=’vu_opqlinkid’]”).val(data.values.rss_adlinkid).trigger(‘change’);}if((data.section.attr(‘data-fmcty-section’) == “living_situation”)) {$(“#vur_v5_lender”).find(“input[name=’living_situation’]”).val(data.values.living_situation).trigger(‘change’);if(data.values.living_situation == “own”) {$(“#vur_v5_lender”).find(“input[name=’first_time’]”).val(‘no’).trigger(‘change’);}}if((data.section.attr(‘data-fmcty-section’) == “first_time”)) {$(“#vur_v5_lender”).find(“input[name=’first_time’]”).val(data.values.first_time).trigger(‘change’);}if((data.section.attr(‘data-fmcty-section’) == “selling_plans”)) {$(“#vur_v5_lender”).find(“input[name=’sell_before_purchase’]”).val(data.values.selling_plans).trigger(‘change’);}if((data.section.attr(‘data-fmcty-section’) == “address-search”)) {$(“#vur_v5_lender”).find(“input[name=’address’]”).val(data.values.address).trigger(‘change’);$(“#vur_v5_lender”).find(“input[name=’zip’]”).val(data.values.zip).trigger(‘change’);}if((data.section.attr(‘data-fmcty-section’) == “address”)) {$(“#vur_v5_lender”).find(“input[name=’address’]”).val(data.values.address).trigger(‘change’);$(“#vur_v5_lender”).find(“input[name=’zip’]”).val(data.values.zip).trigger(‘change’);}if((data.section.attr(‘data-fmcty-section’) == “confirm_location”)) {if(data.values.confirm_location == “yes”) {$(“#vur_v5_lender”).find(“input[name=’property_city’]”).val(data.values.address_search_city).trigger(‘change’);$(“#vur_v5_lender”).find(“input[name=’property_zip’]”).val(data.values.zip).trigger(‘change’);$(“#vur_v5_lender”).find(“input[name=’property_state’]”).val(data.values.address_search_state).trigger(‘change’);}}if((data.section.attr(‘data-fmcty-section’) == “property-search”)) {$(“#vur_v5_lender”).find(“input[name=’property_city’]”).val(data.values.property_city).trigger(‘change’);$(“#vur_v5_lender”).find(“input[name=’property_zip’]”).val(data.values.property_zip).trigger(‘change’);$(“#vur_v5_lender”).find(“input[name=’property_state’]”).val(data.values.property_state).trigger(‘change’);}if((data.section.attr(‘data-fmcty-section’) == “military_branch”)) {$(“#vur_v5_lender”).find(“input[name=’military_branch’]”).val(data.values.military_branch).trigger(‘change’);if(data.values.military_branch == “Civilian”) {$(“#vur_v5_lender”).find(“.realty-brand”).text(“Alliance Realty Network”);}}if((data.section.attr(‘data-fmcty-section’) == “active-duty”)) {$(“#vur_v5_lender”).find(“input[name=’military_status’]”).val(data.values.military_status).trigger(‘change’);if(data.values.military_status == “Active Duty”) {$(“#vur_v5_lender”).find(“input[name=’occupational_status’]”).val(“Employed”).trigger(‘change’);}}if((data.section.attr(‘data-fmcty-section’) == “occupational_status”)) {$(“#vur_v5_lender”).find(“input[name=’occupational_status’]”).val(data.values.occupational_status).trigger(‘change’);}if((data.section.attr(‘data-fmcty-section’) == “property_value”)) {$(“#vur_v5_lender”).find(“input[name=’property_value’]”).val(data.values.property_value).trigger(‘change’);}if((data.section.attr(‘data-fmcty-section’) == “property_type”)) {$(“#vur_v5_lender”).find(“input[name=’property_type’]”).val(data.values.property_type).trigger(‘change’);}if((data.section.attr(‘data-fmcty-section’) == “when_loan”)) {$(“#vur_v5_lender”).find(“input[name=’when_loan’]”).val(data.values.when_loan).trigger(‘change’);}if((data.section.attr(‘data-fmcty-section’) == “name”)) {$(“#vur_v5_lender”).find(“input[name=’first_name’]”).val(data.values.first_name).trigger(‘change’);$(“#vur_v5_lender”).find(“input[name=’last_name’]”).val(data.values.last_name).trigger(‘change’);}if((data.section.attr(‘data-fmcty-section’) == “email_address”)) {$(“#vur_v5_lender”).find(“input[name=’email’]”).val(data.values.email).trigger(‘change’);}if((data.section.attr(‘data-fmcty-section’) == “phone_number”)) {$(“#vur_v5_lender”).find(“input[name=’phone_full’]”).val(data.values.phone_full).trigger(‘change’);}});Fmcty.fn.setLender = function(data) {const lenderQuestion = document.querySelector(‘li[data-fmcty-section=requests_loan_specialist]’);const lenderNames = document.querySelectorAll(‘.lenderName’);const lenderFullNames = document.querySelectorAll(‘.lenderNameFull’);const agentNetworkNames = document.querySelectorAll(‘.agentNetworkName’);const livingSituation = data.values.living_situation;const militBranch = data.values.military_branch;const purchaseState = data.values.property_state;const event = new Event(‘change’);if (livingSituation == “own” && militBranch != “Civilian”) {lenderNames.forEach(lenderName => {lenderName.textContent = ‘Veterans United’;});lenderFullNames.forEach(lenderFullName => {lenderFullName.textContent = ‘Veterans United Home Loans’;});agentNetworkNames.forEach(agentNetworkName => {agentNetworkName.textContent = ‘a Veterans United Realty’;});} else if (livingSituation == “own” && militBranch == “Civilian”) {lenderNames.forEach(lenderName => {lenderName.textContent = ‘Paddio’;});lenderFullNames.forEach(lenderFullName => {lenderFullName.textContent = ‘Paddio’;});agentNetworkNames.forEach(agentNetworkName => {agentNetworkName.textContent = ‘an Alliance Realty Network’;});}};vur_v5.on(‘fmcty:ready’, function() {vur_v5.find(‘.field-requests_loan_specialist, .field-lender_agree’).wrapAll(”);});vur_v5.on(‘fmcty:submit’,function() {console.log(‘submitting’);const submitButton = document.querySelector(‘.fmcty-submit’);submitButton.closest(‘.fmcty-section’).classList.add(‘fmcty-section-waiting’);});vur_v5.on(“fmcty:section_complete”, function (e, data) {if (data.section.attr(‘data-fmcty-section’) == “name”) {if (data.values.first_name) {firstName = data.values.first_name;$(‘#firstName’).text(`u00A0${firstName}!`);}}});vur_v5.on(‘fmcty:ready’,function() {$(‘.map-state path, .map-dccircle’).click(function(e) {var state = this.dataset.state;$(‘select[name=”map_state_select”]’).val(state).change();});});Fmcty.fn.setMapState = function(data) {$(‘.us-map .map-state path, .us-map .map-dccircle’).removeClass(‘selected’);$(‘.us-map .map-state path[data-state=’+data.value+’], .us-map .map-dccircle[data-state=’+data.value+’]’).addClass(‘selected’);};vur_v5.formocity(window.vur_v5);});
Source