{"id":6,"date":"2023-09-11T13:49:14","date_gmt":"2023-09-11T13:49:14","guid":{"rendered":"http:\/\/localhost\/appointment-booking\/?page_id=6"},"modified":"2025-04-30T01:32:33","modified_gmt":"2025-04-30T01:32:33","slug":"booking","status":"publish","type":"page","link":"https:\/\/www.pmsaifworld.com\/book-a-call\/","title":{"rendered":"Book a Call"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"6\" class=\"elementor elementor-6\">\n\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2ed17a01 e-flex e-con-boxed e-con e-parent\" data-id=\"2ed17a01\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;content_width&quot;:&quot;boxed&quot;}\" data-core-v316-plus=\"true\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-caa4203 elementor-widget elementor-widget-image\" data-id=\"caa4203\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.16.0 - 14-09-2023 *\/\n.elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=\".svg\"]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block}<\/style>\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/pmsaifworld.com\/\" target=\"_blank\" rel=\"noopener\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"268\" height=\"51\" src=\"https:\/\/www.pmsaifworld.com\/book-a-call\/wp-content\/uploads\/2023\/09\/PMS-AIF-WORLD-LOGO.png\" class=\"attachment-large size-large wp-image-34\" alt=\"\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-4a70e76 e-flex e-con-boxed e-con e-parent\" data-id=\"4a70e76\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;content_width&quot;:&quot;boxed&quot;}\" data-core-v316-plus=\"true\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-bd77dda elementor-widget elementor-widget-text-editor\" data-id=\"bd77dda\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.16.0 - 14-09-2023 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t<div class=\"title-area text-center\"><h1 class=\"\" style=\"text-align: center; font-size: 30px;\">Book a Call with our Certified Investment Counsellor<\/h1><\/div><div class=\"wpb_text_column wpb_content_element \"><div class=\"wpb_wrapper\"><p style=\"text-align: center;\">PMS AIF World is an alternates focused, new age investment services company, providing analytics-backed quality investing service with an endeavour and aim of assisting investors\u2019 journey of long term wealth creation and prosperity.<\/p><p style=\"text-align: center;\">Book a Call with our PMS &amp; AIF specialists &amp; invest through us in the best quality products and make informed investment decisions.<\/p><\/div><\/div>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-80bfc27 elementor-widget elementor-widget-text-editor\" data-id=\"80bfc27\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/flatpickr\/dist\/flatpickr.min.css\">\r\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/flatpickr\"><\/script>\r\n<!-- booking-form-template.php -->\r\n\r\n<form id=\"appointment-booking-form\" method=\"post\" action=\"https:\/\/www.pmsaifworld.com\/book-a-call\/wp-admin\/admin-post.php\">\r\n    <!-- Step 1: Select Service -->\r\n    <div class=\"booking-step\" data-step=\"1\">\r\n        <h2>Choose Your Call Purpose<\/h2>\r\n        <!-- Add fields for service selection -->\r\n        <div id=\"serviceList\">\r\n                        <label for=\"pms-aif-investments\" class=\"service-tile\">\r\n                <input id=\"pms-aif-investments\" type=\"radio\" name=\"selectedService\"\r\n                    value=\"PMS &amp; AIF Investments\" data-step=\"2\">\r\n                <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.pmsaifworld.com\/book-a-call\/wp-content\/uploads\/2023\/11\/pms-aif-globe.png\" width=\"40\"\r\n                    height=\"40\"> PMS &amp; AIF Investments            <\/label>\r\n                        <label for=\"for-indian-origin-australian\" class=\"service-tile\">\r\n                <input id=\"for-indian-origin-australian\" type=\"radio\" name=\"selectedService\"\r\n                    value=\"For Indian-origin Australian\" data-step=\"2\">\r\n                <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.pmsaifworld.com\/book-a-call\/wp-content\/uploads\/2023\/11\/pms-aif-globe.png\" width=\"40\"\r\n                    height=\"40\"> For Indian-origin Australian            <\/label>\r\n                        <label for=\"b2b-partnership\" class=\"service-tile\">\r\n                <input id=\"b2b-partnership\" type=\"radio\" name=\"selectedService\"\r\n                    value=\"B2B Partnership\" data-step=\"2\">\r\n                <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.pmsaifworld.com\/book-a-call\/wp-content\/uploads\/2023\/11\/pms-aif-globe.png\" width=\"40\"\r\n                    height=\"40\"> B2B Partnership            <\/label>\r\n                        <!-- <input type=\"hidden\" name=\"selectedService\" value=\"PMS & AIF Investments\"> -->\r\n        <\/div>\r\n    <\/div>\r\n\r\n\r\n    <!-- Step 2: Select Staff -->\r\n    <div class=\"booking-step\" data-step=\"2\">\r\n        <h2>Choose Consultant<\/h2>\r\n        <!-- Add fields for staff selection as a list of radio buttons -->\r\n        <div id=\"staffList\">\r\n        <\/div>\r\n        <input type=\"hidden\" name=\"staff_email\" id=\"staff_email\">\r\n        <button class=\"prev-step\" data-step=\"1\">Previous<\/button>\r\n    <\/div>\r\n\r\n    <!-- Step 3: Booking Date and Time -->\r\n    <div class=\"booking-step\" data-step=\"3\">\r\n        <h2>Choose Appointment Date and Time<\/h2>\r\n        <!-- Add fields for date and time slot selection -->\r\n        <div class=\"calendar-container\">\r\n            <!-- Left side: Calendar -->\r\n            <div class=\"calendar\">\r\n                <label for=\"date\">Select Date:<\/label>\r\n                <input type=\"text\" id=\"date\" name=\"date\" required>\r\n            <\/div>\r\n        <\/div>\r\n\r\n        <div class=\"time-slots-container\">\r\n            <!-- Right side: Available Time Slots -->\r\n            <label for=\"time_slot\">Available Time Slots:<\/label>\r\n            <select name=\"time_slot\" id=\"time_slot\" required>\r\n                <!-- Use JavaScript to populate available time slots dynamically -->\r\n            <\/select>\r\n        <\/div>\r\n        <button class=\"prev-step\" data-step=\"2\">Previous<\/button>\r\n        <button class=\"next-step\" data-step=\"4\">Next<\/button>\r\n    <\/div>\r\n\r\n    <!-- Step 4: Contact Information -->\r\n    <div class=\"booking-step\" data-step=\"4\">\r\n        <h2>Please Fill In Your Contact Information<\/h2>\r\n        <!-- Name, Email, Phone, City, State, and Country fields here -->\r\n\r\n        <label for=\"name\">Name:<\/label>\r\n        <input type=\"text\" name=\"name\" id=\"name\" required pattern=\"[A-Za-z\\s]+\"\r\n            title=\"Only letters and spaces are allowed\">\r\n\r\n        <label for=\"email\">Email:<\/label>\r\n        <input type=\"email\" name=\"email\" id=\"email\" required>\r\n\r\n        <!-- <label for=\"phone\">Phone:<\/label>\r\n        <input type=\"text\" name=\"phone\" id=\"phone\" required pattern=\"[0-9]+\" title=\"Only numbers are allowed\" minlength=\"8\" maxlength=\"13\"> -->\r\n        <label for=\"phone\">Phone:<\/label>\r\n        <input type=\"text\" name=\"phone\" id=\"phone\" pattern=\"[0-9]+\" required minlength=\"8\" maxlength=\"13\"\r\n            title=\"Enter valid mobile number\">\r\n        <input type=\"hidden\" name=\"country_code\" id=\"country-code\">\r\n\r\n        <label for=\"city\">City:<\/label>\r\n        <input type=\"text\" name=\"city\" id=\"city\" required pattern=\"[A-Za-z\\s]+\"\r\n            title=\"Only letters and spaces are allowed\">\r\n\r\n        <label for=\"terms-and-conditions\"><input type=\"checkbox\" name=\"terms-and-conditions\" id=\"terms-and-conditions\"\r\n                title=\"Please select terms and conditions\"> I agree that <a href=\"https:\/\/www.pmsaifworld.com\/terms-and-conditions\/\" target=\"_blank\">by booking a call with our\r\n                representative, you authorize PMS AIF World to add you to the mailing list, which you may unsubscribe at\r\n                any time. <\/a><\/label>\r\n\r\n        <label for=\"investment-amount-confirmation\"><input type=\"checkbox\" name=\"investment-amount-confirmation\"\r\n                id=\"investment-amount-confirmation\" title=\"Please select terms and conditions\"> I am aware that PMS &#038;\r\n            AIF investments mandate a minimum investment amount of 50 Lacs\u00a0&#038;\u00a01\u00a0Crore\u00a0each.<\/label>\r\n\r\n        <!-- <label for=\"state\">State:<\/label>\r\n        <input type=\"text\" name=\"state\" id=\"state\">\r\n\r\n        <label for=\"country\">Country:<\/label>\r\n        <input type=\"text\" name=\"country\" id=\"country\" required> -->\r\n\r\n        <!-- Loading screen and submit button -->\r\n        <div id=\"loading-screen\" style=\"display: none;\">\r\n            <div class=\"loading-icon\"><\/div>\r\n            <p>Booking Appointment&#8230;<\/p>\r\n        <\/div>\r\n        <input type=\"hidden\" name=\"action\" value=\"process_appointment_booking\">\r\n\r\n        <button class=\"prev-step\" data-step=\"3\">Previous<\/button>\r\n        <!-- Submit button -->\r\n        <input type=\"submit\" name=\"submit_booking\" value=\"Book Appointment\">\r\n    <\/div>\r\n<\/form>\r\n\r\n\r\n<script src=\"https:\/\/code.jquery.com\/jquery-3.6.4.min.js\"><\/script>\r\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/intl-tel-input@18.2.1\/build\/js\/intlTelInput.min.js\"><\/script>\r\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/intl-tel-input@18.2.1\/build\/js\/utils.js\"><\/script>\r\n\r\n\r\n<script>\r\njQuery(document).ready(function($) {\r\n    \/\/ Initialize the international telephone input\r\n    const inputPhone = document.querySelector(\"#phone\");\r\n\r\n    const iti = window.intlTelInput(inputPhone, {\r\n        separateDialCode: true,\r\n        nationalMode: false,\r\n        initialCountry: 'in',\r\n        utilsScript: \"https:\/\/cdn.jsdelivr.net\/npm\/intl-tel-input@18.2.1\/build\/js\/utils.js\",\r\n    });\r\n\r\n    var countryData = iti.getSelectedCountryData();\r\n    $('#country-code').val('+' + countryData.dialCode);\r\n\r\n    \/\/ Set the selected country code in a hidden input field\r\n    inputPhone.addEventListener('countrychange', function() {\r\n        \/\/ alert();\r\n        var countryData = iti.getSelectedCountryData();\r\n        $('#country-code').val('+' + countryData.dialCode);\r\n    });\r\n\r\n    \/\/ Validate the form on submission\r\n    $('#appointment-booking-form').on('submit', function(e) {\r\n        var isValid = $('#phone').intlTelInput('isValidNumber');\r\n        if (!isValid) {\r\n            e.preventDefault();\r\n            alert(\"Please enter valid mobile number\");\r\n        }\r\n    });\r\n});\r\n\r\n\r\n<\/script>\r\n\r\n<script>\r\n\r\n\/* ---------- helper cookie \/ qs ---------- *\/\r\nfunction getCookie(name) {\r\n  const m = document.cookie.match('(^|;)\\\\s*' + name + '\\\\s*=\\\\s*([^;]+)');\r\n  return m ? decodeURIComponent(m.pop()) : '';\r\n}\r\n\r\nfunction setCookie(name, value, days) {\r\n  const maxAge = (days || 30) * 24 * 60 * 60;\r\n  document.cookie = `${name}=${encodeURIComponent(value||'')}; Domain=.pmsaifworld.com; Path=\/; Max-Age=${maxAge}; Secure; SameSite=None`;\r\n}\r\n\r\n\/* ---------- fill hidden inputs ---------- *\/\r\nfunction ensureHiddenInput(form, name) {\r\n  let input = form.querySelector(`input[name=\"${name}\"]`);\r\n  if (!input) {\r\n    input = document.createElement('input');\r\n    input.type = 'hidden';\r\n    input.name = name;\r\n    form.appendChild(input);\r\n  }\r\n  return input;\r\n}\r\n\r\nfunction fillUtmFieldsFromSource(sourceObj) {\r\n  const form = document.querySelector('#appointment-booking-form');\r\n  if (!form) return;\r\n  const fields = ['utm_source','utm_medium','utm_campaign','utm_term','utm_content','gclid','landing_path'];\r\n  fields.forEach(k => {\r\n    const input = ensureHiddenInput(form, k);\r\n    input.value = sourceObj[k] || sourceObj[k] === '' ? sourceObj[k] : (getCookie(k) || '');\r\n  });\r\n}\r\n\r\n\/* ---------- read UTMs from URL on iframe (in case parent appended querystring) ---------- *\/\r\n(function initFromUrl() {\r\n  const params = new URLSearchParams(window.location.search);\r\n  const obj = {};\r\n  ['utm_source','utm_medium','utm_campaign','utm_term','utm_content','gclid','landing_path'].forEach(k => {\r\n    if (params.has(k)) obj[k] = params.get(k);\r\n  });\r\n  if (Object.keys(obj).length) {\r\n    fillUtmFieldsFromSource(obj);\r\n  }\r\n})();\r\n\r\n\/* ---------- listen for parent's postMessage (utm_payload) ---------- *\/\r\nwindow.addEventListener('message', function(event) {\r\n  if (event.origin !== 'https:\/\/amc.pmsaifworld.com') return; \/\/ parent origin\r\n\/\/   const d = ev.data || {};\r\n\r\n  const data = event.data || {};\r\n\r\n  if (data.type === 'utm_payload' && data.utm) {\r\n    \/\/ OPTIONAL: write same cookie on iframe origin (helps debugging & fallback)\r\n    const u = data.utm;\r\n    if (u.utm_source) setCookie('utm_source', u.utm_source, 30);\r\n    if (u.utm_medium) setCookie('utm_medium', u.utm_medium, 30);\r\n    if (u.utm_campaign) setCookie('utm_campaign', u.utm_campaign, 30);\r\n    if (u.utm_term) setCookie('utm_term', u.utm_term, 30);\r\n    if (u.utm_content) setCookie('utm_content', u.utm_content, 30);\r\n    if (u.landing_path) setCookie('landing_path', u.landing_path, 30);\r\n    \/\/ Populate hidden inputs\r\n    fillUtmFieldsFromSource(u);\r\n  }\r\n}, false);\r\n\r\n\/* ---------- ensure hidden utm fields exist on DOM ready ---------- *\/\r\ndocument.addEventListener('DOMContentLoaded', function() {\r\n  fillUtmFieldsFromSource({}); \/\/ this will fill from cookies if present\r\n});\r\n\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", function () {\r\n    const form = document.querySelector(\"#appointment-booking-form\"); \/\/ Adjust if needed\r\n    if (form) {\r\n        form.addEventListener(\"submit\", function () {\r\n            \/\/ Send a message to the parent window\r\n            window.parent.postMessage(\r\n                {\r\n                    event: \"bookACallSubmitted\",\r\n                    utm: {\r\n                        utm_source: getCookie('utm_source') || '',\r\n                        utm_medium: getCookie('utm_medium') || '',\r\n                        utm_campaign: getCookie('utm_campaign') || '',\r\n                        utm_term: getCookie('utm_term') || ''\r\n                    },\r\n                    from: window.location.href \/\/ optional: can include extra data\r\n                },\r\n                \"https:\/\/amc.pmsaifworld.com\" \/\/ restrict to the known subdomain\r\n            );\r\n\r\n            window.parent.postMessage(\r\n                { event: \"formSubmittedPending\" },\r\n                \"https:\/\/amc.pmsaifworld.com\"\r\n            );\r\n\r\n        });\r\n    }\r\n\r\n    \r\n});\r\n<\/script>\r\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Book a Call with our Certified Investment Counsellor PMS AIF World is an alternates focused, new age investment services company, providing analytics-backed quality investing service with an endeavour and aim of assisting investors\u2019 journey of long term wealth creation and prosperity. Book a Call with our PMS &amp; AIF specialists &amp; invest through us in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-6","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.pmsaifworld.com\/book-a-call\/wp-json\/wp\/v2\/pages\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pmsaifworld.com\/book-a-call\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.pmsaifworld.com\/book-a-call\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.pmsaifworld.com\/book-a-call\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pmsaifworld.com\/book-a-call\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":42,"href":"https:\/\/www.pmsaifworld.com\/book-a-call\/wp-json\/wp\/v2\/pages\/6\/revisions"}],"predecessor-version":[{"id":324,"href":"https:\/\/www.pmsaifworld.com\/book-a-call\/wp-json\/wp\/v2\/pages\/6\/revisions\/324"}],"wp:attachment":[{"href":"https:\/\/www.pmsaifworld.com\/book-a-call\/wp-json\/wp\/v2\/media?parent=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}