{"id":35,"date":"2015-07-08T13:43:56","date_gmt":"2015-07-08T13:43:56","guid":{"rendered":"http:\/\/www.eqpfinance.com.au\/?page_id=35"},"modified":"2015-07-09T06:37:38","modified_gmt":"2015-07-09T06:37:38","slug":"contact-us","status":"publish","type":"page","link":"https:\/\/www.eqpfinance.com.au\/index.php\/contact-us\/","title":{"rendered":"Contact us"},"content":{"rendered":"<h5>To discuss all of your equipment finance\u00a0contact Craig Moore on 0414 441 904 or\u00a0simply fill out the form below and we will get in touch with you.<\/h5>\n\r\n    <!-- START JS for Form ID: 34 -->\r\n\t<script type=\"text\/javascript\">\r\n\t\tjQuery(document).ready(function($) {\r\n\t\t\t\r\n\t\tjQuery(\"#preloader-ryhene\").fadeOut(500, function () {\r\n\t\t\tjQuery(\"#ecf-form-ryhene\").fadeIn(300);\r\n\t\t\t});\r\n\t\t\t\r\n\t\t\tLadda.bind('.ladda-button');\r\n\r\n\t\t\t$(function() {\r\n\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\/\/ Validation\r\n\t\t\t\t$(\"#form-ryhene\").validate(\r\n\t\t\t\t{\t\t\t\t\t\r\n\t\t\t\t\t\/\/ Rules for form validation\r\n\t\t\t\t\trules:\r\n\t\t\t\t\t{\r\n\t\t\t\t\tname0:{required: true},email1:{required: true,email: true},text2:{required: true},message3:{required: true,minlength: 10},\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\/\/ Messages for form validation\r\n\t\t\t\t\tmessages:\r\n\t\t\t\t\t{\r\n\t\t\t\t\tname0:{required: \"This field is required\"},email1:{required: \"This field is required\"},text2:{required: \"This field is required\"},message3:{required: \"This field is required\"}\t\t\t\t\t},\t\t\t\t\t\r\n\t\t\t\t\t\/\/ Do not change code below\r\n\t\t\t\t\terrorPlacement: function(error, element) {\r\n\t\t\t\t\t\terror.insertAfter(element.parent());\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\r\n\t\t\t\t\tsubmitHandler: function (form) {\r\n\t\t\t\t\t\t\t\t\t\t ecf_onsubmit(jQuery('.form-ryhene'));\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t \t\t\t\t\t\t \r\n\t\t\t\t\t\t },\r\n\t\t\t\t\t\t \r\n\t\t\t\t\tinvalidHandler: function (form) {\t\r\n\t\t\t\t\t\tLadda.stopAll();\r\n\t\t\t\t\t \t},\r\n\t\t\t\t\t\t \r\n\t\t\t\t\tonkeyup: false,\r\n\t\t\t\t\tonfocusout: false,\r\n\t\t\t\t\tonclick: false\r\n\t\t\t\t\t\r\n\t\t\t\t});\r\n\t\t\t});\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\/* Form Submit ( Ajax ) *\/\r\n\t\t\tfunction ecf_onsubmit(form){\t\r\n\r\n\t\t\t\tif(form.attr('action')=='#'){\r\n\t\t\t\t\t\r\n\t\t\t\t\tdata = {};\r\n\t\t\t\t\teldat = [];\r\n\t\t\t\t\tdata['action'] = 'ecf_deliver_mail';\r\n\t\t\t\t\tdata['formid'] = '34';\r\n\t\t\t\t\tdata['security'] = '0ee18a88e3';\r\n\t\t\r\n\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\tjQuery('input, textarea', form).each(function(key){\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\titems = {};\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (typeof $(this).data('type') === 'undefined') { return true; }\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\titems['type'] = $(this).data('type');\r\n\t\t\t\t\t\titems['label'] = $(this).data('label');\r\n\t\t\t\t\t\titems['value'] = this.value;\r\n\t\t\t\t\t\titems['name'] = this.name;\r\n\r\n\t\t\t\t\t\teldat.push(items);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}); \/\/ END  form).each(function(key){\r\n\t\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\tdata['allelmnt'] = JSON.stringify(eldat);\r\n\r\n\t\t\t\t\t\tsubmitForm();\r\n\t\t\t\t\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t\t\r\n\t\t\t\t} \/\/ End if(form.attr('action')=='#'){\r\n\t\t\t\t\r\n\t\t\t} \/\/ End ecf_onsubmit \r\n\t\t\t\r\n\t\t\t\/\/ Start submitForm\t\t\r\n\t\t\t  function submitForm() {\r\n\t\t\t\t  \r\n\t\t\t\tjQuery.ajax({\r\n\t\t\t\t\turl: 'https:\/\/eqpfinance.com.au\/wp-admin\/admin-ajax.php', \r\n\t\t\t\t\ttype: 'POST',\r\n\t\t\t\t\tdataType: 'json',\r\n\t\t\t\t\tdata: data, \r\n\t\t\t\t\tsuccess: function(data) {\r\n\t\t\t\t\r\n\t\t\t\t\t\tif(data.Ok==true) {\r\n\t\t\t\t\t\t\t\t\t\/\/ success\r\n\t\t\t\t\t\t\t$(\"#form-ryhene\").get(0).reset();\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tif(data.msg == 'redirect') {\r\n\t\t\t\t\t\t\t\twindow.location = \"http:\/\/\";\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tnotifyme('Your Message Submitted Successfully', 'n', 'success', 'left middle');\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\t\t$(\"#form-ryhene\").get(0).reset();\r\n\t\t\t\t\t\t\t\tnotifyme(data.msg, 'n', 'error', 'left middle');\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tLadda.stopAll();\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t} \/\/ End submitForm\r\n\t\r\n\t\t\t\t\t\r\n\t\t\t\/\/ Notify\t\r\n\t\t\t  function notifyme(msg, b, typ, pos) {\r\n\t\t\t\t  if (b == 'n') {\r\n\t\t\t\t\t  b = 'cf-submittedryhene';\r\n\t\t\t\t  } else {\r\n\t\t\t\t\t b = 'atcryhene';\r\n\t\t\t\t  }\r\n\t\t\t\t  \r\n\t\t\t\t  $(\"#\"+b).gnotify(msg,{\r\n\t\t\t\t\t  style: \"nbootstrap\",\r\n\t\t\t\t\t  elementPosition: pos,\r\n\t\t\t\t\t  className: typ\r\n\t\t\t\t\t  });\r\n\t\t\t\t\t  \r\n\t\t\t\t\t  msg = null;\r\n\t\t\t\t\t  typ = null;\r\n\t\t\t\t\t  \r\n\t\t\t\t\t}\r\n\r\n\t\t});\t\t\r\n\t\t<\/script>\r\n    <!-- END JS for Form ID: 34 -->\r\n    \r\n    \r\n    \t\r\n    \r\n<!-- START Form Markup for Form ID: 34 -->\r\n<div id=\"preloader-ryhene\" class=\"ecfpreloader\"><\/div>   \r\n    <div id=\"ecf-form-ryhene\" class=\"ecf-body\" style=\"display:none;\">\t\t\t\t\t\r\n\t\t<form method=\"post\" enctype=\"multipart\/form-data\" action=\"#\" id=\"form-ryhene\" class=\"ecf-form form-ryhene\">\r\n        \t<header>Contact EQP Finance<\/header>    \t\t<fieldset>\t\r\n    <section><label class=\"label\">Name<\/label><label class=\"input\"><input data-type=\"name\" data-label=\"Name\" id=\"name0\" type=\"text\" name=\"name0\" \/><\/label><\/section><section><label class=\"label\">Email<\/label><label class=\"input\"><input data-type=\"email\" data-label=\"Email\" id=\"email1\" type=\"text\" name=\"email1\" \/><\/label><\/section><section><label class=\"label\">Subject<\/label><label class=\"input\"><input data-type=\"text\" data-label=\"Subject\" id=\"text2\" type=\"text\" name=\"text2\" \/><\/label><\/section><section><label class=\"label\">Message<\/label><label class=\"textarea\"><textarea data-type=\"message\" data-label=\"Message\" id=\"message3\" name=\"message3\" rows=\"7\" ><\/textarea><\/label><\/section>      \r\n        \r\n\t\t\t\t        \r\n         \r\n       \t\t <\/fieldset>\r\n        \t\t<footer>\r\n                    <button data-style=\"slide-down\" id=\"cf-submittedryhene\" class=\"ecfbutton ladda-button\" type=\"submit\" name=\"cf-submittedryhene\"><span class=\"ladda-label\">SEND<\/span><\/button> \r\n\t\t\t\t<\/footer>\r\n\t\t\t<\/form>\r\n            \r\n                        \r\n            <\/div>  \r\n<!-- END Form Markup for Form ID: 34 -->\r\n\t\t\t\r\n\t\r\n\n","protected":false},"excerpt":{"rendered":"<p>To discuss all of your equipment finance\u00a0contact Craig Moore on 0414 441 904 or\u00a0simply fill out the form below and we will get in touch with you.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.eqpfinance.com.au\/index.php\/wp-json\/wp\/v2\/pages\/35"}],"collection":[{"href":"https:\/\/www.eqpfinance.com.au\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.eqpfinance.com.au\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.eqpfinance.com.au\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.eqpfinance.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":3,"href":"https:\/\/www.eqpfinance.com.au\/index.php\/wp-json\/wp\/v2\/pages\/35\/revisions"}],"predecessor-version":[{"id":53,"href":"https:\/\/www.eqpfinance.com.au\/index.php\/wp-json\/wp\/v2\/pages\/35\/revisions\/53"}],"wp:attachment":[{"href":"https:\/\/www.eqpfinance.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}