14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (2024)

Home » LifeStyle » Decor » Bedroom Ideas For Couples

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (1)

Bedroom design ideas for couples may be an exciting adventure that combines personal preferences and tastes to create a peaceful haven. The key to designing a shared space is striking a balance so each partner feels comfortable and represented.

We will discuss how to mix and match favourite colours, use muted tones to create a cohesive effect or add special touches with accents and accessories that reflect each couple’s tastes. From the functionality of task lighting to the ambience of accent and mood lighting, we will work with you to create a flexible lighting plan that adapts to various needs and occasions, like reading in bed or setting a romantic scene.

We have curated a list of modern bedroom design ideas for couples; check them out below!

Table of contents

  • Bedroom Ideas For Couples: Solid Colour Bedding with Curtains
  • Bedroom Ideas For Couples: Reflections on the Bed
  • Bedroom Ideas For Couples: Pink Enchantment
  • Bedroom Ideas For Couples: Emphasising a Single Wall
  • Bedroom Ideas For Couples: Make it Vibrant
  • Bedroom Ideas For Couples: Aura of Roses
  • Bedroom Ideas For Couples: Floral Comforters
  • Bedroom Ideas For Couples: Grey Terrain
  • Bedroom Ideas For Couples: Known Simplicity
  • White Bed Decorated with Spring Flowers
  • Bohemian Canopy Bed in White and Red
  • Bedroom Ideas For Couples: Classic Baroque-style bedroom interior
  • Bedroom Ideas For Couples: Embrace Patterns on Patterns
  • Bedroom Ideas For Couples: Embrace the Darkness
    • Conclusion
  • FAQ’s about Bedroom Ideas For Couples

Bedroom Ideas For Couples: Solid Colour Bedding with Curtains

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (2)

With a few easy changes, your bedroom may become a romantic retreat. To create a colour-blocking effect, use vibrantly coloured drapes and bedding. The striking colour will be a focal point to highlight the brilliant colours while keeping the rest of the room’s decor muted and neutral. To help create the mood, use a few soft lights to cast shadows on the bed.

Bedroom Ideas For Couples: Reflections on the Bed

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (3)

The fluffy curtains above your bed create a romantic atmosphere. Simple yet elegant white curtains can improve the appearance of your bedroom right away and without any work on your part. Married couples can create an amazing romantic bedroom with a mattress and sheer curtains. White bedding will finish the room’s immaculate appearance. To improve the overall effect, use potted plants or floral centrepieces.

Bedroom Ideas For Couples: Pink Enchantment

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (4)

Simply changing the bedding can drastically transform your boring bedroom. This attractive bedroom design will appeal to you if you enjoy pink bedding because it makes a strong statement. Even the simplest bedsteads can seem opulent when dressed in gorgeous light pink bedding. Add a translucent pink canopy curtain to the space for a more alone feel.

Bedroom Ideas For Couples: Emphasising a Single Wall

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (5)

Create a statement by decorating one wall in your bedroom with a textured design! You can combine it with a complementary design to create a visually striking focal point. To establish a romantic environment, one or two grey accessories might be used to set the mood for the evening rather than painting the entire space grey. A hint of pink can create a passionate atmosphere when paired with a delicate foundation tone.

Bedroom Ideas For Couples: Make it Vibrant

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (6)

Select a dramatic yet elegant décor theme for your romantic bedroom ideas for a married couple to create the right ambience. A stunning white headboard and matching white bedding will seem more sophisticated, with a few solid black pillows and a black blanket. Elegant sidelights could be added to finish the exquisite look.

Bedroom Ideas For Couples: Aura of Roses

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (7)

Isn’t it lovely to have a simple yet stylish bedroom? Create a wonderful mood with the most basic accents. Use a range of rose-pink covers and pillows to make your bed look cosier. To finish the ensemble, add a matching blanket in the same tone. Hanging lights and sheer window treatments add flair to the otherwise simple design.

Bedroom Ideas For Couples: Floral Comforters

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (8)

Changing the bedding will make your chic yet simple bedroom feel like a wonderful hideaway. If you choose floral-patterned bedsheets and quilts with vibrant colours to establish the mood in your bedroom, your bed becomes the focal point of the area. Pair striped pillows with cushions in neutral tones to create a visually striking arrangement.

Bedroom Ideas For Couples: Grey Terrain

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (9)

You may forget that grey is a dull colour for your bedroom décor. The room’s dark woodwork and patterned timber flooring are complemented by a grey bed near the floor. Use bedding in softer grey tones to make grey the main feature of your bedroom. Create a focal point in your home by adding wall art or a custom headboard to break up the monotony.

Don’t miss It!

Main Gate DesignBest Main Gate Design for Your Home
False Ceiling Design IdeasBest False Ceiling Design for Bedroom
Two Colour CombinationBest Two Colour Combinations for Bedroom Walls
Window Glass DesignBest Window Glass Design for Home
Window DesignBest Modern Window Design Ideas
Steel Gate DesignBest Steel Gate Design Ideas
Wooden Door DesignBest Wooden Door Design Ideas for Home
Window Grill DesignBest Window Grill Design for Your Home
POP Colour CombinationBest POP Colour Combination Ideas
Single Floor House Design6 Best Single Floor House Design

Bedroom Ideas For Couples: Known Simplicity

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (10)

