{"id":2172,"date":"2025-10-08T04:41:50","date_gmt":"2025-10-08T04:41:50","guid":{"rendered":"https:\/\/iadv.shop\/?page_id=2172"},"modified":"2025-10-08T04:41:50","modified_gmt":"2025-10-08T04:41:50","slug":"testing-n-form","status":"publish","type":"page","link":"https:\/\/iadv.shop\/index.php\/testing-n-form\/","title":{"rendered":"testing  N form"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>&lt;style>\n    .entry-title, .is-content-justification-space-between {\n        display: none !important;\n    }\n\n    @media only screen and (max-width: 900px) {\n        .help-image {\n            margin-top: 10%;\n            position: relative !important;\n            top: auto !important;\n            left: auto !important;\n            width: 90% !important;\n            display: block;\n            margin: 0 auto;\n        }\n\n        #ipad-panel {\n            background-color: #f9f9f9e0 !important;\n            padding: 20px;\n            border-radius: 10px;\n            width: 95%;\n            margin: 10px auto;\n            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n            transition: all 0.3s ease-in-out;\n        }\n    }\n\n    #ipad-panel {\n        background-color: #f9f9f9e0 !important;\n        padding: 20px;\n        border-radius: 10px;\n        width: 85%;\n        max-width: 900px;\n        margin: 20px auto;\n        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);\n        transition: all 0.3s ease-in-out;\n    }\n\n    #img {\n        height: auto;\n        width: 100%;\n        margin-top: 20px;\n        margin-bottom: 2em;\n    }\n\n    .page-id-309 {\n        background-color: #c5cdcde0 !important;\n        color: #55657d;\n        font-size: 16px;\n        font-weight: 400;\n        font-family: Inter, system-ui, sans-serif;\n        line-height: 1.5;\n        -webkit-font-smoothing: antialiased;\n        text-size-adjust: 100%;\n        text-rendering: optimizeLegibility;\n    }\n\n    .logo-container {\n        display: flex;\n        justify-content: flex-end;\n        width: 100%;\n        padding: 5px;\n        border-radius: 8px;\n    }\n    \n    .logo-container img {\n        width: 180px; \n        height: auto;\n        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7); \n        border-radius: 5px; \n        background-color: #767171; \n        padding: 5px; \n    }\n    \n    body {\n        background-color: #76c1de !important;\n    }\n\n    .is-layout-flow {\n        margin-top: 0.5% !important; \n        margin-left: 10%;\n    }\n\n    #multi-step-form .fw-step-block {\n        margin-bottom: 5px !important;\n    }\n\n    #ipad-panel h1 {\n        font-weight: bold !important; \n        font-size: 22px; \n    }\n\n    input&#91;type=\"text\"], \n    input&#91;type=\"number\"], \n    input&#91;type=\"email\"], \n    textarea {\n        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4); \n        border: 1px solid #ccc; \n        padding: 10px;\n        border-radius: 5px; \n        width: 100%;\n    }\n\n    .fa {\n        display: none !important;\n    }\n&lt;\/style>\n\n&lt;script src=\"https:\/\/code.jquery.com\/jquery-3.6.0.min.js\">&lt;\/script>\n&lt;script>\njQuery(document).ready(function($) {\n\n    \/\/ Function to wrap every &lt;span class=\"msf-h3\"> in &lt;p>&lt;\/p>\n    function wrapSpans() {\n        $('span.msf-h3').each(function() {\n            if (!$(this).parent().is('p')) {\n                $(this).wrap('&lt;p>&lt;\/p>');\n            }\n        });\n    }\n\n    \/\/ Run initially in case elements are already present\n    wrapSpans();\n\n    \/\/ Set up a MutationObserver on the whole document body to catch dynamic changes.\n    var observer = new MutationObserver(function(mutations) {\n        wrapSpans();\n    });\n    observer.observe(document.body, { childList: true, subtree: true });\n\n    \/\/ Your existing AJAX code (if applicable)\n    $('.fw-button-next').click(function() {\n        var name = $('#msf-text-capital-structure').val();\n        $.ajax({\n            type: 'POST',\n            url: 'https:\/\/iadv.shop\/forms\/process.php',\n            data: { name: name },\n            success: function(response) {\n                console.log(response);\n            },\n            error: function(xhr, status, error) {\n                console.log(error);\n            }\n        });\n    });\n});\n&lt;\/script>\n\n&lt;div id=\"ipad-panel\"> \n    &lt;div class=\"logo-container\">\n        &lt;img src=\"https:\/\/indiaadvocacy.in\/wp-content\/uploads\/2024\/02\/logo.png\" alt=\"Company Logo\">\n    &lt;\/div>\n    &#91;multi-step-form id=\"197\"]\n&lt;\/div><\/code><\/pre>\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-2172","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/iadv.shop\/index.php\/wp-json\/wp\/v2\/pages\/2172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iadv.shop\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/iadv.shop\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/iadv.shop\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iadv.shop\/index.php\/wp-json\/wp\/v2\/comments?post=2172"}],"version-history":[{"count":1,"href":"https:\/\/iadv.shop\/index.php\/wp-json\/wp\/v2\/pages\/2172\/revisions"}],"predecessor-version":[{"id":2173,"href":"https:\/\/iadv.shop\/index.php\/wp-json\/wp\/v2\/pages\/2172\/revisions\/2173"}],"wp:attachment":[{"href":"https:\/\/iadv.shop\/index.php\/wp-json\/wp\/v2\/media?parent=2172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}