{"id":5,"date":"2021-06-08T00:43:04","date_gmt":"2021-06-08T00:43:04","guid":{"rendered":"https:\/\/beechtreekennelsdevon.co.uk\/Dog%20Exercise\/?page_id=5"},"modified":"2021-06-26T08:46:56","modified_gmt":"2021-06-26T08:46:56","slug":"booking-form","status":"publish","type":"page","link":"https:\/\/beechtreekennelsdevon.co.uk\/Dog%20Exercise\/","title":{"rendered":""},"content":{"rendered":"<p style=\"text-align: center;\"><!--noptimize-->\n        <script type=\"text\/javascript\">\n         var cp_hourbk_cancel_label = 'Cancel';\n         var cp_hourbk_quantity_label = 'Quantity';\n         var message_ffile_accept = 'Please upload a valid file type';         \n         var cp_hourbk_message_ffile_size = 'File size exceeds limit';\n         var cp_hourbk_cost_label = 'Cost';\n         var cp_hourbk_overlapping_label = 'Selected time is no longer available. Please select a different time.';\n         var cp_hourbk_nomore_label = 'No more slots available.';\n         var cp_hourbk_preselect = '';\n         var cp_hourbk_cmpublic = true;\n         var cp_hourbk_avoid_overlapping = 0;         var apphboverbooking_handler0 = false;\n         function cp_appbooking_pform_doValidate_1(form)\n         {\n            $dexQuery = jQuery.noConflict();\n            try { document.cp_appbooking_pform_1.cp_ref_page.value = document.location; } catch (e) {}\n            $dexQuery = jQuery.noConflict();            {\n                var cpefb_error = 0;\n                $dexQuery(\"#cp_appbooking_pform_1\").find(\".cpefb_error\").each(function(index){\n                    if ($dexQuery(this).css(\"display\")!=\"none\")\n                        cpefb_error++;    \n                    });\n                if (cpefb_error==0)\n                {if (!apphboverbooking_handler0)\n                    {\n                        apphbblink_1(\".pbSubmit:visible\");\n                        $dexQuery(\"#cp_appbooking_pform_1\").find(\".avoid_overlapping_before\").not(\".ignore,.ignorepb\").removeClass(\"avoid_overlapping_before\").removeClass(\"valid\").addClass(\"avoid_overlapping\");\n                        cp_hourbk_avoid_overlapping = 1;\n                        try {\n                            $dexQuery(\"#cp_appbooking_pform_1\").find(\".avoid_overlapping\").valid();\n                        } catch (e) { cp_hourbk_avoid_overlapping = 0; }\n                        function check_cp_hourbk_avoid_overlapping(){\n\t\t                    if (cp_hourbk_avoid_overlapping>0)\n\t\t                        setTimeout(check_cp_hourbk_avoid_overlapping,100);\n\t\t                    else\n\t\t                    {\n                                var cpefb_error = 0;\n                                $dexQuery(\"#cp_appbooking_pform_1\").find(\".cpefb_error\").each(function(index){\n                                    if ($dexQuery(this).css(\"display\")!=\"none\")\n                                        cpefb_error++;    \n                                    });\n                                if (cpefb_error==0)    \n                                {\n                                    apphboverbooking_handler0 = true;\n                                    if (cp_appbooking_pform_doValidate_1(form))\n                                        document.getElementById(\"cp_appbooking_pform_1\").submit();\n                                }\n\t\t                    }  \n\t\t                }\n\t\t                check_cp_hourbk_avoid_overlapping();\n                        return false;\n                    }                    \n\t        \t\t$dexQuery(\"#cp_appbooking_pform_1\").find( '.ignore' ).closest( '.fields' ).remove();\n\t        \t}\n                if (cpefb_error) return false;\n\t        \tdocument.getElementById(\"form_structure_1\").value = '';    \n\t        \tdocument.getElementById(\"refpage_1\").value = document.location;    \n                try { if (document.cp_appbooking_pform_1.cp_appbooking_pform_status.value != '0')\n                return false; } catch (e) {}\n                apphbblink_1(\".pbSubmit:visible\");\n                try { document.cp_appbooking_pform_1.cp_appbooking_pform_status.value = '1';\t } catch (e) {}\n                $dexQuery(document).trigger(\"beforeOnSubmitAhb\",{id:\"cp_appbooking_pform_1\"});\n                return true;\n            }  \n         }\n         function apphbblink_1(selector){\n             try {   \n                 $dexQuery = jQuery.noConflict();\n                 $dexQuery(selector).fadeOut(1000, function(){\n                     $dexQuery(this).fadeIn(1000, function(){\n                             try {                     \n                                 if (document.cp_appbooking_pform_1.cp_appbooking_pform_status.value != '0')\n                                     apphbblink_1(this);                                  \n                             } catch (e) {}  \n                     });\n                 });             \n             } catch (e) {}                 \n         }         \n         function cp_appbooking_cerror_1(){$dexQuery = jQuery.noConflict();$dexQuery(\"#hdcaptcha_error_1\").css('top',$dexQuery(\"#hdcaptcha_cp_appbooking_post_1\").outerHeight());$dexQuery(\"#hdcaptcha_error_1\").css(\"display\",\"inline\");}\n        <\/script><!--\/noptimize-->\n        <link href=\"https:\/\/beechtreekennelsdevon.co.uk\/Dog%20Exercise\/wp-content\/plugins\/appointment-hour-booking\/templates\/08\/style.css\" type=\"text\/css\" rel=\"stylesheet\" \/><form autocomplete=\"off\" class=\"cpp_form\" name=\"cp_appbooking_pform_1\" id=\"cp_appbooking_pform_1\" action=\"\" method=\"post\" enctype=\"multipart\/form-data\" onsubmit=\"return cp_appbooking_pform_doValidate_1(this);\"><input type=\"hidden\" name=\"cp_pform_psequence\" value=\"_1\" \/><input type=\"hidden\" name=\"cp_appbooking_pform_process\" value=\"1\" \/><input type=\"hidden\" name=\"cp_appbooking_id\" value=\"1\" \/><input type=\"hidden\" name=\"cp_ref_page\" value=\"\" \/><input type=\"hidden\" name=\"form_structure_1\" id=\"form_structure_1\" size=\"180\" value=\"[[{&quot;form_identifier&quot;:&quot;&quot;,&quot;name&quot;:&quot;fieldname1&quot;,&quot;shortlabel&quot;:&quot;&quot;,&quot;index&quot;:0,&quot;ftype&quot;:&quot;fapp&quot;,&quot;userhelp&quot;:&quot;Please remember to arrive and depart within your timeslot. If the car park is occupied when you arrive, please wait outside until the current user has vacated it.&quot;,&quot;userhelpTooltip&quot;:false,&quot;csslayout&quot;:&quot;&quot;,&quot;title&quot;:&quot;How long do you wish to book for?&quot;,&quot;services&quot;:[{&quot;name&quot;:&quot;30 minutes&quot;,&quot;price&quot;:8,&quot;capacity&quot;:1,&quot;duration&quot;:&quot;30&quot;,&quot;pb&quot;:0,&quot;pa&quot;:0,&quot;ohindex&quot;:0,&quot;idx&quot;:1},{&quot;name&quot;:&quot;60 minutes&quot;,&quot;price&quot;:12,&quot;capacity&quot;:1,&quot;duration&quot;:60,&quot;pb&quot;:0,&quot;pa&quot;:0,&quot;ohindex&quot;:0,&quot;idx&quot;:2},{&quot;name&quot;:&quot;90 minutes&quot;,&quot;price&quot;:16,&quot;capacity&quot;:1,&quot;duration&quot;:&quot;90&quot;,&quot;pb&quot;:0,&quot;pa&quot;:0,&quot;ohindex&quot;:0,&quot;idx&quot;:3},{&quot;name&quot;:&quot;120 minutes&quot;,&quot;price&quot;:20,&quot;capacity&quot;:1,&quot;duration&quot;:&quot;120&quot;,&quot;pb&quot;:0,&quot;pa&quot;:0,&quot;ohindex&quot;:0,&quot;idx&quot;:4}],&quot;openhours&quot;:[],&quot;allOH&quot;:[{&quot;name&quot;:&quot;Default&quot;,&quot;openhours&quot;:[{&quot;type&quot;:&quot;all&quot;,&quot;d&quot;:&quot;&quot;,&quot;h1&quot;:8,&quot;m1&quot;:0,&quot;h2&quot;:&quot;20&quot;,&quot;m2&quot;:&quot;0&quot;}]}],&quot;dateFormat&quot;:&quot;dd\\\/mm\\\/yy&quot;,&quot;showDropdown&quot;:false,&quot;showTotalCost&quot;:true,&quot;showTotalCostFormat&quot;:&quot;\\u00a3 {0}&quot;,&quot;showEndTime&quot;:true,&quot;showQuantity&quot;:false,&quot;usedSlotsCheckbox&quot;:true,&quot;avoidOverlaping&quot;:true,&quot;emptySelectCheckbox&quot;:true,&quot;emptySelect&quot;:&quot;-- Select your session length --&quot;,&quot;dropdownRange&quot;:&quot;-10:+10&quot;,&quot;working_dates&quot;:[true,true,true,true,true,true,true],&quot;numberOfMonths&quot;:1,&quot;maxNumberOfApp&quot;:&quot;4&quot;,&quot;firstDay&quot;:0,&quot;minDate&quot;:&quot;0&quot;,&quot;maxDate&quot;:&quot;&quot;,&quot;defaultDate&quot;:&quot;&quot;,&quot;invalidDates&quot;:&quot;&quot;,&quot;tmpinvalidDates&quot;:&quot;&quot;,&quot;required&quot;:true,&quot;bSlotsCheckbox&quot;:false,&quot;bSlots&quot;:30,&quot;militaryTime&quot;:1,&quot;autonum&quot;:5,&quot;fBuild&quot;:{},&quot;special_days&quot;:[],&quot;minDateTmp&quot;:&quot;0&quot;,&quot;getMinDate&quot;:{},&quot;tmpinvalidDatestime&quot;:[]},{&quot;form_identifier&quot;:&quot;&quot;,&quot;name&quot;:&quot;fieldname3&quot;,&quot;shortlabel&quot;:&quot;&quot;,&quot;index&quot;:1,&quot;ftype&quot;:&quot;fdropdown&quot;,&quot;userhelp&quot;:&quot;We charge per vehicle, NOT per dog. This is because the parking area will see the most wear and tear.  &quot;,&quot;userhelpTooltip&quot;:false,&quot;csslayout&quot;:&quot;ahb_service&quot;,&quot;title&quot;:&quot;Please select the number of vehicles you will arrive in.&quot;,&quot;size&quot;:&quot;medium&quot;,&quot;required&quot;:true,&quot;choiceSelected&quot;:&quot;1 car - 0&quot;,&quot;showDep&quot;:true,&quot;choices&quot;:[&quot;1 Car \\u00a3&quot;,&quot;2 Cars +\\u00a34&quot;,&quot;3 Cars +\\u00a38&quot;,&quot;4+ Cars +\\u00a312&quot;],&quot;choicesVal&quot;:[&quot;0&quot;,&quot;4&quot;,&quot;8&quot;,&quot;12&quot;],&quot;choicesDep&quot;:[[&quot;&quot;],[&quot;&quot;],[&quot;&quot;],[&quot;&quot;]],&quot;fBuild&quot;:{}},{&quot;form_identifier&quot;:&quot;&quot;,&quot;name&quot;:&quot;fieldname4&quot;,&quot;shortlabel&quot;:&quot;&quot;,&quot;index&quot;:2,&quot;ftype&quot;:&quot;ftext&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:false,&quot;csslayout&quot;:&quot;&quot;,&quot;title&quot;:&quot;Name:*&quot;,&quot;predefined&quot;:&quot;&quot;,&quot;predefinedClick&quot;:false,&quot;required&quot;:false,&quot;size&quot;:&quot;medium&quot;,&quot;minlength&quot;:&quot;&quot;,&quot;maxlength&quot;:&quot;&quot;,&quot;equalTo&quot;:&quot;&quot;,&quot;fBuild&quot;:{}},{&quot;form_identifier&quot;:&quot;&quot;,&quot;name&quot;:&quot;email&quot;,&quot;shortlabel&quot;:&quot;This is used to send you a confirmation of your booking&quot;,&quot;index&quot;:3,&quot;ftype&quot;:&quot;femail&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:false,&quot;csslayout&quot;:&quot;&quot;,&quot;title&quot;:&quot;Email Address:&quot;,&quot;predefined&quot;:&quot;&quot;,&quot;predefinedClick&quot;:false,&quot;required&quot;:true,&quot;size&quot;:&quot;medium&quot;,&quot;equalTo&quot;:&quot;&quot;,&quot;fBuild&quot;:{}},{&quot;form_identifier&quot;:&quot;&quot;,&quot;name&quot;:&quot;fieldname2&quot;,&quot;shortlabel&quot;:&quot;&quot;,&quot;index&quot;:4,&quot;ftype&quot;:&quot;facceptance&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:false,&quot;csslayout&quot;:&quot;&quot;,&quot;title&quot;:&quot;Accept terms and conditions&quot;,&quot;value&quot;:&quot;I accept&quot;,&quot;url&quot;:&quot;&quot;,&quot;message&quot;:&quot;When using Beech Tree Paddock, please; Pick up after your dog. Do not litter, general and dog waste bins are provided Stop your dog from excessive digging and\\\/or chewing. Adhere to the timeslot you have booked. Leave all gates secured after your session has finished. If the car park is occupied when you arrive, please wait outside until the previous user vacates the field.\\n\\nAll users are asked to respect the above guidelines in order to maintain a pleasant environment for everyone.&quot;,&quot;required&quot;:true,&quot;fBuild&quot;:{}}],[{&quot;title&quot;:&quot;Book your session at Beech Tree Paddock&quot;,&quot;description&quot;:&quot;&quot;,&quot;formlayout&quot;:&quot;top_aligned&quot;,&quot;formtemplate&quot;:&quot;ahb_m2&quot;,&quot;evalequations&quot;:1,&quot;autocomplete&quot;:1}]]\" \/><input type=\"hidden\" name=\"refpage_1\" id=\"refpage_1\" value=\"\"><input type=\"hidden\" name=\"cp_appbooking_pform_status\" value=\"0\" \/><input name=\"anonce\" type=\"hidden\" value=\"2e41088dd1\"\/><div id=\"fbuilder\">    \r\n    <div id=\"fbuilder_1\">\r\n        <div id=\"formheader_1\"><\/div>\r\n        <div id=\"fieldlist_1\"><\/div>\r\n    <\/div>\r\n<\/div>    \r\n<div style=\"display:none\">\r\n<div id=\"cpcaptchalayer_1\" class=\"cpcaptchalayer\">\r\n <div class=\"fields\" id=\"field-c0\" style=\"display:none\">\r\n    <label><\/label>\r\n    <div class=\"dfield\"><div><input type=\"radio\" name=\"bccf_payment_option_paypal\" vt=\"addon-PayPalStandard-20170903\" value=\"addon-PayPalStandard-20170903\" checked> Pay with PayPal<\/div><!--addons-payment-options--><\/div>\r\n    <div class=\"clearer\"><\/div>\r\n <\/div>            \r\n              <div class=\"fields\" id=\"field-c0-couponcode\">\r\n                 <label>Discount code - Applied at checkout<\/label>\r\n                 <div class=\"dfield\">\r\n                   <input type=\"text\" name=\"couponcode\" id=\"couponcode_1\" value=\"\" onchange=\"ahb_checkcoupon1();\" onkeyup=\"ahb_checkcoupon1();\">\r\n                   <div id=\"ahbdiscountnote1\"><\/div>\r\n                 <\/div>\r\n                 <div class=\"clearer\"><\/div>\r\n              <\/div>\r\n              <script>\r\n               var lastchecked1 = '';\r\n               function ahb_checkcoupon1() \r\n               {\r\n                  $dexQuery=jQuery.noConflict(); \r\n                  var cp = $dexQuery(\"#couponcode_1\").val();\r\n                  var charge_price = 0;\r\n                  try\r\n                  {\r\n                      for(var kn=0; kn!=100; kn++)\r\n                          if (document.getElementById(\"tcostfieldname\"+kn+\"_\"+1))\r\n                          {\r\n                              if (document.getElementById(\"tcostfieldname\"+kn+\"_\"+1).value != '')\r\n                                  charge_price += parseFloat(document.getElementById(\"tcostfieldname\"+kn+\"_\"+1).value);\r\n                          }\r\n                  } catch (e) { }  \r\n                  if (lastchecked1 != cp && cp != '' && charge_price > 0)    \r\n                  {\r\n                      lastchecked1 = cp;                      \r\n                      $dexQuery.ajax({\r\n                          type: \"POST\",\r\n                          url: \"https:\/\/beechtreekennelsdevon.co.uk\/Dog%20Exercise\/\",\r\n                          data: \"apphb_check_coupon=\"+cp+\"&formid=1&basecost=\"+charge_price,\r\n                          success: function(data)\r\n                          {\r\n                              data = data.trim(data);\r\n                              var parts = data.split(\"___*_\");                            \r\n                              if (parts[1] == $dexQuery(\"#couponcode_1\").val())\r\n                                  $dexQuery(\"#ahbdiscountnote1\").html(parts[2]);\r\n                          }     \r\n                      });                      \r\n                  } else if (cp == '') { $dexQuery(\"#ahbdiscountnote1\").html(''); lastchecked1 = ''; } \r\n               } \r\n              <\/script>\r\n                      \r\n<!--addons-payment-fields-->\r\n<!-- rcadon -->\r\n<\/div>\r\n<\/div>\r\n<div id=\"cp_subbtn_1\" class=\"cp_subbtn\">Book your slot<\/div>\r\n<div style=\"clear:both;\"><\/div>\r\n<\/form>\r\n<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/beechtreekennelsdevon.co.uk\/Dog%20Exercise\/index.php\/wp-json\/wp\/v2\/pages\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/beechtreekennelsdevon.co.uk\/Dog%20Exercise\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/beechtreekennelsdevon.co.uk\/Dog%20Exercise\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/beechtreekennelsdevon.co.uk\/Dog%20Exercise\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/beechtreekennelsdevon.co.uk\/Dog%20Exercise\/index.php\/wp-json\/wp\/v2\/comments?post=5"}],"version-history":[{"count":18,"href":"https:\/\/beechtreekennelsdevon.co.uk\/Dog%20Exercise\/index.php\/wp-json\/wp\/v2\/pages\/5\/revisions"}],"predecessor-version":[{"id":105,"href":"https:\/\/beechtreekennelsdevon.co.uk\/Dog%20Exercise\/index.php\/wp-json\/wp\/v2\/pages\/5\/revisions\/105"}],"wp:attachment":[{"href":"https:\/\/beechtreekennelsdevon.co.uk\/Dog%20Exercise\/index.php\/wp-json\/wp\/v2\/media?parent=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}