{"id":15,"date":"2015-07-28T08:56:59","date_gmt":"2015-07-28T08:56:59","guid":{"rendered":"http:\/\/www.skidsteeradvance.co.za\/?page_id=15"},"modified":"2015-07-29T09:20:48","modified_gmt":"2015-07-29T09:20:48","slug":"contact-us","status":"publish","type":"page","link":"https:\/\/www.skidsteeradvance.co.za\/index.php\/contact-us\/","title":{"rendered":"Contact Us"},"content":{"rendered":"<div id=\"pl-15\"  class=\"panel-layout\" ><div id=\"pg-15-0\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-15-0-0\"  class=\"panel-grid-cell\" ><div id=\"panel-15-0-0-0\" class=\"so-panel widget widget_black-studio-tinymce widget_black_studio_tinymce panel-first-child panel-last-child\" data-index=\"0\" ><div class=\"textwidget\"><p><span style=\"color: #ffffff;\">Contact us to discuss your Skidsteer requirements.<\/span><\/p>\n<p><span style=\"color: #ffffff;\">Call: 079 524 2569<\/span><\/p>\n<p><span style=\"color: #ffffff;\">071 245 0950<\/span><\/p>\n<p><span style=\"color: #ffffff;\">Email: info@skidsteeradvance.co.za<\/span><\/p>\n<p><span style=\"color: #ffffff;\">drikus@skidsteeradvance.co.za<\/span><\/p>\n<p><span style=\"color: #ffffff;\">admin@skidsteeradvance.co.za<\/span><\/p>\n<p>\u00a0<\/p>\n<\/div><\/div><\/div><div id=\"pgc-15-0-1\"  class=\"panel-grid-cell\" ><div id=\"panel-15-0-1-0\" class=\"so-panel widget widget_black-studio-tinymce widget_black_studio_tinymce panel-first-child\" data-index=\"1\" ><div class=\"textwidget\"><h4><span style=\"color: #ffffff;\">Request a quote<\/span><\/h4>\n<\/div><\/div><!--HTML for displaying registration form-->\r\n<div id=\"cfp-form\">\r\n  <form enctype=\"multipart\/form-data\" method=\"post\" action=\"\" id=\"cfp_contact_form\" name=\"cfp_contact_form\">\r\n  <input type=\"hidden\" id=\"_wpnonce\" name=\"_wpnonce\" value=\"61021ae20d\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php\/wp-json\/wp\/v2\/pages\/15\" \/>  <input type=\"hidden\" value=\"1780400884\" name=\"cfp_timestamp\" \/>\r\n  <input type=\"hidden\" value=\"17804008842\" name=\"cfp_key\" \/>\r\n    <div class=\"info-text\"><\/div>\r\n    \r\n   <div class=\"cfp_contact_form\">\r\n            \r\n      <!-- HTML for displaying custom fields in Registration form -->\r\n      \r\n                <div class=\"formtable\">\r\n          <div class=\"cfp_label\">\r\n            <label for=\"name_10\">Name<\/label>\r\n          <\/div>\r\n          <div class=\"cfp_input \">\r\n            <input type=\"text\" class=\"regular-text \" maxlength=\"\" value=\"\" id=\"name_10\" name=\"name_10\" >\r\n            <div class=\"reg_frontErr custom_error cfp_error_text\" style=\"display:none;\"><\/div>\r\n          <\/div>\r\n        <\/div>\r\n                <div class=\"formtable\">\r\n          <div class=\"cfp_label\">\r\n            <label for=\"email_11\">Email<\/label>\r\n          <\/div>\r\n          <div class=\"cfp_input cfp_email \">\r\n            <input type=\"text\" class=\"regular-text \" maxlength=\"\" value=\"\" id=\"email_11\" name=\"email_11\" >\r\n            <div class=\"reg_frontErr custom_error cfp_error_text\" style=\"display:none;\"><\/div>\r\n          <\/div>\r\n        <\/div>\r\n                <div class=\"formtable\">\r\n          <div class=\"cfp_label\">\r\n            <label for=\"number_12\">Number<\/label>\r\n          <\/div>\r\n          <div class=\"cfp_input \">\r\n            <input type=\"text\" class=\"regular-text \" maxlength=\"\" value=\"\" id=\"number_12\" name=\"number_12\" >\r\n            <div class=\"reg_frontErr custom_error cfp_error_text\" style=\"display:none;\"><\/div>\r\n          <\/div>\r\n        <\/div>\r\n                <div class=\"formtable\">\r\n          <div class=\"cfp_label\">\r\n            <label for=\"province_13\">Province<\/label>\r\n          <\/div>\r\n          <div class=\"cfp_input cfp_select \">\r\n            <select class=\"regular-text \" id=\"province_13\" name=\"province_13\" >\r\n                            <option value=\"Gauteng\" >Gauteng<\/option>\r\n                            <option value=\" Mpumalanga\" > Mpumalanga<\/option>\r\n                            <option value=\" North West\" > North West<\/option>\r\n                            <option value=\" Northern Cape\" > Northern Cape<\/option>\r\n                            <option value=\" Western Cape\" > Western Cape<\/option>\r\n                            <option value=\" Eastern Cape\" > Eastern Cape<\/option>\r\n                            <option value=\" Free State\" > Free State<\/option>\r\n                            <option value=\" KwaZulu Natal\" > KwaZulu Natal<\/option>\r\n                            <option value=\" Limpopo\" > Limpopo<\/option>\r\n                          <\/select>\r\n            <div class=\"reg_frontErr custom_error cfp_error_text\" style=\"display:none;\"><\/div>\r\n          <\/div>\r\n        <\/div>\r\n                <div class=\"formtable cfp_paragraph\">\r\n\r\n          <p name=\"message_14\" class=\"\"><\/p>\r\n        <\/div>\r\n              \r\n      <!-- Custom fields in Registration form ends -->\r\n            <br class=\"clear\">\r\n    <\/div>\r\n    \r\n    <div class=\"customcfperror cfp_error_text\" style=\"display:none\"><\/div>\r\n    <div class=\"UltimatePB-Button-area cfp_input cfp_input_submit\" >\r\n      <input type=\"submit\" value=\"Submit\" class=\"cfp_contact_submit\" id=\"submit\" name=\"submit\">\r\n     \r\n    <\/div>\r\n  <\/form>\r\n<\/div>\r\n<script>\r\n    jQuery(document).ready(function () {\r\n        \/\/for date picker\r\n        jQuery('.MyDate').datepicker({\r\n            dateFormat: 'yy-mm-dd'\r\n        });\r\n    });\r\n    jQuery('#cfp_contact_form').submit(function () {\r\n        \/\/email validation start for custom field\t\r\n        var email_val = \"\";\r\n        var regex = \/^([a-zA-Z0-9_.+-])+\\@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+$\/;\r\n        jQuery('.custom_error').html('');\r\n        jQuery('.custom_error').hide();\r\n        jQuery('.customcfperror').html('');\r\n\t\t\r\n\t\t\t\t\r\n        jQuery('.cfp_email').each(function (index, element) {\r\n            var email = jQuery(this).children('input').val();\r\n            var isemail = regex.test(email);\r\n            if (isemail == false && email != \"\") {\r\n                jQuery(this).children('.custom_error').html('Please enter a valid e-mail address.');\r\n                jQuery(this).children('.custom_error').show();\r\n            }\r\n        });\r\n\t\t\r\n\t\t\r\n\t\t\/*file addon start *\/\r\n\t\t jQuery('.cfp_file').each(function (index, element) {\r\n\t\t\tvar val = jQuery(this).children('input').val().toLowerCase();\r\n\t\t\tvar allowextensions = jQuery(this).children('input').attr('data-filter-placeholder');\r\n\t\t\tif(allowextensions=='')\r\n\t\t\t{\r\n\t\t\t\tallowextensions = 'jpg|jpeg|png|gif|doc|pdf|docx|txt|psd';\r\n\t\t\t}\r\n\t\t\tvar regex = new RegExp(\"(.*?)\\.(\" + allowextensions + \")$\");\r\n\t\t\tif(!(regex.test(val)) && val!=\"\") {\r\n\t\t\t\r\n\t\t\t\tjQuery(this).children('.custom_error').html('This file type is not allowed.');\r\n                jQuery(this).children('.custom_error').show();\r\n\t\t\t}\r\n        });\r\n\t\t\/*file addon end *\/\r\n        jQuery('.cfp_number').each(function (index, element) { \/\/Validation for number type custom field\r\n            var number = jQuery(this).children('input').val();\r\n            var isnumber = jQuery.isNumeric(number);\r\n            if (isnumber == false && number != \"\") {\r\n                jQuery(this).children('.custom_error').html('Please enter a valid number');\r\n                jQuery(this).children('.custom_error').show();\r\n            }\r\n        });\r\n\t\t\r\n\t\tjQuery('.cfp_required').each(function (index, element) { \/\/Validation for number type custom field\r\n            var value = jQuery(this).children('input').val();\r\n\t\t\tvar value2 = jQuery.trim(value);\r\n            if (value == \"\" || value2== \"\") {\r\n                jQuery(this).children('.custom_error').html('This is a required field.');\r\n                jQuery(this).children('.custom_error').show();\r\n            }\r\n        });\r\n\t\t\r\n\t\tjQuery('.cfp_select_required').each(function (index, element) { \/\/Validation for number type custom field\r\n            var value = jQuery(this).children('select').val();\r\n\t\t\tvar value2 = jQuery.trim(value);\r\n            if (value == \"\" || value2== \"\") {\r\n                jQuery(this).children('.custom_error').html('This is a required field.');\r\n                jQuery(this).children('.custom_error').show();\r\n            }\r\n        });\r\n\t\t\r\n\t\tjQuery('.cfp_textarearequired').each(function (index, element) { \/\/Validation for number type custom field\r\n            var value = jQuery(this).children('textarea').val();\r\n\t\t\tvar value2 = jQuery.trim(value);\r\n            if (value == \"\" || value2== \"\") {\r\n                jQuery(this).children('.custom_error').html('This is a required field.');\r\n                jQuery(this).children('.custom_error').show();\r\n            }\r\n        });\r\n\t\t\r\n\t\tjQuery('.cfp_checkboxrequired').each(function (index, element) { \/\/Validation for number type custom field\r\n\t\tvar checkboxlenght = jQuery(this).children('input[type=\"checkbox\"]:checked');\r\n\t\t\r\n        var atLeastOneIsChecked = checkboxlenght.length > 0;\r\n        if (atLeastOneIsChecked == true) {\r\n\t\t}else{\r\n                jQuery(this).children('.custom_error').html('This is a required field.');\r\n                jQuery(this).children('.custom_error').show();\r\n            }\r\n\t\t\r\n\t\t});\r\n\t\t\r\n\t\tjQuery('.cfp_termboxrequired').each(function (index, element) { \/\/Validation for number type custom field\r\n\t\tvar checkboxlenght = jQuery(this).children('input[type=\"checkbox\"]:checked');\r\n\t\t\r\n        var atLeastOneIsChecked = checkboxlenght.length > 0;\r\n        if (atLeastOneIsChecked == true) {\r\n\t\t}else{\r\n                jQuery(this).children('.custom_error').html('This is a required field.');\r\n                jQuery(this).children('.custom_error').show();\r\n            }\r\n\t\t\r\n\t\t});\r\n\t\t\r\n\t\tjQuery('.cfp_radiorequired').each(function (index, element) { \/\/Validation for number type custom field\r\n\t\tvar radiolenght = jQuery(this).children('input[type=\"radio\"]:checked');\r\n\t\t\r\n        var atLeastOneIsChecked = radiolenght.length > 0;\r\n        if (atLeastOneIsChecked == true) {\r\n\t\t}else{\r\n                jQuery(this).children('.custom_error').html('This is a required field.');\r\n                jQuery(this).children('.custom_error').show();\r\n            }\r\n\t\t\r\n\t\t});\r\n\t\t\r\n        var b = '';\r\n        b = jQuery('.custom_error').each(function () {\r\n            var a = jQuery(this).html();\r\n            b = a + b;\r\n            jQuery('.customcfperror').html(b);\r\n        });\r\n        var error = jQuery('.customcfperror').html();\r\n        if (error == '') {\r\n            return true;\r\n        } else {\r\n            return false;\r\n        }\r\n    });\r\njQuery('.input-box').addClass('cfp_input');\r\njQuery('.lable-text').addClass('cfp_label');\r\njQuery('.cfp_required').parent('.formtable').children('.cfp_label').children('label').append('<sup class=\"cfp_estric\">*<\/sup>');\r\njQuery('.cfp_select_required').parent('.formtable').children('.cfp_label').children('label').append('<sup class=\"cfp_estric\">*<\/sup>');\r\njQuery('.cfp_radiorequired').parent('.formtable').children('.cfp_label').children('label').append('<sup class=\"cfp_estric\">*<\/sup>');\r\njQuery('.cfp_checkboxrequired').parent('.formtable').children('.cfp_label').children('label').append('<sup class=\"cfp_estric\">*<\/sup>');\r\njQuery('.cfp_textarearequired').parent('.formtable').children('.cfp_label').children('label').append('<sup class=\"cfp_estric\">*<\/sup>');\r\n\r\n<\/script> <div id=\"panel-15-0-1-1\" class=\"so-panel widget widget_black-studio-tinymce widget_black_studio_tinymce panel-last-child\" data-index=\"2\" ><div class=\"textwidget\"><p><\/p>\n<\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Contact us to discuss your Skidsteer requirements.Call: 079 524 2569071 245 0950Email: info@skidsteeradvance.co.zadrikus@skidsteeradvance.co.zaadmin@skidsteeradvance.co.za\u00a0 Request a quote<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/www.skidsteeradvance.co.za\/index.php\/wp-json\/wp\/v2\/pages\/15"}],"collection":[{"href":"https:\/\/www.skidsteeradvance.co.za\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.skidsteeradvance.co.za\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.skidsteeradvance.co.za\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skidsteeradvance.co.za\/index.php\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":6,"href":"https:\/\/www.skidsteeradvance.co.za\/index.php\/wp-json\/wp\/v2\/pages\/15\/revisions"}],"predecessor-version":[{"id":53,"href":"https:\/\/www.skidsteeradvance.co.za\/index.php\/wp-json\/wp\/v2\/pages\/15\/revisions\/53"}],"wp:attachment":[{"href":"https:\/\/www.skidsteeradvance.co.za\/index.php\/wp-json\/wp\/v2\/media?parent=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}