{"id":7380,"date":"2023-03-13T17:20:29","date_gmt":"2023-03-13T17:20:29","guid":{"rendered":"https:\/\/marketing-automation.ca\/?page_id=7380"},"modified":"2023-03-14T15:31:01","modified_gmt":"2023-03-14T15:31:01","slug":"registration","status":"publish","type":"page","link":"https:\/\/marketing-automation.ca\/en-ca\/registration\/","title":{"rendered":"Registration"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"7380\" class=\"elementor elementor-7380 elementor-7359\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-871cd03 about-banner elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"871cd03\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;shape_divider_bottom&quot;:&quot;tilt&quot;}\">\n\t\t\t\t\t<div class=\"elementor-shape elementor-shape-bottom\" aria-hidden=\"true\" data-negative=\"false\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 1000 100\" preserveAspectRatio=\"none\">\n\t<path class=\"elementor-shape-fill\" d=\"M0,6V0h1000v100L0,6z\"\/>\n<\/svg>\t\t<\/div>\n\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-50 elementor-top-column elementor-element elementor-element-61ba3c9d\" data-id=\"61ba3c9d\" 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-3a73192d elementor-widget__width-auto about-us-title elementor-widget-mobile__width-inherit elementor-widget elementor-widget-heading\" data-id=\"3a73192d\" 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\">Registration<\/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<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-6a79188\" data-id=\"6a79188\" 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-1be76c1b elementor-widget elementor-widget-image\" data-id=\"1be76c1b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/marketing-automation.ca\/wp-content\/uploads\/2022\/09\/about-header.svg\" class=\"attachment-full size-full wp-image-3878\" alt=\"\" \/>\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<\/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-1abef56 woo-form elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1abef56\" data-element_type=\"section\" data-e-type=\"section\" 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-33867de\" data-id=\"33867de\" 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-9b6cc2e registration-form elementor-widget elementor-widget-shortcode\" data-id=\"9b6cc2e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><div class=\"woocommerce-notices-wrapper\"><\/div>    <div class=\"stepPart\">\n            <ul>\n                <li class=\"activeStep\">\n                    <span>1<\/span>\n                    Login Details\n                <\/li>\n                <li><span>2<\/span>\n                                        Company Details\n                <\/li>\n            <\/ul>\n    <\/div>\n      <form method=\"post\" class=\"woocommerce-form woocommerce-form-register register\"  >\n                          <div class=\"registration-form-step1-wrap\">\n          <div class=\"form-main-row\">\n            <div class=\"form-row-first col-sm-6 form-row\">\n               <label for=\"reg_billing_first_name\">First name<span class=\"required\">*<\/span><\/label>\n               <input type=\"text\" class=\"input-text\" name=\"billing_first_name\" id=\"reg_billing_first_name\" value=\"\" \/>\n                <span class=\"error-message\" style=\"display:none;\">Please enter firstname.<\/span>\n            <\/div>\n            <div class=\"form-row-last col-sm-6 form-row\">\n               <label for=\"reg_billing_last_name\">Last name<span class=\"required\">*<\/span><\/label>\n               <input type=\"text\" class=\"input-text\" name=\"billing_last_name\" id=\"reg_billing_last_name\" value=\"\" \/>\n               <span class=\"error-message\" style=\"display:none;\">Please enter lastname.<\/span>\n            <\/div>\n          <\/div>\n          <div class=\"form-main-row\">\n            <div class=\"woocommerce-form-row woocommerce-form-row--wide form-row-wide col-sm-6 form-row\">\n                <label for=\"reg_email\">Email address <span class=\"required\">*<\/span><\/label>\n                <input type=\"email\" class=\"woocommerce-Input woocommerce-Input--text input-text\" name=\"email\" id=\"reg_email\" autocomplete=\"email\" value=\"\" \/>                <span class=\"error-message\" style=\"display:none;\">Please enter valid email address.<\/span>\n            <\/div>\n            <div class=\"form-row form-row-wide col-sm-6 form-row\">\n               <label for=\"reg_billing_phone\">Phone<span class=\"required\">*<\/span><\/label>\n               <input type=\"text\" class=\"input-text\" name=\"billing_phone\" id=\"reg_billing_phone\" value=\"\" \/>\n                <span class=\"error-message\" style=\"display:none;\">Please enter phone.<\/span>\n            <\/div>\n          <\/div>\n          <div class=\"form-main-row\">\n            <div class=\"woocommerce-form-row woocommerce-form-row--wide form-row-wide col-sm-12 form-row\">\n                   <label for=\"reg_password\">Password <span class=\"required\">*<\/span><\/label>\n                   <input type=\"password\" class=\"woocommerce-Input woocommerce-Input--text input-text\" name=\"password\" id=\"reg_password\" autocomplete=\"new-password\" \/>\n                   <div class=\"input-group\">\n                        <div class=\"progress\">\n                            <div class=\"progress-bar\" \n                                 role=\"progressbar\" \n                                 aria-valuenow=\"0\" \n                                 aria-valuemin=\"0\" \n                                 aria-valuemax=\"100\" \n                                 style=\"width:0%\">\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                   <span class=\"error-message\" style=\"display:none;\">Please enter password.<\/span>\n                   <span class=\"error-strong-password-message\" style=\"display:none;\">Your password must be at least 8 characters long, contain at least one number and have a mixture of special characters, uppercase and lowercase letters.<\/span>\n            <\/div>  \n          <\/div>\n          <div class=\"form-main-row\">\n            <div class=\"woocommerce-form-row woocommerce-form-row--wide form-row-wide col-sm-12 form-row\">\n                   <label for=\"reg_confirm_password\">Confirm Password <span class=\"required\">*<\/span><\/label>\n                   <input type=\"password\" class=\"woocommerce-Input woocommerce-Input--text input-text\" name=\"confirm_password\" id=\"reg_confirm_password\" autocomplete=\"new-password\" \/>\n                   <span class=\"error-message\" style=\"display:none;\">Please enter confirm password.<\/span>\n                   <span class=\"error-message-confirm-password\" style=\"display:none;\">Password and Confirm password not match.<\/span>\n            <\/div>  \n          <\/div>\n            <div class=\"form-main-row\">\n                <div class=\"col-sm-12 text-right margin-bottom-0\">\n                    <button type=\"button\" onclick=\"step2()\" class=\"form-next-btn woocommerce-Button woocommerce-button button woocommerce-form-register__submit form-prev-btn\" onclick=\"step1();\" style=\"float:right;\">Next<\/button>\n                <\/div>\n            <\/div>\n        <\/div>\n        \n        <div class=\"registration-form-step2-wrap\" style=\"display:none;\">\n          <div class=\"form-main-row\">\n            <div class=\"woocommerce-form-row woocommerce-form-row--wide form-row-wide col-sm-12 form-row\">\n                  <label for=\"company\">Company Name<\/label>\n                  <input type=\"text\" class=\"woocommerce-Input woocommerce-Input--text input-text\" name=\"company\" id=\"company\"\/>\n                  <span class=\"error-message\" style=\"display:none;\">Please enter company.<\/span>\n            <\/div>\n          <\/div>\n          <div class=\"form-main-row\">\n            <div class=\"woocommerce-form-row woocommerce-form-row--wide form-row-wide col-sm-6 form-row\">\n                  <label for=\"address\">Address Line 1<\/label>\n                  <input type=\"text\" class=\"woocommerce-Input woocommerce-Input--text input-text\" name=\"address\" id=\"address\" \/>\n                  <span class=\"error-message\" style=\"display:none;\">Please enter address.<\/span>\n            <\/div>\n            <div class=\"woocommerce-form-row woocommerce-form-row--wide form-row-wide col-sm-6 form-row\">\n                  <label for=\"address2\">Address Line 2<\/label>\n                  <input type=\"text\" class=\"woocommerce-Input woocommerce-Input--text input-text\" name=\"address2\" id=\"address2\" \/>\n            <\/div>\n          <\/div>\n          <div class=\"form-main-row\">\n            <div class=\"woocommerce-form-row woocommerce-form-row--wide form-row-wide col-sm-6 form-row\">\n                  <label for=\"city\">City<\/label>\n                  <input type=\"text\" class=\"woocommerce-Input woocommerce-Input--text input-text\" name=\"city\" id=\"city\" \/>\n                  <span class=\"error-message\" style=\"display:none;\">Please enter city.<\/span>\n            <\/div>\n            <div class=\"woocommerce-form-row woocommerce-form-row--wide form-row-wide col-sm-6 form-row\">\n                  <label for=\"state\">State \/ Province<\/label>\n                  <!--<input type=\"text\" class=\"woocommerce-Input woocommerce-Input--text input-text\" name=\"state\" id=\"state\" \/>-->\n                  <select class=\"woocommerce-Input woocommerce-Input--select input-select us-state\" id=\"state\" style=\"display:none;\">\n                        <option value=\"\">Select State<\/option>\n                        <option value=\"AL\">Alabama<\/option>\n                        <option value=\"AK\">Alaska<\/option>\n                        <option value=\"AZ\">Arizona<\/option>\n                        <option value=\"AR\">Arkansas<\/option>\n                        <option value=\"CA\">California<\/option>\n                        <option value=\"CO\">Colorado<\/option>\n                        <option value=\"CT\">Connecticut<\/option>\n                        <option value=\"DE\">Delaware<\/option>\n                        <option value=\"DC\">District Of Columbia<\/option>\n                        <option value=\"FL\">Florida<\/option>\n                        <option value=\"GA\">Georgia<\/option>\n                        <option value=\"HI\">Hawaii<\/option>\n                        <option value=\"ID\">Idaho<\/option>\n                        <option value=\"IL\">Illinois<\/option>\n                        <option value=\"IN\">Indiana<\/option>\n                        <option value=\"IA\">Iowa<\/option>\n                        <option value=\"KS\">Kansas<\/option>\n                        <option value=\"KY\">Kentucky<\/option>\n                        <option value=\"LA\">Louisiana<\/option>\n                        <option value=\"ME\">Maine<\/option>\n                        <option value=\"MD\">Maryland<\/option>\n                        <option value=\"MA\">Massachusetts<\/option>\n                        <option value=\"MI\">Michigan<\/option>\n                        <option value=\"MN\">Minnesota<\/option>\n                        <option value=\"MS\">Mississippi<\/option>\n                        <option value=\"MO\">Missouri<\/option>\n                        <option value=\"MT\">Montana<\/option>\n                        <option value=\"NE\">Nebraska<\/option>\n                        <option value=\"NV\">Nevada<\/option>\n                        <option value=\"NH\">New Hampshire<\/option>\n                        <option value=\"NJ\">New Jersey<\/option>\n                        <option value=\"NM\">New Mexico<\/option>\n                        <option value=\"NY\">New York<\/option>\n                        <option value=\"NC\">North Carolina<\/option>\n                        <option value=\"ND\">North Dakota<\/option>\n                        <option value=\"OH\">Ohio<\/option>\n                        <option value=\"OK\">Oklahoma<\/option>\n                        <option value=\"OR\">Oregon<\/option>\n                        <option value=\"PA\">Pennsylvania<\/option>\n                        <option value=\"RI\">Rhode Island<\/option>\n                        <option value=\"SC\">South Carolina<\/option>\n                        <option value=\"SD\">South Dakota<\/option>\n                        <option value=\"TN\">Tennessee<\/option>\n                        <option value=\"TX\">Texas<\/option>\n                        <option value=\"UT\">Utah<\/option>\n                        <option value=\"VT\">Vermont<\/option>\n                        <option value=\"VA\">Virginia<\/option>\n                        <option value=\"WA\">Washington<\/option>\n                        <option value=\"WV\">West Virginia<\/option>\n                        <option value=\"WI\">Wisconsin<\/option>\n                        <option value=\"WY\">Wyoming<\/option>\n                  <\/select>\n                  <select class=\"woocommerce-Input woocommerce-Input--select input-select ca-state\" name=\"state\" id=\"state\">\n                        <option value=\"\">Select Province<\/option>\n                        <option value=\"AB\">Alberta<\/option>\n                        <option value=\"BC\">British Columbia<\/option>\n                        <option value=\"MB\">Manitoba<\/option>\n                        <option value=\"NB\">New Brunswick<\/option>\n                        <option value=\"NL\">Newfoundland and Labrador<\/option>\n                        <option value=\"NT\">Northwest Territories<\/option>\n                        <option value=\"NS\">Nova Scotia<\/option>\n                        <option value=\"NU\">Nunavut<\/option>\n                        <option value=\"ON\">Ontario<\/option>\n                        <option value=\"PE\">Prince Edward Island<\/option>\n                        <option value=\"QC\">Quebec<\/option>\n                        <option value=\"SK\">Saskatchewan<\/option>\n                        <option value=\"YT\">Yukon<\/option>\n                  <\/select>\n                  <span class=\"error-message\" style=\"display:none;\">Please select state\/province.<\/span>\n            <\/div>\n          <\/div>\n          <div class=\"form-main-row\">\n            <div class=\"woocommerce-form-row woocommerce-form-row--wide form-row-wide col-sm-6 form-row\">\n                  <label for=\"postcode\">Postcode<\/label>\n                  <input type=\"text\" class=\"woocommerce-Input woocommerce-Input--text input-text\" name=\"postcode\" id=\"postcode\" \/>\n                  <span class=\"error-message\" style=\"display:none;\">Please enter postcode.<\/span>\n                  <span class=\"error-message-postcode\" style=\"display:none;\">Post code incorrect.<\/span>\n            <\/div>\n            <div class=\"woocommerce-form-row woocommerce-form-row--wide form-row-wide col-sm-6 form-row\">\n                  <label for=\"country\">Country<\/label>\n                  <select class=\"woocommerce-Input woocommerce-Input--select input-select coutry-select-fld\" name=\"country\" id=\"country\" \/>\n                         <!--<option value=\"\" selected=\"selected\">Select a country<\/option>-->\n                         <option value=\"CA\" selected>Canada<\/option>\n                         <option value=\"US\">US<\/option>\n                  <\/select>\n                  <span class=\"error-message\" style=\"display:none;\">Please select country.<\/span>\n            <\/div>\n            <div class=\"currency-block\"> \n                    <label for=\"reg_currency\">Currency<\/label>\n                    <select class=\"woocommerce-Input woocommerce-Input--select input-select currency-select-fld\" name=\"currency\" id=\"reg_currency\"\/>\n                         <option value=\"\" selected=\"selected\">Select a currency<\/option>\n                         <option value=\"CAD\" selected>CAD<\/option>\n                         <option value=\"USD\">USD<\/option>\n                    <\/select>\n                    <span class=\"error-message\" style=\"display:none;\">Please select currency.<\/span>\n              <\/div>\n          <\/div>\n                        <div class=\"woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide btn-wrapper col-sm-12\">\n                <div class=\"form-submit-btn align-between\">\n                            <button type=\"button\" class=\"woocommerce-Button woocommerce-button button woocommerce-form-register__submit form-prev-btn\" onclick=\"step1();\">Previous<\/button>\n                      <input type=\"hidden\" id=\"woocommerce-register-nonce\" name=\"woocommerce-register-nonce\" value=\"4ba69d9bce\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/en-ca\/wp-json\/wp\/v2\/pages\/7380\" \/>                    <button type=\"submit\" class=\"final-submit\" name=\"register\" value=\"Register\" style=\"display:none;\">\n                    <button type=\"submit\" onclick=\"stepsubmit();return false;\" class=\"woocommerce-Button woocommerce-button button woocommerce-form-register__submit\" name=\"register\" value=\"Register\">Register<\/button>\n                <\/div>\n            <\/div>\n                    <\/div>\n        <div class=\"user-bottom-part\">\n            <p>\n                Have an account? <a href=\"https:\/\/marketing-automation.ca\/en-ca\/login\">Log in<\/a>\n            <\/p>  \n        <\/div>\n      <\/form>\n      <script>\n      var percentage = 0;\n  \n        function check(n, m) {\n            if (n < 6) {\n                percentage = 0;\n                jQuery(\".progress-bar\").css(\"background\", \"#dd4b39\");\n            } else if (n < 8) {\n                percentage = 20;\n                jQuery(\".progress-bar\").css(\"background\", \"#9c27b0\");\n            } else if (n < 10) {\n                percentage = 40;\n                jQuery(\".progress-bar\").css(\"background\", \"#ff9800\");\n            } else {\n                percentage = 60;\n                jQuery(\".progress-bar\").css(\"background\", \"#4caf50\");\n            }\n  \n            \/\/ Check for the character-set constraints\n            \/\/ and update percentage variable as needed.\n            \n            \/\/Lowercase Words only\n            if ((m.match(\/[a-z]\/) != null)) \n            {\n                percentage += 10;\n            }\n            \n            \/\/Uppercase Words only\n            if ((m.match(\/[A-Z]\/) != null)) \n            {\n                percentage += 10;\n            }\n            \n            \/\/Digits only\n            if ((m.match(\/0|1|2|3|4|5|6|7|8|9\/) != null)) \n            {\n                percentage += 10;\n            }\n            \n            \/\/Special characters\n            if ((m.match(\/\\W\/) != null) && (m.match(\/\\D\/) != null))\n            {\n                percentage += 10;\n            }\n  \n            \/\/ Update the width of the progress bar\n            jQuery(\".progress-bar\").css(\"width\", percentage + \"%\");\n        }\n  \n        \/\/ Update progress bar as per the input\n        jQuery(document).ready(function() {\n            \/\/ Whenever the key is pressed, apply condition checks. \n            jQuery(\"#reg_password\").keyup(function() {\n                var m = jQuery(this).val();\n                var n = m.length;\n  \n                \/\/ Function for checking\n                check(n, m);\n            });\n            if(jQuery(\".coutry-select-fld\").val() == \"CA\"){\n                jQuery(\".currency-select-fld\").val(\"CAD\").change();\n                jQuery('.ca-state').show().attr('name','state');\n                jQuery('.ca-state').attr(\"id\", \"state\");\n                jQuery(\".us-state\").attr(\"id\", \"state-us\");\n            }   \n            jQuery(\".coutry-select-fld\").change(function() {\n                if(jQuery(this).val() == \"CA\"){\n                    jQuery(\".currency-select-fld\").val(\"CAD\").change();\n                    jQuery('.ca-state').show().attr('name','state');\n                    jQuery('.ca-state').attr(\"id\", \"state\");\n                    jQuery(\".us-state\").attr(\"id\", \"state-us\");\n                    jQuery('.us-state').hide().removeAttr('name','state');\n                }else{\n                    jQuery(\".currency-select-fld\").val(\"USD\").change();\n                    jQuery('.us-state').show().attr('name','state');\n                    jQuery('.us-state').attr(\"id\", \"state\");\n                    jQuery(\".ca-state\").attr(\"id\", \"state-ca\");\n                    jQuery('.ca-state').hide().removeAttr('name','state');\n                }\n            });\n            \n        });\n      \n          function step2(){\n              var pass = 1;\n              if(jQuery('#reg_billing_first_name').val() == \"\"){\n                jQuery('#reg_billing_first_name').parent('.form-row').find('.error-message').show();\n                var pass = 0;\n              }else{\n                jQuery('#reg_billing_first_name').parent('.form-row').find('.error-message').hide();\n              }\n              if(jQuery('#reg_billing_last_name').val() == \"\"){\n                jQuery('#reg_billing_last_name').parent('.form-row').find('.error-message').show();\n                var pass = 0;\n              }else{\n                jQuery('#reg_billing_last_name').parent('.form-row').find('.error-message').hide();\n              }\n              var regex = \/^([a-zA-Z0-9_.+-])+\\@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+$\/;    \n              if(jQuery('#reg_email').val() == \"\" || !regex.test(jQuery('#reg_email').val())){\n                jQuery('#reg_email').parent('.form-row').find('.error-message').show();\n                var pass = 0;\n              }else{\n                jQuery('#reg_email').parent('.form-row').find('.error-message').hide();\n              }\n              \/\/var phoneno = \/^\\(?([0-9]{3})\\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$\/;\n              \/\/|| !jQuery('#reg_billing_phone').val().match(phoneno)\n              if(jQuery('#reg_billing_phone').val() == \"\"){\n                jQuery('#reg_billing_phone').parent('.form-row').find('.error-message').show();\n                var pass = 0;\n              }else{\n                jQuery('#reg_billing_phone').parent('.form-row').find('.error-message').hide();\n              }\n              if(jQuery('#reg_password').val() == \"\"){\n                jQuery('#reg_password').parent('.form-row').find('.error-message').show();\n                var pass = 0;\n              }else{\n                jQuery('#reg_password').parent('.form-row').find('.error-message').hide();\n                let strongPassword = new RegExp('(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])(?=.{8,})')\n                if(!strongPassword.test(jQuery('#reg_password').val())) {\n                    jQuery('#reg_password').parent('.form-row').find('.error-strong-password-message').show();\n                    var pass = 0;\n                }else{\n                    jQuery('#reg_password').parent('.form-row').find('.error-strong-password-message').hide();\n                }\n              }\n              if(jQuery('#reg_confirm_password').val() == \"\"){\n                jQuery('#reg_confirm_password').parent('.form-row').find('.error-message').show();\n                var pass = 0;\n              }else{\n                jQuery('#reg_confirm_password').parent('.form-row').find('.error-message').hide();\n                if(jQuery('#reg_confirm_password').val() != jQuery('#reg_password').val()){\n                    jQuery('#reg_confirm_password').parent('.form-row').find('.error-message-confirm-password').show();\n                    var pass = 0;\n                }else{\n                    jQuery('#reg_confirm_password').parent('.form-row').find('.error-message-confirm-password').hide();\n                }\n              }\n              \n              \n              if(pass == 0){\n                  return false;\n              }\n              \n              jQuery('.registration-form-step1-wrap').hide();\n              jQuery('.registration-form-step2-wrap').show();\n              jQuery('.elementor-shortcode .stepPart ul li').addClass(\"show\");\n              jQuery( '.form-prev-btn').click(function() {\n                  jQuery( '.elementor-shortcode .stepPart ul li' ).toggleClass('show');\n              });\n          }\n          function step1(){\n              jQuery('.registration-form-step1-wrap').show();\n              jQuery('.registration-form-step2-wrap').hide();\n          }\n          function stepsubmit(){\n              var pass = 1;\n              if(jQuery('#company').val() == \"\"){\n                jQuery('#company').parent('.form-row').find('.error-message').show();\n                var pass = 0;\n              }else{\n                jQuery('#company').parent('.form-row').find('.error-message').hide();\n              }\n              if(jQuery('#reg_currency').val() == \"\"){\n                jQuery('#reg_currency').parent('.form-row').find('.error-message').show();\n                var pass = 0;\n              }else{\n                jQuery('#reg_currency').parent('.form-row').find('.error-message').hide();\n              }\n              if(jQuery('#address').val() == \"\"){\n                jQuery('#address').parent('.form-row').find('.error-message').show();\n                var pass = 0;\n              }else{\n                jQuery('#address').parent('.form-row').find('.error-message').hide();\n              }\n              if(jQuery('#city').val() == \"\"){\n                jQuery('#city').parent('.form-row').find('.error-message').show();\n                var pass = 0;\n              }else{\n                jQuery('#city').parent('.form-row').find('.error-message').hide();\n              }\n              if(jQuery('#state').val() == \"\"){\n                jQuery('#state').parent('.form-row').find('.error-message').show();\n                var pass = 0;\n              }else{\n                jQuery('#state').parent('.form-row').find('.error-message').hide();\n              }\n              if(jQuery('#postcode').val() == \"\"){\n                jQuery('#postcode').parent('.form-row').find('.error-message').show();\n                var pass = 0;\n              }else{\n                jQuery('#postcode').parent('.form-row').find('.error-message-postcode').hide();\n                var postalcodeVal = jQuery('#postcode').val();\n                let checkZip = new RegExp('^([0-9]{5}|[A-Z][0-9][A-Z] ?[0-9][A-Z][0-9])$')\n                if(!checkZip.test(jQuery('#postcode').val())) {\n                \/\/if(jQuery(\"#postcode\").inputmask([\"99999[-9999]\" , \"A9A 9A9\" ])){\n                    jQuery('#postcode').parent('.form-row').find('.error-message-postcode').show();\n                    var pass = 0;\n                }else{\n                    jQuery('#postcode').parent('.form-row').find('.error-message-postcode').hide();\n                }\n              }\n              if(jQuery('#country').val() == \"\"){\n                jQuery('#country').parent('.form-row').find('.error-message').show();\n                var pass = 0;\n              }else{\n                jQuery('#country').parent('.form-row').find('.error-message').hide();\n              }\n              if(pass == 0){\n                  return false;\n              }else{\n                  jQuery('.final-submit').trigger('click');\n              }\n          }\n      <\/script>\n   <\/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<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Registration<\/p>\n","protected":false},"author":26,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"folder":[],"class_list":["post-7380","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Registration - Marketing Automation Corp<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/marketing-automation.ca\/en-ca\/registration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Registration - Marketing Automation Corp\" \/>\n<meta property=\"og:description\" content=\"Registration\" \/>\n<meta property=\"og:url\" content=\"https:\/\/marketing-automation.ca\/en-ca\/registration\/\" \/>\n<meta property=\"og:site_name\" content=\"Marketing Automation Corp\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-14T15:31:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/marketing-automation.ca\/wp-content\/uploads\/2022\/09\/about-header.svg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/registration\\\/\",\"url\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/registration\\\/\",\"name\":\"Registration - Marketing Automation Corp\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/registration\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/registration\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/marketing-automation.ca\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/about-header.svg\",\"datePublished\":\"2023-03-13T17:20:29+00:00\",\"dateModified\":\"2023-03-14T15:31:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/registration\\\/#breadcrumb\"},\"inLanguage\":\"en-ca\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/registration\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-ca\",\"@id\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/registration\\\/#primaryimage\",\"url\":\"https:\\\/\\\/marketing-automation.ca\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/about-header.svg\",\"contentUrl\":\"https:\\\/\\\/marketing-automation.ca\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/about-header.svg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/registration\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Registration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/#website\",\"url\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/\",\"name\":\"Marketing Automation Corp\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-ca\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/#organization\",\"name\":\"Marketing Automation Corp\",\"url\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-ca\",\"@id\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/marketing-automation.ca\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/mac-logo.svg\",\"contentUrl\":\"https:\\\/\\\/marketing-automation.ca\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/mac-logo.svg\",\"width\":160,\"height\":81,\"caption\":\"Marketing Automation Corp\"},\"image\":{\"@id\":\"https:\\\/\\\/marketing-automation.ca\\\/en-ca\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Registration - Marketing Automation Corp","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/marketing-automation.ca\/en-ca\/registration\/","og_locale":"en_US","og_type":"article","og_title":"Registration - Marketing Automation Corp","og_description":"Registration","og_url":"https:\/\/marketing-automation.ca\/en-ca\/registration\/","og_site_name":"Marketing Automation Corp","article_modified_time":"2023-03-14T15:31:01+00:00","og_image":[{"url":"https:\/\/marketing-automation.ca\/wp-content\/uploads\/2022\/09\/about-header.svg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/marketing-automation.ca\/en-ca\/registration\/","url":"https:\/\/marketing-automation.ca\/en-ca\/registration\/","name":"Registration - Marketing Automation Corp","isPartOf":{"@id":"https:\/\/marketing-automation.ca\/en-ca\/#website"},"primaryImageOfPage":{"@id":"https:\/\/marketing-automation.ca\/en-ca\/registration\/#primaryimage"},"image":{"@id":"https:\/\/marketing-automation.ca\/en-ca\/registration\/#primaryimage"},"thumbnailUrl":"https:\/\/marketing-automation.ca\/wp-content\/uploads\/2022\/09\/about-header.svg","datePublished":"2023-03-13T17:20:29+00:00","dateModified":"2023-03-14T15:31:01+00:00","breadcrumb":{"@id":"https:\/\/marketing-automation.ca\/en-ca\/registration\/#breadcrumb"},"inLanguage":"en-ca","potentialAction":[{"@type":"ReadAction","target":["https:\/\/marketing-automation.ca\/en-ca\/registration\/"]}]},{"@type":"ImageObject","inLanguage":"en-ca","@id":"https:\/\/marketing-automation.ca\/en-ca\/registration\/#primaryimage","url":"https:\/\/marketing-automation.ca\/wp-content\/uploads\/2022\/09\/about-header.svg","contentUrl":"https:\/\/marketing-automation.ca\/wp-content\/uploads\/2022\/09\/about-header.svg"},{"@type":"BreadcrumbList","@id":"https:\/\/marketing-automation.ca\/en-ca\/registration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/marketing-automation.ca\/en-ca\/"},{"@type":"ListItem","position":2,"name":"Registration"}]},{"@type":"WebSite","@id":"https:\/\/marketing-automation.ca\/en-ca\/#website","url":"https:\/\/marketing-automation.ca\/en-ca\/","name":"Marketing Automation Corp","description":"","publisher":{"@id":"https:\/\/marketing-automation.ca\/en-ca\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/marketing-automation.ca\/en-ca\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-ca"},{"@type":"Organization","@id":"https:\/\/marketing-automation.ca\/en-ca\/#organization","name":"Marketing Automation Corp","url":"https:\/\/marketing-automation.ca\/en-ca\/","logo":{"@type":"ImageObject","inLanguage":"en-ca","@id":"https:\/\/marketing-automation.ca\/en-ca\/#\/schema\/logo\/image\/","url":"https:\/\/marketing-automation.ca\/wp-content\/uploads\/2022\/09\/mac-logo.svg","contentUrl":"https:\/\/marketing-automation.ca\/wp-content\/uploads\/2022\/09\/mac-logo.svg","width":160,"height":81,"caption":"Marketing Automation Corp"},"image":{"@id":"https:\/\/marketing-automation.ca\/en-ca\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/marketing-automation.ca\/en-ca\/wp-json\/wp\/v2\/pages\/7380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marketing-automation.ca\/en-ca\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/marketing-automation.ca\/en-ca\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/marketing-automation.ca\/en-ca\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/marketing-automation.ca\/en-ca\/wp-json\/wp\/v2\/comments?post=7380"}],"version-history":[{"count":0,"href":"https:\/\/marketing-automation.ca\/en-ca\/wp-json\/wp\/v2\/pages\/7380\/revisions"}],"wp:attachment":[{"href":"https:\/\/marketing-automation.ca\/en-ca\/wp-json\/wp\/v2\/media?parent=7380"}],"wp:term":[{"taxonomy":"folder","embeddable":true,"href":"https:\/\/marketing-automation.ca\/en-ca\/wp-json\/wp\/v2\/folder?post=7380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}