{"id":27,"date":"2023-07-19T15:10:31","date_gmt":"2023-07-19T15:10:31","guid":{"rendered":"https:\/\/www.tl233.webhosting.canterbury.ac.uk\/?page_id=27"},"modified":"2023-07-19T15:10:31","modified_gmt":"2023-07-19T15:10:31","slug":"my-ecommerce-campaign-sign-up","status":"publish","type":"page","link":"https:\/\/www.tl233.webhosting.canterbury.ac.uk\/?page_id=27","title":{"rendered":"My Ecommerce Campaign Sign up"},"content":{"rendered":"\n<html lang='en_us'><head><meta http-equiv=\"Content-Type\" content=\"text\/html; charset=UTF-8\"><\/head><body><style type=\"text\/css\"><!--\nform#WebToLeadForm, form#WebToLeadForm * {margin: 0; padding: 0; border: none; color: #333; font-size: 12px; line-height: 1.6em; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;}\nform#WebToLeadForm {float: left; border: 1px solid #ccc; margin: 10px;}\nform#WebToLeadForm h1 {font-size: 32px; font-weight: bold; background-color: rgb(60, 141, 188); color: rgb(247, 247, 247); padding: 10px 20px;}\nform#WebToLeadForm h2 {font-size: 24px; font-weight: bold; background-color: rgb(60, 141, 188); color: rgb(247, 247, 247); padding: 10px 20px;}\nform#WebToLeadForm h3 {font-size: 12px; font-weight: bold; padding: 10px 20px;}\nform#WebToLeadForm h4 {font-size: 10px; font-weight: bold; padding: 10px 20px;}\nform#WebToLeadForm h5 {font-size: 8px; font-weight: bold; padding: 10px 20px;}\nform#WebToLeadForm h6 {font-size: 6px; font-weight: bold; padding: 10px 20px;}\nform#WebToLeadForm p {padding: 10px 20px;}\nform#WebToLeadForm input,\nform#WebToLeadForm select,\nform#WebToLeadForm textarea {border: 1px solid #ccc; display: block; float: left; min-width: 170px; padding: 5px;}\nform#WebToLeadForm select {background-color: white;}\nform#WebToLeadForm input[type=\"button\"],\nform#WebToLeadForm input[type=\"submit\"] {display: inline; float: none; padding: 5px 10px; width: auto; min-width: auto;}\nform#WebToLeadForm input[type=\"checkbox\"],\nform#WebToLeadForm input[type=\"radio\"] {width: 18px; min-width: auto;}\nform#WebToLeadForm div.col {display: block; float: left; width: 330px; padding: 10px 20px;}\nform#WebToLeadForm div.clear {display: block; float: none; clear: both; height: 0px; overflow: hidden;}\nform#WebToLeadForm div.center {text-align: center;}\nform#WebToLeadForm div.buttons {padding: 10px 0; border-top: 1px solid #ccc; background-color: #f7f7f7}\nform#WebToLeadForm label {display: block; float: left; width: 160px; font-weight: bold;}\nform#WebToLeadForm span.required {color: #FF0000;}\n--><\/style>\n<!-- TODO ???\n\n--><form id=\"WebToLeadForm\" action=\"https:\/\/www.tl233.webhosting.canterbury.ac.uk\/crm\/index.php?entryPoint=WebToPersonCapture\" method=\"POST\" name=\"WebToLeadForm\">\n<h2>Web form to create Leads<\/h2>\n<p>Submitting this form will create Leads<\/p>\n<div class=\"row\">\n<div class=\"col\"><label>Last Name: <span class=\"required\">*<\/span><\/label><input name=\"last_name\" id=\"last_name\" type=\"text\" required=\"\" \/><\/div>\n<div class=\"col\"> <\/div>\n<div class=\"clear\"> <\/div>\n<\/div>\n<div class=\"row\">\n<div class=\"col\"><label>Email Address: <\/label><input name=\"email1\" id=\"email1\" type=\"email\" \/><\/div>\n<div class=\"col\"> <\/div>\n<div class=\"clear\"> <\/div>\n<\/div>\n<div class=\"row\">\n<div class=\"col\"><label>Primary Address Country: <\/label><input name=\"primary_address_country\" id=\"primary_address_country\" type=\"text\" \/><\/div>\n<div class=\"col\"> <\/div>\n<div class=\"clear\"> <\/div>\n<\/div>\n<div class=\"row\">\n<div class=\"col\"><label>Mobile: <\/label><input name=\"phone_mobile\" id=\"phone_mobile\" type=\"text\" \/><\/div>\n<div class=\"col\"> <\/div>\n<div class=\"clear\"> <\/div>\n<\/div>\n<div class=\"row\">\n<div class=\"col\"><label>Job Title: <\/label><input name=\"title\" id=\"title\" type=\"text\" \/><\/div>\n<div class=\"col\"> <\/div>\n<div class=\"clear\"> <\/div>\n<\/div>\n<div class=\"row center buttons\"><input class=\"button\" name=\"Submit\" type=\"submit\" value=\"Submit\"  \/>\n<div class=\"clear\"> <\/div>\n<\/div>\n<input name=\"campaign_id\" id=\"campaign_id\" type=\"hidden\" value=\"bf3d3999-07ef-d4b6-68c1-64b7fb9af281\" \/> <input name=\"assigned_user_id\" id=\"assigned_user_id\" type=\"hidden\" value=\"1\" \/> <input name=\"moduleDir\" id=\"moduleDir\" type=\"hidden\" value=\"Leads\" \/><\/form>\n<p>\n\/\/ <![CDATA[\n    function submit_form() {\n        if (typeof(validateCaptchaAndSubmit) != 'undefined') {\n            validateCaptchaAndSubmit();\n        } else {\n            check_webtolead_fields();\n            \/\/document.WebToLeadForm.submit();\n        }\n    }\n\n    function check_webtolead_fields() {\n        if (document.getElementById('bool_id') != null) {\n            var reqs = document.getElementById('bool_id').value;\n            bools = reqs.substring(0, reqs.lastIndexOf(';'));\n            var bool_fields = new Array();\n            var bool_fields = bools.split(';');\n            nbr_fields = bool_fields.length;\n            for (var i = 0; i < nbr_fields; i++) {\n                if (document.getElementById(bool_fields[i]).value == 'on') {\n                    document.getElementById(bool_fields[i]).value = 1;\n                } else {\n                    document.getElementById(bool_fields[i]).value = 0;\n                }\n            }\n        }\n    }\n\/\/ ]]>\n<\/p><\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>Web form to create Leads Submitting this form will create Leads Last Name: * Email Address: Primary Address Country: Mobile: Job Title: \/\/<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-27","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.tl233.webhosting.canterbury.ac.uk\/index.php?rest_route=\/wp\/v2\/pages\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tl233.webhosting.canterbury.ac.uk\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.tl233.webhosting.canterbury.ac.uk\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.tl233.webhosting.canterbury.ac.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tl233.webhosting.canterbury.ac.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=27"}],"version-history":[{"count":1,"href":"https:\/\/www.tl233.webhosting.canterbury.ac.uk\/index.php?rest_route=\/wp\/v2\/pages\/27\/revisions"}],"predecessor-version":[{"id":28,"href":"https:\/\/www.tl233.webhosting.canterbury.ac.uk\/index.php?rest_route=\/wp\/v2\/pages\/27\/revisions\/28"}],"wp:attachment":[{"href":"https:\/\/www.tl233.webhosting.canterbury.ac.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}