Is Investing in India Worth it For NRIs Now? (2024)

Home » Real Estate Information » Is Investing in India Worth it For NRIs Now?

Is Investing in India Worth it For NRIs Now? (1)

NRI investments hit their peak after the realty sector started recovering from the COVID-19 pandemic. However, taking all these trends into account, is it worth investing in the Indian market now as far as NRIs are concerned? Here’s finding out!

NRIs (non-resident Indians) have greatly contributed to overall recovery in the Indian real estate sector, snapping up properties in large numbers in the domestic market. Several major Indian cities and even Tier-2 cities saw NRI buyers picking up bigger properties in the luxury, ultra-luxury and even mid-range segments, greatly enhancing sales figures and helping developers offload inventory. The preferences for NRIs were quite clear- spacious and bigger homes, ideally within gated townships, quality amenities especially those inclined towards health and wellness and reputed real estate developers with proven track records of completion.

That was then. In the current scenario, will Indian real estate investments pay off for NRIs? Will they be worth it? Experts seem to think so. Here are some reasons worth mentioning in this regard:

  • Residential real estate is steadily picking up in India with handsome increases in sales figures and a drop in unsold inventory. New launches are anticipated to rise even further in the coming days.
  • Sales growth over the last year has shown the resilience of India’s realty sector.
  • RERA and other market reforms have made the sector highly transparent for NRI investors. At the same time, they have led to higher market share being occupied by organized and reputed developers. Smaller and unorganized players have either moved out of the market or consolidated with bigger counterparts through joint ventures and the like. This is a positive development since NRIs prefer dealing with reputed real estate brands and developers for their investments.
  • NRIs should keep investing in Indian real estate due to the falling value of the Indian rupee against the dollar or other foreign currencies. NRIs will naturally get more advantages if they cash in on a depreciating rupee, enhancing their overall affordability greatly. Purchasing power is at an all-time high for NRIs, and they should tap into this situation.
  • Property and land prices are still stable in the Indian market with nominal increases expected in 2022. Hence, NRIs may purchase larger spaces at comparatively lower prices in the current scenario. In the future, when demand picks up and prices start rising swiftly, they will gain handsomely from their investments.
  • NRIs should also note that other market instruments are seeing lower interest rates, especially FDs, equities and even gold. Hence, investing in real estate is a better way to earn higher returns and beat inflation in the long run.
  • Taxation aspects are simpler now in India, especially with the introduction of GST. NRIs will have indexation benefits for properties that are held in the country. Immovable units which are more than 24 months old will be taken as long-term capital assets with taxation rates of 20%. NRIs may also be eligible for tax deductions under Sections 80TTA and 80C of the Income Tax Act in some cases.
  • NRIs can easily transfer funds into their NRO accounts and pay property sellers likewise. They can directly transfer funds to the accounts of sellers as well.

Some NRI Buying Trends

As per several reports, a higher percentage of NRIs are looking for properties in India for self-occupation or end-use, a trend that is markedly different from earlier years when they would mostly invest for earning returns. A survey had more than 50% of NRIs affirming their desire to purchase real estate in India over the next few months for self-occupation while the remainder talked about investing to earn higher returns. This clearly demonstrates growing NRI confidence in the potential and future growth of the Indian real estate market.

Many NRIs are also thinking about coming back to India or taking up permanently remote working positions on account of various uncertainties arising from the global pandemic. Many NRIs are viewing options in the major 7-8 cities of India although they are open to investing in smaller towns and cities in order to stay near their family members. Here are some other factors worth noting:

  • The highest demand was observed for luxury real estate properties with cutting-edge facilities.
  • More than half of NRI buyers are choosing luxury units that are priced at less than Rs. 1.5 crore.
  • Many are also going for units priced between Rs. 90 lakh and Rs. 1.5 crore.
  • A smaller proportion is investing in homes priced between Rs. 45 lakh and Rs. 90 lakh.

