{"id":3488,"date":"2021-08-18T18:08:12","date_gmt":"2021-08-18T17:08:12","guid":{"rendered":"https:\/\/brandabilitytm.com\/?page_id=3488"},"modified":"2021-10-26T23:20:35","modified_gmt":"2021-10-26T22:20:35","slug":"b3jkzxitzm9ybq","status":"publish","type":"page","link":"https:\/\/brandabilitytm.com\/index.php\/b3jkzxitzm9ybq\/","title":{"rendered":"OrderForm"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3488\" class=\"elementor elementor-3488\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-505e14f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"505e14f\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d630fe8\" data-id=\"d630fe8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0887f8c elementor-widget elementor-widget-heading\" data-id=\"0887f8c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Onboarding Form<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5cef53b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5cef53b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7384410\" data-id=\"7384410\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-f3a7d7b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f3a7d7b\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-b86d49c\" data-id=\"b86d49c\" data-element_type=\"column\" data-e-type=\"column\" id=\"alertSuccess\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-3a472bc elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3a472bc\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-95efab1\" data-id=\"95efab1\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-daae23c elementor-alert-danger elementor-invisible elementor-widget elementor-widget-alert\" data-id=\"daae23c\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"alertOops\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInDown&quot;}\" data-widget_type=\"alert.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-alert\" role=\"alert\">\n\n\t\t\t\t\t\t<span class=\"elementor-alert-title\">Oops! There seems to be a problem<\/span>\n\t\t\t\n\t\t\t\t\t\t<span class=\"elementor-alert-description\">Please contact us with details of your order and one of the team will be happy to assist you.<\/span>\n\t\t\t\n\t\t\t\t\t\t<button type=\"button\" class=\"elementor-alert-dismiss\" aria-label=\"Dismiss this alert.\">\n\t\t\t\t\t\t\t\t\t<span aria-hidden=\"true\">&times;<\/span>\n\t\t\t\t\t\t\t<\/button>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d1a1baf elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d1a1baf\" data-element_type=\"section\" data-e-type=\"section\" id=\"pageFormContent\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ddb4e13\" data-id=\"ddb4e13\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-5882b0e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5882b0e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-015f2e1\" data-id=\"015f2e1\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-aa4774d elementor-widget elementor-widget-heading\" data-id=\"aa4774d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Brandability - Application details form<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0d3117d elementor-widget elementor-widget-html\" data-id=\"0d3117d\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"form\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\n\n<iframe \n  id='jqFormFrame'\n  src='https:\/\/brandabilitytm.com\/wp-content\/plugins\/jqueryform-5cfcef\/form.html' \n  style='min-width:280px;width:100%;height:2000px;border:none;'\n  frameborder='none' \n  allowTransparency='true'>\n<\/iframe>\n\n<!-- Form Admin URL : https:\/\/brandabilitytm.com\/wp-content\/plugins\/jqueryform-5cfcef\/admin.php -->\n\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6aed555 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6aed555\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7cb9b4c\" data-id=\"7cb9b4c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7d69858 elementor-widget elementor-widget-html\" data-id=\"7d69858\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script src=\"https:\/\/brandabilitytm.com\/IPS\/urlpasser.js\"><\/script>\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/@ideal-postcodes\/address-finder-bundled\/dist\/address-finder.js\"><\/script>\n<script type=\"text\/javascript\">\n$('#jqFormFrame').on('load', function() {\nIdealPostcodes.AddressFinder.setup({    \napiKey: \"ak_kv6jbf53eKo7ksH5Psn0j7tDzWS6n\",\ninputField: document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f4_addressLine1\"),\noutputFields: {\nline_1: document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f4_addressLine1\"),\nline_2: document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f4_addressLine2\"),\nline_3: document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f4_addressLine3\"),\npost_town: document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f4_city\"),\npostcode: document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f4_postalCode\"),\n},\n});\nIdealPostcodes.AddressFinder.setup({    \napiKey: \"ak_kv6jbf53eKo7ksH5Psn0j7tDzWS6n\",\ninputField: document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f11_addressLine1\"),\noutputFields: {\nline_1: document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f11_addressLine1\"),\nline_2: document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f11_addressLine2\"),\nline_3: document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f11_addressLine3\"),\npost_town: document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f11_city\"),\npostcode: document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f11_postalCode\"),\n},\n});\n});\n<\/script>\n<script type=\"text\/javascript\">\n   \/** Show correct alert **\/\n   if (getQueryVariable(\"examid\") == null || getQueryVariable(\"examid\") == \"\"){\n       (pageFormContent).style.display=\"none\";\n   }\n   else {\n       (alertOops).style.display=\"none\";\n   }\n\/** URL Pass through into Wordmark Input **\/\n$('#jqFormFrame').on('load', function() {\n   document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f13\").value = getQueryVariable(\"wordmark\");\n   document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f20\").value = getQueryVariable(\"classes\");\n   document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f2\").value = getQueryVariable(\"email\");\n   document.getElementById(\"jqFormFrame\").contentWindow.document.getElementById(\"f24\").value = getQueryVariable(\"examid\");\n});\n\/** END **\/\n\n\n\/** Code to change Job Status (TBD)**\/\nvar _baseApiUrl = \"https:\/\/trademarktruffle.com\/ips2\/api\";\n\tvar _baseExamApiUrl = _baseApiUrl + \"\/Examination\";\n\tvar _examinationId;\n\tvar _trademark = getQueryVariable(\"wordmark\");\n\tvar _examinationId = getQueryVariable(\"examid\");\n\n\tfunction UpdateStatus(newStatus) {\n\t\tvar url = _baseExamApiUrl + '\/UpdateStatus\/' + _examinationId;\n\n\t\tvar request = {\n\t\t\tNewStatus: newStatus\n\t\t}\n\n\t\t$.ajax({\n\t\t\ttype: \"POST\",\n\t\t\turl: url,\n\t\t\tdata: JSON.stringify(request),\n\t\t\tcontentType: 'application\/json; charset=utf-8',\n\t\t\tdataType: 'json',\n\t\t\tsuccess: function (response) {\n\t\t\t\t\/\/ TODO\n\t\t\t\tif (response.ErrorMessage.length > 0) {\n\t\t\t\t\talert(response.ErrorMessage);\n\t\t\t\t}\n\t\t\t},\n\t\t\terror: function (jqXHR, textStatus, errorThrown) {\n\t\t\t\tmsg = AjaxErrorToString(textStatus, errorThrown);\n\t\t\t\t\/\/ TODO\n\t\t\t\talert(msg);\n\t\t\t}\n\t\t});\n\t}\n\t\ndocument.getElementById(\"jqFormFrame\").contentWindow.document.getElementById('submitForm').click(function() {\n\t\tUpdateStatus('Custom1');\n\t});\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Onboarding Form Oops! There seems to be a problem Please contact us with details of your order and one of the team will be happy to assist you. &times; Dismiss alert Brandability &#8211; Application details form<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"disabled","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-3488","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/brandabilitytm.com\/index.php\/wp-json\/wp\/v2\/pages\/3488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brandabilitytm.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/brandabilitytm.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/brandabilitytm.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/brandabilitytm.com\/index.php\/wp-json\/wp\/v2\/comments?post=3488"}],"version-history":[{"count":409,"href":"https:\/\/brandabilitytm.com\/index.php\/wp-json\/wp\/v2\/pages\/3488\/revisions"}],"predecessor-version":[{"id":4790,"href":"https:\/\/brandabilitytm.com\/index.php\/wp-json\/wp\/v2\/pages\/3488\/revisions\/4790"}],"wp:attachment":[{"href":"https:\/\/brandabilitytm.com\/index.php\/wp-json\/wp\/v2\/media?parent=3488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}