{"id":46,"date":"2026-08-25T15:25:40","date_gmt":"2026-08-25T09:55:40","guid":{"rendered":"https:\/\/form.weddingasiaofficial.com\/?page_id=46"},"modified":"2026-08-25T15:25:40","modified_gmt":"2026-08-25T09:55:40","slug":"testing-page","status":"publish","type":"page","link":"https:\/\/form.weddingasiaofficial.com\/?page_id=46","title":{"rendered":"testing page"},"content":{"rendered":"        <style>.fqret-form{max-width:760px;padding:24px;border:1px solid #dddddd;border-radius:12px;background:#ffeee5}.fqret-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fqret-form-field label{display:block;margin-bottom:6px;font-weight:600;color:#111111}.fqret-form-field input,.fqret-form-field textarea,.fqret-form-field select{width:100%;box-sizing:border-box;padding:11px;border:1px solid #dddddd;border-radius:8px}.fqret-form-submit{margin-top:18px;padding:12px 22px;border:0;border-radius:8px;background:#111111;color:#ffffff;font-weight:700;cursor:pointer}@media(max-width:700px){.fqret-form-grid{grid-template-columns:1fr!important}}<\/style>\n        <form class=\"fqret-form\" method=\"post\" action=\"https:\/\/form.weddingasiaofficial.com\/wp-admin\/admin-post.php\"><input type=\"hidden\" name=\"action\" value=\"fqret_submit\"><input type=\"hidden\" name=\"event_id\" value=\"44\"><input type=\"hidden\" id=\"fqret_nonce\" name=\"fqret_nonce\" value=\"eea18b8f12\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F46\" \/><div class=\"fqret-form-grid\">\n                  <div class=\"fqret-form-field\"><label>Name *<\/label>\n          <input type=\"text\" name=\"fqret_field_name\" required><\/div>\n                  <div class=\"fqret-form-field\"><label>Mobile Number *<\/label>\n                        <input type=\"tel\" name=\"fqret_field_phone\" inputmode=\"numeric\" pattern=\"[0-9]{10}\" maxlength=\"10\" minlength=\"10\" placeholder=\"10-digit mobile number\" required>\n          <\/div>\n                  <div class=\"fqret-form-field\"><label>Email *<\/label>\n          <input type=\"email\" name=\"fqret_field_email\" required><\/div>\n                  <div class=\"fqret-form-field\"><label>City *<\/label>\n          <input type=\"text\" name=\"fqret_field_city\" required><\/div>\n                  <div class=\"fqret-form-field\"><label>How did you hear about us? *<\/label>\n                        <select name=\"fqret_field_referral_source\" required>\n                  <option value=\"\">Select<\/option>\n                  <option value=\"Social media Ads\">Social media Ads<\/option><option value=\"Hoardings\">Hoardings<\/option><option value=\"Newspaper\">Newspaper<\/option><option value=\"Google\">Google<\/option><option value=\"Reference\">Reference<\/option>              <\/select>\n          <\/div>\n        <\/div><button class=\"fqret-form-submit\" type=\"submit\">Submit &amp; Get Ticket<\/button><\/form>\n        <script>\n        (function(){\n            const form=document.currentScript.previousElementSibling;\n            if(!form || !form.matches('form.fqret-form'))return;\n            const deadline=1788096600;\n            const closedAtRender=true;\n            const popupConfig={\"logo\":\"https:\\\/\\\/form.weddingasiaofficial.com\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/image-removebg-preview-e1787942260557.png\",\"logo_width\":151,\"title\":\"This event is over\",\"message\":\"Registrations for this event are closed. Please register for an upcoming event.\",\"button\":\"Got it\",\"footer\":\"We look forward to welcoming you again.\",\"heading_font\":\"georgia\",\"body_font\":\"arial\",\"heading_size\":34,\"body_size\":15,\"heading_color\":\"#713d29\",\"text_color\":\"#785d4f\",\"footer_color\":\"#886c5c\",\"background\":\"#fffaf4\",\"background_top\":\"#f6e2cf\",\"border_color\":\"#dfc4aa\",\"button_color\":\"#955235\",\"button_text_color\":\"#fffaf5\",\"button_hover_color\":\"#793e28\"};\n            const popupFonts={\"georgia\":\"Georgia, \\u0027Times New Roman\\u0027, serif\",\"arial\":\"Arial, sans-serif\",\"times\":\"\\u0027Times New Roman\\u0027, serif\",\"verdana\":\"Verdana, sans-serif\",\"trebuchet\":\"\\u0027Trebuchet MS\\u0027, sans-serif\"};\n            function popup(title,message){\n                const dialog=document.createElement('dialog');\n                if(typeof dialog.showModal!=='function'){window.alert(title+'\\n\\n'+message);return;}\n                if(!document.getElementById('fqret-expiry-popup-style')){\n                    const style=document.createElement('style');style.id='fqret-expiry-popup-style';\n                    style.textContent=`\n                    dialog.fqret-expiry-popup{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:440px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:42px 32px 30px;border:1px solid var(--popup-border_color);border-radius:22px;background:radial-gradient(ellipse at top,var(--popup-background_top) 0,transparent 65%),var(--popup-background);color:#533728;text-align:center;box-shadow:0 24px 90px #30180e40;font-family:Arial,sans-serif;}\n                    dialog.fqret-expiry-popup::backdrop{background:rgba(46,27,19,.48);backdrop-filter:blur(5px);}\n                    .fqret-expiry-popup .fqret-popup-dismiss{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:36px;height:36px;min-height:0;padding:0;margin:0;border:0;border-radius:50%;background:transparent;color:#795343;font:26px\/1 Arial,sans-serif;cursor:pointer;box-shadow:none;}\n                    .fqret-expiry-popup .fqret-popup-dismiss:hover{background:#ecd7c6;}\n                    .fqret-expiry-popup .fqret-popup-title{padding:0;margin:0 0 16px;color:var(--popup-heading_color);font:400 var(--popup-heading_size)\/1.15 var(--popup-heading-font);letter-spacing:-.7px;text-transform:none;}\n                    .fqret-expiry-popup .fqret-popup-message{max-width:320px;padding:0;margin:0 auto 27px;color:var(--popup-text_color);font:400 var(--popup-body_size)\/1.7 var(--popup-body-font);letter-spacing:0;}\n                    .fqret-expiry-popup .fqret-popup-confirm{display:block;box-sizing:border-box;width:100%;min-height:46px;padding:13px 20px;margin:0;border:1px solid var(--popup-button_color);border-radius:9px;background:var(--popup-button_color);color:var(--popup-button_text_color);font:600 14px\/1.4 var(--popup-body-font);letter-spacing:.3px;text-transform:none;cursor:pointer;box-shadow:0 4px 10px #713d2915;}\n                    .fqret-expiry-popup .fqret-popup-confirm:hover{background:var(--popup-button_hover_color);border-color:var(--popup-button_hover_color);}\n                    .fqret-expiry-popup button:focus-visible{outline:2px solid var(--popup-heading_color);outline-offset:4px;}\n                    .fqret-expiry-popup .fqret-popup-footer{padding:0;margin:19px 0 0;color:var(--popup-footer_color);font:italic 13px\/1.5 var(--popup-body-font);}\n                    @media(max-width:380px){dialog.fqret-expiry-popup{padding:38px 22px 25px;}.fqret-expiry-popup .fqret-popup-title{font-size:min(var(--popup-heading_size),32px);}}\n\n                    .fqret-expiry-popup .fqret-popup-logo{display:block;width:var(--popup-logo_width);max-width:100%;height:auto;max-height:110px;object-fit:contain;margin:0 auto 25px;}\n                    .fqret-expiry-popup .fqret-popup-message,.fqret-expiry-popup .fqret-popup-footer{white-space:pre-line;}\n                    `;\n                    document.head.appendChild(style);\n                }\n                dialog.className='fqret-expiry-popup';\n                for(const key of ['heading_color','text_color','footer_color','background','background_top','border_color','button_color','button_text_color','button_hover_color'])dialog.style.setProperty('--popup-'+key,popupConfig[key]);\n                for(const key of ['heading_size','body_size','logo_width'])dialog.style.setProperty('--popup-'+key,popupConfig[key]+'px');\n                dialog.style.setProperty('--popup-heading-font',popupFonts[popupConfig.heading_font]);\n                dialog.style.setProperty('--popup-body-font',popupFonts[popupConfig.body_font]);\n                dialog.setAttribute('aria-label',title);\n                const dismiss=document.createElement('button');dismiss.type='button';dismiss.className='fqret-popup-dismiss';dismiss.textContent='\u00d7';dismiss.setAttribute('aria-label','Close message');\n                const heading=document.createElement('h2');heading.className='fqret-popup-title';heading.textContent=title;\n                const body=document.createElement('p');body.className='fqret-popup-message';body.textContent=message;\n                const close=document.createElement('button');close.type='button';close.className='fqret-popup-confirm';close.textContent=popupConfig.button;\n                const footer=document.createElement('p');footer.className='fqret-popup-footer';footer.textContent=popupConfig.footer;\n                close.addEventListener('click',()=>dialog.close());\n                dismiss.addEventListener('click',()=>dialog.close());\n                dialog.append(dismiss);\n                if(popupConfig.logo){\n                    const logo=document.createElement('img');logo.className='fqret-popup-logo';logo.alt='Wedding Asia';logo.src=popupConfig.logo;\n                    logo.addEventListener('error',()=>logo.remove());dialog.append(logo);\n                }\n                dialog.append(heading,body,close);if(popupConfig.footer)dialog.append(footer);document.body.appendChild(dialog);\n                dialog.addEventListener('close',()=>{dialog.remove();form.querySelector('[type=\"submit\"]').focus();});\n                dialog.showModal();close.focus();\n            }\n            form.addEventListener('submit',function(event){\n                \/\/ Only expired events are intercepted. Active events retain the original POST flow.\n                if(closedAtRender || (deadline!==false && Date.now()>=deadline*1000)){\n                    event.preventDefault();\n                    popup(popupConfig.title,popupConfig.message);\n                }\n            });\n        })();\n        <\/script>\n        \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-46","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/form.weddingasiaofficial.com\/index.php?rest_route=\/wp\/v2\/pages\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/form.weddingasiaofficial.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/form.weddingasiaofficial.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/form.weddingasiaofficial.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/form.weddingasiaofficial.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=46"}],"version-history":[{"count":1,"href":"https:\/\/form.weddingasiaofficial.com\/index.php?rest_route=\/wp\/v2\/pages\/46\/revisions"}],"predecessor-version":[{"id":47,"href":"https:\/\/form.weddingasiaofficial.com\/index.php?rest_route=\/wp\/v2\/pages\/46\/revisions\/47"}],"wp:attachment":[{"href":"https:\/\/form.weddingasiaofficial.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}