How to Cancel or Reschedule a Passport Appointment Online? (2024)

Home » Passport » How to Cancel or Reschedule a Passport Appointment Online?

How to Cancel or Reschedule a Passport Appointment Online? (1)

An Indian passport is a travel document which allows you to travel abroad legally. Applying for a passport appointment is an easy task that can be done online. If you wish to reschedule your appointment, you can do the same on the official portal of the Passport Seva Kendra. However, according to the new rules and regulations released by the Ministry of External Affairs (MEA), the number of attempts for the same is limited to only three in a year.

In this article, we will walk you through how you can reschedule for a passport appointment, the documents required and how to check for passport appointment availability.

Table of contents

  • How to Reschedule Passport Appointment Online?
  • Charges for Rescheduling a Passport Appointment?
  • How to Schedule Appointment of Passport Application?
  • How to Check Passport Appointment Availability at Passport Seva Kendra?
  • Documents Required to Reschedule a Passport Appointment
    • In Conclusion
  • FAQ’s about Reschedule Passport Appointment

How to Reschedule Passport Appointment Online?

The below-mentioned steps must be followed to reschedule the passport appointment:

Step 1: Visit the official website of the passport Seva Kendra Portal and log in with your credentials.

How to Cancel or Reschedule a Passport Appointment Online? (2)

Step 2: Click on the “Schedule Appointment” option under the “View Saved/Submitted Application” tab.

How to Cancel or Reschedule a Passport Appointment Online? (3)

Step 3: Choose from the available options- the “Reschedule Appointment and Appointment Cancellation” tab.

Step 4: Individuals can only make three attempts a year to cancel or reschedule their appointment. A pop-up will appear on-screen, showing you the number of attempts left.

Step 5: After rescheduling and reviewing the appointment, choose your nearest PSK according to your preference. After choosing your appointment date, the previously booked appointment gets cancelled automatically.

Step 6: The appointment confirmation screen has a “Print Application Receipt” button. With the help of this feature, individuals can print the confirmation receipt.

Charges for Rescheduling a Passport Appointment?

The Passport Authority of India allows individuals to cancel or reschedule appointments three times free of charge. However, their application will be cancelled if the individual exceeds the limit. Once the application gets cancelled, the individual has to fill a fresh one, by which they will be liable to pay the full fee once again. The payment you made for the previous application won’t be refunded. Hence, making an appointment at a convenient time and date is advisable to avoid the hassles mentioned above.

How to Schedule Appointment of Passport Application?

The procedure for passport application is carried out via the online method. Individuals willing to get an appointment must register on the Passport Sewa Portal. All you have to do is fill out the appointment form and make the payment. After making the payment, you will be redirected to the schedule appointment page, and you are required to fix a date and time as per your preference for the personal interview.

Check out the below-mentioned steps to apply for a passport and make an appointment to visit the Passport Sewa Kendra (PSK).

Step 1: Visit the official Passport Seva Kendra portal, and log in to your account.

How to Cancel or Reschedule a Passport Appointment Online? (4)

Step 2: Click on the “Apply for Fresh Passport” option and fill out the application by providing the correct information, as wrong information may lead to rejection of the application.

Step 3: After filling out the application, click on the “Pay and Schedule” to schedule an appointment at the PSK.

Step 4: Schedule the appointment date and time on a convenient date as, according to the new rule, the attempts to reschedule the appointment are limited to just three attempts. If you fail to show up on the date of the appointment thrice, you will have to reapply, which will require you to pay the fees again without any refund on the previous application.

Step 5: Select your Passport Seva Kendra correctly and its location.

Step 6: After selecting, you will be redirected to the payment page. The available payment modes are Credit/Debit, Internet banking and associate bank.

Step 7: You can calculate the fee for the passport services on the online portal.

Step 8: After making the financial payment, print out a hard copy of the application form that contains the Application Reference Number (ARN) or the Appointment Number.

Step 9: Visit the Passport Seva Kendra on your appointment date and time slot. Carry the documents along with the hard copy of the application form.

Note: Required documents include proof of date of birth, address proof, photograph and nationality documents.

Don’t miss It!

ePassportHow to Apply for a ePassport?
Passport Seva
Apply Passport OnlineHow to Apply for a Passport Online
Documents for PassportList of Documents Required for Passport Application
Passport VerificationPolice Verification for Passport
Renew Passport
Passport Application FormHow to Fill Passport Application Form?
Tatkal PassportHow to Apply for Tatkal Passport?
Passport for Senior CitizenHow to Apply Passport for Senior Citizen?
Passport for MinorHow to Apply Passport for Minor?