Considering these market trends, it can be said that NRIs are sizably confident about the future prospects of the Indian real estate market. In the current scenario, it makes sense to invest in the market back home on account of currency advantages, stable property prices, transparency in the sector, multiple options and of course, record-low rates of interest on home loans. With the market picking up, NRIs will get better returns on their investments in the future.

  • Real Estate Information

    '+ '

    ' + '

    '; if(beatsresponse.SalesPersonProfilePic != undefined && beatsresponse.SalesPersonProfilePic != ""){ dev_Modal_agentModalBox = dev_Modal_agentModalBox + 'Is Investing in India Worth it For NRIs Now? (3)'; }else{ dev_Modal_agentModalBox = dev_Modal_agentModalBox + '' + (typeof beatsresponse.SalesPersonName != 'undefined' ? beatsresponse.SalesPersonName.charAt(0).toUpperCase() : 'N/A') + ''; } dev_Modal_agentModalBox = dev_Modal_agentModalBox + '

    ' + '

    '; dev_Modal_agentModalBox = dev_Modal_agentModalBox + '' + (typeof beatsresponse.SalesPersonName != 'undefined' ? beatsresponse.SalesPersonName : 'N/A') + '' + '' + beatsresponse.SalesPersonCountryCode + '-' + beatsresponse.SalesPersonContact + '' + '

      ' + '
    • Call Now
    • ' + '
    • WhatsApp
    • ' + '

    '; if(redirecturl){ dev_Modal_agentModalBox = dev_Modal_agentModalBox + '

    ' + 'Take to My Personal Profile ' + '

    '; } dev_Modal_agentModalBox = dev_Modal_agentModalBox + '

    ' + '

    '; return dev_Modal_agentModalBox;}else{ var dev_Modal_agentModalBox = '

    ' + '

    ' + '

    ' + '' + thankyoumsg + ''; if(redirecturl){ dev_Modal_agentModalBox = dev_Modal_agentModalBox + '

    ' + ''+ 'Take to My Personal Profile ' + '

    '; } dev_Modal_agentModalBox = dev_Modal_agentModalBox + '

    ' + '

    '; return dev_Modal_agentModalBox;}}function getglobalAgentPopupHtmlForDSE (beatsresponse,redirecturl,whatsappurl,thankyoumsg){if(beatsresponse.SalesPersonName != undefined && beatsresponse.SalesPersonContact != undefined && beatsresponse.SalesPersonName != "" && beatsresponse.SalesPersonContact != ""){var dev_Modal_agentModalBox = '

    ' + '

    '; if(beatsresponse.SalesPersonProfilePic != undefined && beatsresponse.SalesPersonProfilePic != ""){ dev_Modal_agentModalBox = dev_Modal_agentModalBox + 'Is Investing in India Worth it For NRIs Now? (4)'; }else{ dev_Modal_agentModalBox = dev_Modal_agentModalBox + '' + (typeof beatsresponse.SalesPersonName != 'undefined' ? beatsresponse.SalesPersonName.charAt(0).toUpperCase() : 'N/A') + ''; }dev_Modal_agentModalBox = dev_Modal_agentModalBox + '

    ' + '' + (typeof beatsresponse.SalesPersonName != 'undefined' ? beatsresponse.SalesPersonName : 'N/A') + '' + '' + beatsresponse.SalesPersonCountryCode + '-' + beatsresponse.SalesPersonContact + '' + '

      ' + '
    • Call Now
    • ' + '
    • WhatsApp
    • ' + '

    ' + '

    '; if(redirecturl){dev_Modal_agentModalBox = dev_Modal_agentModalBox + 'Take to My Personal Profile ';}dev_Modal_agentModalBox = dev_Modal_agentModalBox + "

    ";return dev_Modal_agentModalBox;}else{var dev_Modal_agentModalBox = '

    ' + '

    '; dev_Modal_agentModalBox = dev_Modal_agentModalBox + '

    ' + thankyoumsg + '

    '; if(redirecturl){dev_Modal_agentModalBox = dev_Modal_agentModalBox + 'Take to My Personal Profile ';}dev_Modal_agentModalBox = dev_Modal_agentModalBox + "

    ";return dev_Modal_agentModalBox;}}function afterglobalVerification(countryCode,mobile,beatsresponse,pageCategory,formboxid,formid,changeNumberformid,otpboxformid,modalpopupid,redirecturl,isdsepage , propAmcData, propAmcType , PriceHisoryPageData){ if(globaltimeinterval){ clearInterval(globaltimeinterval); } $("#"+otpboxformid).removeClass('active'); $("#"+formboxid).removeClass('active'); $(".overLayBox,body").addClass("active"); $(".homeFormBox h3").text('Contact Our Real Estate Experts'); $("#dev_ModalBox").addClass("active"); if(isdsepage == true){ $("#" + formid).addClass("active"); $("#" + otpboxformid).removeClass("active"); $("#" + changeNumberformid).removeClass("active"); $("#" + modalpopupid).removeClass("active"); } if(beatsresponse.SalesPersonName != undefined && beatsresponse.SalesPersonContact != undefined && beatsresponse.SalesPersonName != "" && beatsresponse.SalesPersonContact != ""){ var whatsapptext = "Hi " + beatsresponse.SalesPersonName + ",%0A%0A" + "I got connected to you on Squareyards.com.%0A%0ALook forward to your assistance " + "in my home search and ownership journey. Please get back to me so we can take " + "this ahead." + " Thanks."; let whatsappUrl = 'https://web.whatsapp.com/'if(isMobileBrowser()){whatsappUrl = 'https://api.whatsapp.com/'}let whatsappurl = whatsappUrl+"send?phone=" + beatsresponse.SalesPersonCountryCode + beatsresponse.SalesPersonContact + "&text=" + whatsapptext + "&source=&data="; var dev_Modal_agentModalBox = ""; if(isdsepage == true){ dev_Modal_agentModalBox = getglobalAgentPopupHtmlForDSE(beatsresponse,redirecturl,whatsappurl); }else{ dev_Modal_agentModalBox = getglobalAgentPopupHtml(beatsresponse,redirecturl,whatsappurl); } $("#" + modalpopupid).html(dev_Modal_agentModalBox); $("#"+formid).removeClass("active"); $('body').on('click','div.closeAgentModalPopup',function() { $('div.agentModalBox').removeClass('active') $('div.overLayBox,body').removeClass('active')$('#dev_ModalBox').html('');$('#dev_ModalBox').removeClass('active');$('.MapForm').removeClass('active') $("#"+formid).removeClass("active"); }); if(isdsepage == true){ $("#" + modalpopupid).addClass("active"); $(".gblPpup .gblOrflw, .ldBxClsBtn").off("click"); $(".gblPpup .gblOrflw, .ldBxClsBtn").on("click", function() {$(".gblPpup, body,div.overLayBox").removeClass("active");});if(formid.indexOf("_dsepopup") == -1){$("#"+formid).removeClass("active");} }else{ $("#"+formboxid).parent(".popupForm.active").removeClass('active'); } }else{ var thankyoumsg = "Thank You For Showing Interest, We'll Assign One Of Our Property Expert and Get Back to You Shortly."; var dev_Modal_agentModalBox = ""; if(isdsepage == true){ dev_Modal_agentModalBox = getglobalAgentPopupHtmlForDSE(beatsresponse,redirecturl,'',thankyoumsg); }else{ dev_Modal_agentModalBox = getglobalAgentPopupHtml(beatsresponse,redirecturl,'',thankyoumsg); } $("#" + modalpopupid).html(dev_Modal_agentModalBox); $("#"+formid).removeClass("active"); $('body').on('click','div.closeAgentModalPopup',function() { $('div.agentModalBox').removeClass('active') $('div.overLayBox,body').removeClass('active')$('#dev_ModalBox').html('');$('#dev_ModalBox').removeClass('active');$('.MapForm').removeClass('active'); $("#"+formid).removeClass("active"); }); if(isdsepage == true){ $("#" + modalpopupid).addClass("active"); if(formid.indexOf("_dsepopup") == -1){$("#"+formid).removeClass("active");}$(".gblPpup .gblOrflw, .ldBxClsBtn").off("click"); $(".gblPpup .gblOrflw, .ldBxClsBtn").on("click", function() {$(".gblPpup, body,div.overLayBox").removeClass("active");$("#"+formid).removeClass("active");}); }else{ $("#"+formboxid).parent(".popupForm.active").removeClass('active'); } } $('#' + formid)[0].reset();var city = $('#' + formid +' input#dev_inputelement').attr('placeholder')$('#ddlLocation').val(city); $('#' + otpboxformid)[0].reset();$("#" + changeNumberformid)[0].reset();$('body,.homePageLeadFormOverLay').removeClass("active");$('.gblPpup.pricehistoryUnlock').removeClass('active')if (isMobileBrowser()) {$('.position-sticky').removeClass('active');} $('#loaderBox').hide();}function jsonEncrypt(target){ string = unescape(encodeURIComponent(JSON.stringify(target).replace(/₹/g,''))); var newString = '', char, nextChar, combinedCharCode; for (var i = 0; i < string.length; i += 2) { char = string.charCodeAt(i); if ((i + 1) < string.length) { nextChar = string.charCodeAt(i + 1) - 31; combinedCharCode = char + "" + nextChar.toLocaleString('en', { minimumIntegerDigits: 2 }); newString += String.fromCharCode(parseInt(combinedCharCode, 10)); } else { newString += string.charAt(i); } } newString = btoa(unescape(encodeURIComponent(newString))); return { 'reqData': newString};}function globalsendOtp(formboxid,formid,changenoid,otpboxformid,isdsepage,baseurl,modalpopupid,pageCategory) { $('#loaderBox').show(); $(".homePageLeadFormOverLay .homeFormBox h3").text('Verify your Number'); $(".homePageLeadFormSingle .homeFormBox h3").text('Verify your Number'); let data = []; $("#" + otpboxformid + " .otpError").html(''); var buildingId = $("input[name='buildingId']").val(); $("#" + formid + " .sendotpError").html(''); data = $('#'+ formid).serializeArray(); if (buildingId != undefined) {data.push({'name' : 'builderId' , 'value' : buildingId }) } let name = $("#" + formid + " input[name='name']").val(); let email = $("#" + formid + " input[name='email']").val(); let location = $("#" + formid + " select[name='location']").val(); let propertyId = $('#' + formid).find('input[name="DotcomProjectId"]').val(); let unitId = $('#' + formid).find("input[name='unitId']").val(); let filteredData = {} data.filter(v => { filteredData[v.name] = v.value; }); $.ajax({ type:"POST", url: baseUrl +'lead/globalsendotp-v2', data:jsonEncrypt(filteredData), success: function(data){if(data.status){ let otpBox; $("#" + formboxid).removeClass("changenumber"); $("#" + otpboxformid + " #otpMobile_contactform").html('+'+filteredData.countryCode+'-'+filteredData.mobile); $("#" + formboxid).removeClass('active').addClass('active'); // $("#" + formid).css("display","none"); $("#" + formid).addClass("active"); if(isdsepage == true){ $("#" + formid).addClass("active"); $("#" + otpboxformid).addClass("active"); $("#" + changenoid).removeClass("active"); $("#" + modalpopupid).removeClass("active"); } global_run_clock(otpboxformid,15); $("#" + otpboxformid + " span.resend").hide(); setTimeout(function() { $("#" + otpboxformid + " span.resend").show(); }, (1*60*1000)); otpBox = $("#" + formboxid); building_id = data.builderId; if(data.otp){ var otp = data.otp.toString(); if(otp.length == 4){ otpBox.find("input[name=otp_contactform]").val(otp); } }else{ otpBox.find("input[name=otp_contactform]").val(''); } }else{ alert(data.message);// helperJS.alertBox('error',data.message); } $('#loaderBox').hide(); } });// $.post(baseUrl +'resale'+'/send-broker-detail-otp-v2',filteredData,function(data){// if(data.status){ // let otpBox; // $("#" + formboxid).removeClass("changenumber"); // $("#" + otpboxformid + " #otpMobile_contactform").html('+'+filteredData.countryCode+'-'+filteredData.mobile); // $("#" + formboxid).removeClass('active').addClass('active'); // // $("#" + formid).css("display","none"); // alert(formid);// $("#" + formid).addClass("active"); // if(isdsepage == true){ // $("#" + otpboxformid).addClass("active"); // $("#" + changenoid).removeClass("active"); // $("#" + modalpopupid).removeClass("active"); // } // global_run_clock(otpboxformid,15); // $("#" + otpboxformid + " span.resend").hide(); // setTimeout(function() { // $("#" + otpboxformid + " span.resend").show(); // }, (1*60*1000)); // otpBox = $("#" + formboxid);// building_id = data.builderId; // if(data.otp){ // var otp = data.otp.toString(); // if(otp.length == 4){ // otpBox.find("input[name=otp_contactform]").val(otp); // } // }else{ // otpBox.find("input[name=otp_contactform]").val(''); // } // }else{// alert(data.message);// // helperJS.alertBox('error',data.message); // } // $('#loaderBox').hide();// });} function getLmsCountryLocation() { var allcodes = []; $.each(countryLocationData, function(index, value) { if(allcodes.indexOf(value.code) == -1){ $(".ddlCountryCode").append( '

    " ); allcodes.push(value.code); } }); $(".ddlLocation").not(".property-m").append( '

    ' ); if (countryLocationData[0].locations.length > 0) { countryLocationData[0].locations.forEach(function(element) { $(".ddlLocation").append( '

    " ); }); }}function onChangeLmsCountryCode(countryCodeControl,locationId,formid){ let _code = $(countryCodeControl) .find("option:selected") .val(); if (countryLocationData !== undefined && countryLocationData) { $("#" + formid + " #"+locationId).empty(); let _selectedLoc = countryLocationData.filter(f => f.code == _code)[0]; if (_selectedLoc.locations.length > 0) { _selectedLoc.locations.forEach(function(element) { $("#"+ formid + " #" + locationId).append( '

    " ); }); let _selcity= helperJS.getCookie('_selcity'); if(_selcity && parseInt(_selcity.id)>0) _selcity.name = _selcity.name.charAt(0).toUpperCase() + _selcity.name.slice(1); $("#" + formid + " #"+locationId).val(_selcity.name); } else { $("#" + formid + " #"+locationId).append( '

    " ); } } } function initializeCityAutocompleteComboBox (formid,elementid,containerid){$.widget("custom.combobox", { _create: function() { this.wrapper = $( "" ) .addClass( "custom-combobox" ) .insertAfter( this.element ); this.element.hide(); this._createAutocomplete(); this._createShowAllButton(); var placeholderset = false; $("#" + formid + " #dev_drodownarrow").hover(function(){ if(placeholderset == false && $("#" + formid + " #" + elementid).val() != null && $("#" + formid + " #" + elementid).val() != ""){ $("#" + formid + " #dev_inputelement").attr("placeholder",$("#" + formid + " #" + elementid).val()); placeholderset = true; } if(placeholderset == true){ if($("#" + formid + " #dev_inputelement").val() == null || $("#" + formid + " #dev_inputelement").val() == ''){ $("#" + formid + " #dev_inputelement").val($("#" + formid + " #dev_inputelement").attr("placeholder")) }else{ $("#" + formid + " #dev_inputelement").val(''); placeholderset = false; } } }); /* $("#" + formid + " #dev_inputelement").focus(function(){ var isclosed = $("#" + formid + " #" + containerid).find("ul").css("display") == "none"; // if($("#"+ formid + " #dev_inputelement").val() == ''){ if(isclosed){ $("#" + formid + " #dev_inputelement").autocomplete( "search", "" ); }else{ $("#" + formid + " #" + containerid).find("ul").css("display","none"); } // } }); */ }, _createAutocomplete: function() { var selected = this.element.children( ":selected" ), value = selected.val() ? selected.text() : ""; this.input = $( "" ) .appendTo( this.wrapper ) .val( value ) .attr( "title", "" ) .addClass( "custom-combobox-input ui-widget ui-widget-content ui-state-default ui-corner-left dev_inputelement" ) .autocomplete({ delay: 0, minLength: 0, source: $.proxy( this, "_source" ), appendTo: $("#" + formid + " #" + containerid), }) .tooltip({ classes: { "ui-tooltip": "ui-state-highlight" } }); this._on( this.input, { autocompleteselect: function( event, ui ) { ui.item.option.selected = true; this._trigger( "select", event, { item: ui.item.option }); $("#" + formid + " #dev_inputelement").attr("placeholder",$("#" + formid + " #" + elementid).val()); }, autocompletechange: "_removeIfInvalid" }); $("#" + formid + " #" + containerid).find("ul").addClass("drop-downcity"); }, _createShowAllButton: function() { var input = this.input, wasOpen = false; $( "" ) .attr( "tabIndex", -1 ) /* .attr( "title", "Show All Items" ) .tooltip() */ .appendTo( this.wrapper ) .button({ icons: { primary: "ui-icon-triangle-1-s" }, text: false }) .removeClass( "ui-corner-all" ) .addClass( "custom-combobox-toggle ui-corner-right" ) .on( "mousedown", function() { wasOpen = input.autocomplete( "widget" ).is( ":visible" ); }) .on( "click", function() { input.trigger( "focus" ); // Close if already visible if ( wasOpen ) { return; } // Pass empty string as value to search for, displaying all results input.autocomplete( "search", "" ); }); }, _source: function( request, response ) { var matcher = new RegExp( $.ui.autocomplete.escapeRegex(request.term), "i" ); var textarr = []; response( this.element.children( "option" ).map(function() { var text = $( this ).text(); if(textarr.indexOf(text) == -1){ textarr.push(text); if ( this.value && ( !request.term || matcher.test(text) ) ) return { label: text, value: text, option: this }; } }) ); }, _removeIfInvalid: function( event, ui ) { // Selected an item, nothing to do if ( ui.item ) { return; } // Search for a match (case-insensitive) var value = this.input.val(), valueLowerCase = value.toLowerCase(), valid = false; this.element.children( "option" ).each(function() { if ( $( this ).text().toLowerCase() === valueLowerCase ) { this.selected = valid = true; return false; } }); // Found a match, nothing to do if ( valid ) { return; } // Remove invalid value this.input .val( "" ) // .attr( "title", value + " didn't match any item" ) // .tooltip( "open" ); this.element.val( "" ); /* this._delay(function() { this.input.tooltip( "close" ).attr( "title", "" ); }, 2500 ); */ this.input.autocomplete( "instance" ).term = ""; }, _destroy: function() { this.wrapper.remove(); this.element.show(); } }); $("#" + formid + " #" + elementid).combobox(); } function initializeLazyLoad(){ var imageObserver = new IntersectionObserver((entries, imgObserver) => { entries.forEach((entry) => { if (entry.isIntersecting) { var lazyImage = entry.target; if(lazyImage.src.replace(baseUrl,'') != encodeURI(lazyImage.dataset.src ? lazyImage.dataset.src.replace(baseUrl,'') : '')){ lazyImage.src = lazyImage.dataset.src; } } }) }); var arr = document.querySelectorAll('img.lazy') arr.forEach((v) => { imageObserver.observe(v); }); } function homePageContactFormBtnClick(selectedtabval){$.post("https://www.squareyards.com/home/homepageleadformoverlay", function(data){$("#dev_contact_form_v1").html(data); $('.homePageLeadFormOverLay').addClass('active'); var selectedtab = $(".homePageLeadFormOverLay .homeFormBox .propTab.fixedTab").attr("tabval"); if(selectedtabval){ selectedtab = selectedtabval; $(".homePageLeadFormOverLay .homeFormBox .propTabBox").hide(); }else{ $('.homePageLeadFormOverLay .homeFormBox .propTabBox').show(); } var formdata = {"selectedtab":selectedtab}; opencontacthomeformv1(formdata);}); /* $.ajax({ async: true, dataType: "html", contentType: "application/json", success: function(data, textStatus) { $("#dev_contact_form_v1").html(data); $('.homePageLeadFormOverLay').addClass('active'); var selectedtab = $(".homePageLeadFormOverLay .homeFormBox .propTab.fixedTab").attr("tabval"); var formdata = {"selectedtab":selectedtab}; opencontacthomeformv1(formdata); }, error:function(error){ console.log(error); }, type: "POST", url: "https://www.squareyards.com/home/homepageleadformoverlay" }); */ } function homePageContactFormBtnClickForSingle(){$.post("https://www.squareyards.com/home/homepageleadformoverlay", function(data){$("#dev_contact_form_v1").html(data);$("#dev_home_propertytabbox").remove();$('.homePageLeadFormOverLay').addClass("homePageLeadFormSingle");$('.homePageLeadFormOverLay').removeClass('homePageLeadFormOverLay'); var selectedtab = "newproject"; if(window.location.href.endsWith("-decart") == true || window.location.href.endsWith("-decart/") == true){ selectedtab = "homeinterior"; } var formdata = {"selectedtab":selectedtab}; opencontacthomeformv1(formdata);}); /* $.ajax({ async: true, dataType: "html", contentType: "application/json", success: function(data, textStatus) { $("#dev_contact_form_v1").html(data); $('.homePageLeadFormOverLay').addClass('active'); var selectedtab = $(".homePageLeadFormOverLay .homeFormBox .propTab.fixedTab").attr("tabval"); var formdata = {"selectedtab":selectedtab}; opencontacthomeformv1(formdata); }, error:function(error){ console.log(error); }, type: "POST", url: "https://www.squareyards.com/home/homepageleadformoverlay" }); */ } function homeFormBoxCloseBtnClick(){ $('.homePageLeadFormOverLay').removeClass('active'); } function propertyTabClick(tabval){ var propertytabdata = [{"name":"Buy","tabval":"newproject","icon":"hti-icon1"},{"name":"Rent","tabval":"rental","icon":"hti-icon2"},{"name":"Home Loan","tabval":"homeloan","icon":"hti-icon4"},{"name":"Home Interior","tabval":"homeinterior","icon":"hti-icon5"}]; var selectedtabdata_arr = propertytabdata.filter(function(e){return e.tabval == tabval}); var othertabdata_arr = propertytabdata.filter(function(e){return e.tabval != tabval}); var propertytabboxhtml = ""; if(selectedtabdata_arr.length > 0){ var selectedtabdata = selectedtabdata_arr[0]; propertytabboxhtml = propertytabboxhtml + '

    ' + selectedtabdata["name"] + '

    '; } if(othertabdata_arr.length > 0){ propertytabboxhtml = propertytabboxhtml + '

    '; for(var i=0;i

    ' + othertabdata["name"] + '
    '; } propertytabboxhtml = propertytabboxhtml + '

    '; } $("#dev_home_propertytabbox").html(propertytabboxhtml); if(tabval == "rental"){ $("#dev_contactformhomev1 .formBox form#ClientInfoForm_dsepopup").find("#domesticCampId").val(6532); $("#dev_contactformhomev1 .formBox form#ClientInfoForm_dsepopup").find("#internationalCampId").val(6532); }else{ $("#dev_contactformhomev1 .formBox form#ClientInfoForm_dsepopup").find("#domesticCampId").val(277); $("#dev_contactformhomev1 .formBox form#ClientInfoForm_dsepopup").find("#internationalCampId").val(600); } var formdata = {"selectedtab":tabval}; opencontacthomeformv1(formdata); } function agentContactFormV1(id,userType,formdivid,formdata){if($("#" + formdivid + " .formBox").length <= 0){ $.post(baseUrl + "loadagentcontactform",formdata,function(data){ $("#" + formdivid).html(data); agentform.init(id,userType,formdivid); }); }else{ agentform.init(id,userType,formdivid); } } function opencontacthomeformv1(formdata){ $('#loaderBox').show(); $.post("https://www.squareyards.com/getcontactformbyselectedtab", formdata, function(data){ $("#dev_contactformhomev1").html(data); $("#dev_contactformhomev1 .formBox").css("padding","0"); setTimeout(()=>{ if(formdata.selectedtab == "homeloan" || formdata.selectedtab == "homeinterior"){ if(formdata.selectedtab == "homeloan"){ // agentContactForm("COMMON_LOAN","urbanMoney","dev_popupform_agent"); agentContactFormV1("COMMON_LOAN","urbanMoney","dev_popupform_agent",formdata); setTimeout(() => { $(".formBox #confirmOtp").addClass("Home_Lead_Loan") }, 1000); }else{ // agentContactForm(0,"interior","dev_popupform_agent"); agentContactFormV1(0,"interior","dev_popupform_agent",formdata); setTimeout(() => { $(".formBox #confirmOtp").addClass("Home_Lead_Interiors") }, 1000); } }else{ $(".homePageLeadFormOverLay .homeFormBox h3").text('Contact Our Real Estate Experts');$(".homePageLeadFormSingle .homeFormBox h3").text('Contact Our Real Estate Experts');$(".ldBxClsBtn,.ldBxH5").remove(); initializeContactForm_popup(); setTimeout(()=>{ if($("#dev_inputelement").val() == ''){ $("#dev_inputelement").val('Select City'); } }); if(formdata.selectedtab == "newproject"){ $("#confirmOtp_contactform").addClass("Home_Lead_Buy") } else{ $("#confirmOtp_contactform").addClass("Home_Lead_Rent") } if($("form#ClientInfoForm_dsepopup select#ddlCountryCode").attr("data-value") != undefined && $("form#ClientInfoForm_dsepopup select#ddlCountryCode").attr("data-value") != "" && $("form#ClientInfoForm_dsepopup select#ddlCountryCode").attr("data-value") != null){ var countrycodeval = $("form#ClientInfoForm_dsepopup select#ddlCountryCode").attr("data-value"); $("form#ClientInfoForm_dsepopup select#ddlCountryCode").val(countrycodeval); } } }) initializeLazyLoad(); }); /* $.ajax({ async: true, dataType: "html", contentType: "application/json", data:JSON.stringify(formdata), success: function(data, textStatus) { }, error:function(error){ console.log(error); }, type: "POST", url: "https://www.squareyards.com/getcontactformbyselectedtab" }); */ $('#loaderBox').hide(); } var RegexCountryCode = { "+91" : "^\\+91[6789]\\d{9}$", "+61" : "^\\+61[0-9]{8,9}$", "+852": "^\\+852\\d{8}$", "+968": "^\\+968\\d{7}$", "+974": "^\\+974\\d{7}$", "+65" : "^\\+65\\d{8}$", "+971": "^\\+971\\d{9}$", "+44" : "^\\+44\\d{10}$", "+1" : "^\\+1\\d{10}$", "+27" : "^\\+27\\d{9}$", "+60" : "^\\+60\\d{8,9}$", "+64" : "^\\+64\\d{8,9}$", "+66" : "^\\+66\\d{8,9}$", "+966": "^\\+966\\d{9}$", "+31" : "^\\+31\\d{9}$", "+973": "^\\+973\\d{7}$", "+54" : "^\\+54\\d{10}$", "+43" : "^\\+43\\d{9}$", "+880": "^\\+880\\d{10}$", "+32" : "^\\+32\\d{9}$", "+55" : "^\\+55\\d{10,11}$", "+86" : "^\\+86\\d{11}$", "+385": "^\\+385\\d{9}$", "+420": "^\\+420\\d{9}$", "+45" : "^\\+45\\d{8}$", "+1809" : "^\\+1809\\d{7}$", "+20" : "^\\+20\\d{10}$", "+358": "^\\+358\\d{9}$", "+679": "^\\+679\\d{7}$", "+33" : "^\\+33\\d{9}$", "+49" : "^\\+49\\d{10}$", "+30" : "^\\+30\\d{10}$", "+592": "^\\+592\\d{7}$", "+36" : "^\\+36\\d{9}$", "+62" : "^\\+62\\d{9,11}$", "+353": "^\\+353\\d{9}$", "+972": "^\\+972\\d{9}$", "+39" : "^\\+39\\d{10}$", "+81" : "^\\+81\\d{9}$", "+962": "^\\+962\\d{9}$", "+82" : "^\\+82\\d{9,10}$", "+965": "^\\+965\\d{7}$", "+853": "^\\+853\\d{8}$", "+52" : "^\\+52\\d{10}$", "+212": "^\\+212\\d{9}$", "+47" : "^\\+47\\d{8}$", "+48" : "^\\+48\\d{9}$", "+351": "^\\+351\\d{9}$", "+40" : "^\\+40\\d{9}$", "+7" : "^\\+7\\d{10}$", "+34" : "^\\+34\\d{9}$", "+46" : "^\\+46\\d{9}$", "+41" : "^\\+41\\d{9}$", "+1868": "^\\+1868\\d{7}$", "+216" : "^\\+216\\d{8}$", "+90" : "^\\+90\\d{10}$", "+84" : "^\\+84\\d{9}$" }; var globalfn = {validateMobile:(formid) => { // Get the selected country code and mobile number input field const countryCode = $("#" + formid).find("#ddlCountryCode option:selected, #ddlCountryCodechangeNumber option:selected ,#ddlCountryCodeAgent option:selected ").text(); const mobileNumber = $("#" + formid).find("#mobile").val(); // Validate the mobile number based on the country code const isValidMobile = validateMobileByCountryCode(countryCode, mobileNumber); if(isValidMobile == false){ $("#" + formid).find("#contactBtn").attr("disabled","disabled"); $("#" + formid).find("#_submit").attr("disabled","disabled"); $("#" + formid).find("#submit").attr("disabled","disabled"); $("#" + formid).find("#send_otp_btn").attr("disabled","disabled"); }else{ checkValidity(formid); } function validateMobileByCountryCode(countryCode, mobileNumber) {return RegexCountryCode ? new RegExp(RegexCountryCode[countryCode]).test(countryCode + mobileNumber) : false; } function checkValidity(formid) { setTimeout(() => { const isValid = document.getElementById(formid).checkValidity(); if(isValid == true){ $("#" + formid + " #contactBtn").removeAttr("disabled"); $("#" + formid + " #_submit").removeAttr("disabled"); $("#" + formid + " #submit").removeAttr("disabled"); $("#" + formid + " #send_otp_btn").removeAttr("disabled"); }else{ $("#" + formid + " #contactBtn").attr("disabled","disabled"); $("#" + formid + " #_submit").attr("disabled","disabled"); $("#" + formid + " #submit").attr("disabled","disabled"); $("#" + formid + " #send_otp_btn").attr("disabled","disabled"); } }); } }}

    Is Investing in India Worth it For NRIs Now? (2024)
    Top Articles
    Latest Posts
    Article information

    Author: Ouida Strosin DO

    Last Updated:

    Views: 5914

    Rating: 4.6 / 5 (76 voted)

    Reviews: 91% of readers found this page helpful

    Author information

    Name: Ouida Strosin DO

    Birthday: 1995-04-27

    Address: Suite 927 930 Kilback Radial, Candidaville, TN 87795

    Phone: +8561498978366

    Job: Legacy Manufacturing Specialist

    Hobby: Singing, Mountain biking, Water sports, Water sports, Taxidermy, Polo, Pet

    Introduction: My name is Ouida Strosin DO, I am a precious, combative, spotless, modern, spotless, beautiful, precious person who loves writing and wants to share my knowledge and understanding with you.