Is it accurate to say you have always desired a cosy sleeping space? You might have a fantasy of a compact bedroom design! A cosy bed with plush pillows is the perfect spot to spend alone time with your significant other. Its fundamental simplicity is what makes it so beautiful. You can talk about your hopes and feelings with no one else for hours while lounging on the plush mattress. Bright colours and harsh lights are absent, allowing you to unwind and focus solely on your partner.

White Bed Decorated with Spring Flowers

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (11)

Add fresh or fake flowers on the nightstand or across the bed to make a white bed look like spring. Use spring flowers like tulips, daffodils, or cherry blossoms for colour and freshness. You can also use pillows or blankets with flower patterns to match. This will make your bedroom feel lively and fresh, like spring.

Bohemian Canopy Bed in White and Red

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (12)

A gorgeous white canopy bed with an air of ethereal appeal will turn your bedroom into a bohemian haven. Adopt a bohemian aesthetic by blending pastel and red hues across the room to create a pleasing colour scheme. The white colour scheme provides a feeling of tranquillity, while the canopy bed adds a whimsical and romantic touch. This bohemian hideaway will take you to a world of carefree charm and leisure in pastel shades of white and red.

Bedroom Ideas For Couples: Classic Baroque-style bedroom interior

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (13)

Savour the ageless beauty of a bedroom decorated in the traditional baroque style. This bedroom radiates grandeur and sophistication with its lavish and elaborate design features. Rich textiles, golden accents, and elaborate carvings abound in the baroque style, epitomising luxury. The room’s centrepiece is a stately four-poster bed with ornate accents and opulent curtains. Rich colours like royal blue, gold, and deep burgundy are included in the colour scheme, heightening the feeling of royalty. This exquisitely designed baroque bedroom respects the elegance and extravagance of a bygone era in every way.

Bedroom Ideas For Couples: Embrace Patterns on Patterns

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (14)

An attractive and visually stimulating haven can be created in a couple’s bedroom by implementing the pattern-on-pattern design idea. This method entails stacking several designs that differ in scale and style to produce a visually appealing and well-coordinated appearance. This can be fun for couples to combine their preferences, allowing for personal expression within a cohesive design. It also symbolises the blending of two distinct personalities into one shared space. When patterns are carefully chosen, they complement rather than clash—think floral with geometric or stripes with dots. The bedroom represents the couple’s blended aesthetics thanks to this design technique, which also provides depth and interest.

Bedroom Ideas For Couples: Embrace the Darkness

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (15)

Black-out curtains allow any couple to enjoy sleeping in total darkness, but they can intensify the gloom by changing the colour scheme in their bedroom. Popular designer Denise McGaha suggests using black nightstands, a dark seat, a grey headboard, and textured black wallpaper. The room’s rosy pink bedding and spectacular ceiling enhance romance.

Conclusion

To summarise, the secret to creating a bedroom that works for a couple is striking the ideal balance between personal tastes and shared aesthetics. It involves designing an area that appeals to both spouses and provides peace of mind, comfort, and a private haven from the outside world. Whether you’re a fan of modern elegance, cosy, rustic themes, or minimalist designs, the secret is to incorporate aspects that represent your personality and promote unity!

FAQ’s about Bedroom Ideas For Couples

Q1. How to create a luxurious bedroom?

To create a luxurious bedroom, you can incorporate a rug, aesthetic painting, throw pillows, hanging light fixtures, etc. in your bedroom.

Q2. How do I design my new bedroom?

The first step in designing a new bedroom is choosing your preferred style—modern, traditional, or eclectic. Then, consider how you want your room to work and arrange the furniture to maximise comfort and utility.

Q3. How do I plan my bedroom?

To design your bedroom, decide on a layout that makes the most of the available space and functionality, decide on a coordinating colour scheme and style, and pick furniture that meets your needs and improves the atmosphere and comfort of the space.

14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (16)

Mansi SainiMansi is someone who believes to look at the positives than the negatives (thanks to her habit of reading), someone who concentrates on filling the gaps. A sarcastic human with a tinge of generousity and kindness; who laughs and talks a lot; someone who works like a crook (to get THINGS done). Her creativity flows through her blogs, interiors, creative writing, love sonnets, and entertainment is where she screams the most.

  • Decor

    '+ '

    ' + '

    '; if(beatsresponse.SalesPersonProfilePic != undefined && beatsresponse.SalesPersonProfilePic != ""){ dev_Modal_agentModalBox = dev_Modal_agentModalBox + '14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (17)'; }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 + '14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (18)'; }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"); } }); } }}

    14 Latest Bedroom Ideas For Couples That You're Guaranteed To Love (2024)
    Top Articles
    Latest Posts
    Article information

    Author: Mr. See Jast

    Last Updated:

    Views: 6126

    Rating: 4.4 / 5 (55 voted)

    Reviews: 86% of readers found this page helpful

    Author information

    Name: Mr. See Jast

    Birthday: 1999-07-30

    Address: 8409 Megan Mountain, New Mathew, MT 44997-8193

    Phone: +5023589614038

    Job: Chief Executive

    Hobby: Leather crafting, Flag Football, Candle making, Flying, Poi, Gunsmithing, Swimming

    Introduction: My name is Mr. See Jast, I am a open, jolly, gorgeous, courageous, inexpensive, friendly, homely person who loves writing and wants to share my knowledge and understanding with you.