{"id":284,"date":"2022-11-08T01:06:37","date_gmt":"2022-11-08T01:06:37","guid":{"rendered":"http:\/\/www.crossfitaffinity.co.nz\/?page_id=284"},"modified":"2025-10-06T01:10:02","modified_gmt":"2025-10-06T01:10:02","slug":"contact-us","status":"publish","type":"page","link":"https:\/\/www.crossfitaffinity.co.nz\/index.php\/contact-us\/","title":{"rendered":"Contact Us"},"content":{"rendered":"<p><!-- INSERT THIS CODE INTO YOUR WEBSITE TO HAVE LEADS SUBMIT THEIR INFORMATION TO WODIFY REMOTELY - LEAD FORM 2.0 --><br \/>\n<script type='text\/javascript'> function validateWodifyLeadForm(){var reEmail = \/^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$\/;var returnValue = true;var fieldname=document.forms['wodifyLeadForm']['name'].value; if(fieldname==null||fieldname=='') {document.getElementById('errorname').style.display='inline';returnValue=false;} else {document.getElementById('errorname').style.display='none';}var fieldemail=document.forms['wodifyLeadForm']['email'].value;  if(fieldemail==null||fieldemail==''||!reEmail.test(fieldemail)) {document.getElementById('warningemail').style.display='inline';returnValue=false;} else {document.getElementById('warningemail').style.display='none';}var fieldcity=document.forms['wodifyLeadForm']['city'].value; if(fieldcity==null||fieldcity=='') {document.getElementById('errorcity').style.display='inline';returnValue=false;} else {document.getElementById('errorcity').style.display='none';}var fielddateofbirth=document.forms['wodifyLeadForm']['dateofbirth'].value;if(fielddateofbirth==null||fielddateofbirth=='') {document.getElementById('errordateofbirth').style.display='inline';returnValue=false;} else {document.getElementById('errordateofbirth').style.display='none';}var fieldleadsource=document.forms['wodifyLeadForm']['leadsource'].options[document.forms['wodifyLeadForm']['leadsource'].selectedIndex].value;if(fieldleadsource==null||fieldleadsource=='') {document.getElementById('errorleadsource').style.display='inline';returnValue=false;} else {document.getElementById('errorleadsource').style.display='none';} return returnValue;\n}; <\/script><\/p>\n<form id=\"wodifyLeadForm\" accept-charset=\"UTF-8\" action=\"https:\/\/app.wodify.com\/AthleteTheme\/WebToLeadFormPost_v1.aspx?\" method=\"POST\" name=\"wodifyLeadForm\">\n<div class=\"wodify-form-group wodify-form-group-name\"><label for=\"name\">Name <span class=\"asterisk\">*<\/span><\/label><input maxlength=\"50\" name=\"name\" required=\"\" type=\"text\" data-required=\"\" \/> <span id=\"errorname\" style=\"display: none; color: #cc2626;\"> Required field!<\/span><\/div>\n<div class=\"wodify-form-group wodify-form-group-email\"><label for=\"email\">Email <span class=\"asterisk\">*<\/span><\/label><input maxlength=\"250\" name=\"email\" required=\"\" type=\"email\" data-required=\"\" \/> <span id=\"erroremail\" style=\"display: none; color: #cc2626;\"> Required field!<\/span><span id=\"warningemail\" style=\"display: none; color: #eed202;\"> Enter a valid email address!<\/span><\/div>\n<div class=\"wodify-form-group wodify-form-group-phone\"><label for=\"phone\">Phone <span class=\"asterisk\">*<\/span><\/label><input maxlength=\"20\" name=\"phone\" required=\"\" type=\"number\" data-required=\"\" \/> <span id=\"errorphone\" style=\"display: none; color: #cc2626;\"> Required field!<\/span><\/div>\n<div class=\"wodify-form-group wodify-form-group-city\"><label for=\"city\">City <span class=\"asterisk\">*<\/span><\/label><input maxlength=\"50\" name=\"city\" required=\"\" type=\"text\" data-required=\"\" \/> <span id=\"errorcity\" style=\"display: none; color: #cc2626;\"> Required field!<\/span><\/div>\n<div class=\"wodify-form-group wodify-form-group-dateofbirth\"><label for=\"dateofbirth\">Date Of Birth <span class=\"asterisk\">*<\/span><\/label><input name=\"dateofbirth\" required=\"\" type=\"date\" data-required=\"\" \/> *<span id=\"errordateofbirth\" style=\"display: none; color: #cc2626;\"> Required field!<\/span><\/div>\n<div class=\"wodify-form-group wodify-form-group-leadsource\"><label for=\"leadsource\">How Did You Hear About Us <span class=\"asterisk\">*<\/span><\/label><select name=\"leadsource\" required=\"\"><option value=\"\">&#8211;<\/option><option value=\"Friend\/Family\">Friend\/Family<\/option><option value=\"Facebook\">Facebook<\/option><option value=\"Instagram\">Instagram<\/option><option value=\"Google\/Search Engine\">Google\/Search Engine<\/option><option value=\"Location\">Location<\/option><option value=\"SMS\">SMS<\/option><option value=\"Online Sales\">Online Sales<\/option><\/select><span id=\"errorleadsource\" style=\"display: none; color: #cc2626;\"> Required field!<\/span><\/div>\n<div class=\"wodify-form-group wodify-form-group-comments\"><label for=\"comments\">Comments<\/label><textarea cols=\"50\" maxlength=\"2000\" name=\"comments\" rows=\"4\"><\/textarea><\/div>\n<p><input name=\"redirecturl\" type=\"hidden\" value=\"http:\/\/www.crossfitaffinity.co.nz\" \/><\/p>\n<div class=\"wodify-form-group wodify-form-group-submit\"><input name=\"apikey\" type=\"hidden\" value=\"lSRtrw3oz0\" \/><br \/>\n<input type=\"submit\" value=\"Submit\" \/><\/div>\n<\/form>\n","protected":false},"excerpt":{"rendered":"<p>Name * Required field! Email * Required field! Enter a valid email address! Phone * Required field! City * Required field! Date Of Birth * * Required field! How Did You Hear About Us *&#8211;Friend\/FamilyFacebookInstagramGoogle\/Search EngineLocationSMSOnline Sales Required field! Comments<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":7,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-284","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.crossfitaffinity.co.nz\/index.php\/wp-json\/wp\/v2\/pages\/284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.crossfitaffinity.co.nz\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.crossfitaffinity.co.nz\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.crossfitaffinity.co.nz\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.crossfitaffinity.co.nz\/index.php\/wp-json\/wp\/v2\/comments?post=284"}],"version-history":[{"count":12,"href":"https:\/\/www.crossfitaffinity.co.nz\/index.php\/wp-json\/wp\/v2\/pages\/284\/revisions"}],"predecessor-version":[{"id":1123,"href":"https:\/\/www.crossfitaffinity.co.nz\/index.php\/wp-json\/wp\/v2\/pages\/284\/revisions\/1123"}],"wp:attachment":[{"href":"https:\/\/www.crossfitaffinity.co.nz\/index.php\/wp-json\/wp\/v2\/media?parent=284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}