How to Check Passport Appointment Availability at Passport Seva Kendra?

Follow the below-mentioned step-by-step instructions to check the appointment availability at Passport Seva Kendra (PSK):

Step 1: Visit the official website of Passport Seva Kendra.

How to Cancel or Reschedule a Passport Appointment Online? (5)

Step 2: Click on the “Passport Appointment Availability” on the home page.

How to Cancel or Reschedule a Passport Appointment Online? (6)

Step 3: Select your nearest passport office.

Step 4: Enter the security code and click on the “Check Appointment Availability” button.

Step 5: After clicking on the “Check Appointment Availability” button, you will be redirected to another page that contains detailed information such as location, address, application type, appointment quota, appointment date and appointments released.

Documents Required to Reschedule a Passport Appointment

The below table shows the documents required to reschedule a passport appointment.

Proof of Address

Water Bill
Telephone Bill
Electricity Bill
Income Tax Assessment (ITA) Order
Election Commission/Voter’s ID card
Gas Connection document
Letterhead or certificate from the Employer of your company
The hard copy of Spouse’s passport
Aadhaar Card
Rent Agreement of your residence
The hard copy of your passbook of a running Bank Account
Proof of Date of Birth (DOB)Birth Certificate issued by the Registrar of Municipal Corporation or Births and Deaths or any other prescribed authority, whosoever has been empowered under the Registration of Birth and Deaths Act, 1969.
Leaving of Matriculation or school transfer Certificate from recognised educational board
Policy Bond issued by the Public Life Insurance Corporations that contain the date of birth information
Permanent Account Number
A valid driving licence from the Transport Department of the concerned State Government
A declaration by the Head of the Child Care Home/Orphanage on the official letterhead of the organisation confirming the Date Of Birth of the applicant.

In Conclusion

A passport is an essential document required for travelling abroad. The Passport Seva Kendra issues and offers other services like the facility to check appointment availability, reschedule passport appointments, etc. The rescheduling of the passport and registration can be done online. However, per the new MEA norms and rules, individuals can cancel and reschedule passport appointments up to three times within a year.

FAQ’s about Reschedule Passport Appointment

Q1. Can we reschedule the appointment for the passport?

Yes, you can recheck your appointment for your passport. You need to visit the official site of Passport Seva Kendra and fill out the details. However, according to the new norms and rules, the attempts to reschedule an appointment for a passport are limited to three times a year. If you fail to show up on the rescheduled appointment date, you will have to apply for a fresh passport, which will cost you all the fees again.

Q2. Can I cancel my passport application and apply again?

Yes, you can cancel or reschedule your passport appointment by login into Passport Seva Kendra’s official website and submitting a cancellation form. However, per the new MEA rules, individuals can cancel or reschedule passport appointments up to 3 times a year.

Q3. Can I still pay for my passport appointment after 24 hours?

No, you need to pay the amount within 24 hours. If you fail to make the payment, your application will automatically be cancelled.

Q4. How many times can we reschedule the appointment for the passport?

The Indian Passport Seva allows you to reschedule your appointment up to three times within a year, according to the new MEA rules and guidelines.

Q5. Will I get a refund if I cancel a passport appointment?

No, you cannot cancel the application once processed and no refund will be provided once the application is completed.

How to Cancel or Reschedule a Passport Appointment Online? (7)

ShivamShivam Singh has a positive approach with keen observation skills, He is a journalist, athlete, and photographer. He loves swimming, whether it's to dive deep into the words or water. He reads extensively before he writes to hold credibility in his writing. Shivam is more into movies and theaters. He loves to write about the film industry because he knows it closely and he vastly writes in various genres, making him a complete package.

  • Passport

    '+ '

    ' + '

    '; if(beatsresponse.SalesPersonProfilePic != undefined && beatsresponse.SalesPersonProfilePic != ""){ dev_Modal_agentModalBox = dev_Modal_agentModalBox + 'How to Cancel or Reschedule a Passport Appointment Online? (8)'; }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 + 'How to Cancel or Reschedule a Passport Appointment Online? (9)'; }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(){$.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"); 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"); } }); } }}

    How to Cancel or Reschedule a Passport Appointment Online? (2024)
    Top Articles
    Latest Posts
    Article information

    Author: Ouida Strosin DO

    Last Updated:

    Views: 6307

    Rating: 4.6 / 5 (76 voted)

    Reviews: 83% 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.