{"id":30189,"date":"2020-04-24T12:11:53","date_gmt":"2020-04-24T16:11:53","guid":{"rendered":"https:\/\/bhspringsolutions.com\/?page_id=30189"},"modified":"2020-04-24T12:11:54","modified_gmt":"2020-04-24T16:11:54","slug":"booking-form-2","status":"publish","type":"page","link":"https:\/\/bhspringsolutions.com\/index.php\/booking-form-2\/","title":{"rendered":"Booking Form"},"content":{"rendered":"<p>This is a <b>preview<\/b> page, remember to publish it if needed. You can edit the full calendar and form settings into the admin settings page.<\/p>\n<!--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_cost_label = 'Cost';\n         var cp_hourbk_overlapping_label = 'Selected time isn\\'t 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                {                        \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                    }                    \t\t\tvar recaptcha = $dexQuery( '[name=\"cp_appbooking_pform_1\"] [name=\"g-recaptcha-response\"]' );\n\t\t\tif( \n\t\t\t\trecaptcha.length == 0 ||\n\t\t\t\t\/^\\s*$\/.test( recaptcha.val() )\n\t\t\t)\n\t\t\t{\n\t\t\t\talert('Captcha verification is missing.');\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tvar result = $dexQuery.ajax({\n\t\t\t\t\ttype: \"GET\",\n\t\t\t\t\turl:  \"https:\/\/bhspringsolutions.com\",\n\t\t\t\t\tdata: {\n\t\t\t\t\t\tps: \"1\",\n\t\t\t\t\t\tcpappb_recaptcha_response: recaptcha.val()\n\t\t\t\t\t},\n\t\t\t\t\tasync: false\n\t\t\t\t}).responseText;\n\t\t\t\tif (result.indexOf(\"captchafailed\") != -1)\n\t\t\t\t{\n\t\t\t\t\talert('Captcha verification failed. Please try again.');\n\t\t\t\t\treturn false;\n\t\t\t\t}\t\n\t\t\t}\t\n\t\t\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        <form 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=\"3\" \/><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;BH Telephone Consultation&quot;,&quot;index&quot;:0,&quot;ftype&quot;:&quot;fapp&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:false,&quot;csslayout&quot;:&quot;&quot;,&quot;title&quot;:&quot;Appointment&quot;,&quot;services&quot;:[{&quot;name&quot;:&quot;BH Consultation&quot;,&quot;price&quot;:1,&quot;capacity&quot;:1,&quot;duration&quot;:&quot;15&quot;,&quot;pb&quot;:0,&quot;pa&quot;:0,&quot;ohindex&quot;:0}],&quot;openhours&quot;:[],&quot;allOH&quot;:[{&quot;name&quot;:&quot;Default&quot;,&quot;openhours&quot;:[{&quot;type&quot;:&quot;d6&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;type&quot;:&quot;d0&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;type&quot;:&quot;d1&quot;,&quot;d&quot;:&quot;&quot;,&quot;h1&quot;:&quot;8&quot;,&quot;m1&quot;:&quot;0&quot;,&quot;h2&quot;:&quot;20&quot;,&quot;m2&quot;:&quot;0&quot;},{&quot;type&quot;:&quot;d2&quot;,&quot;d&quot;:&quot;&quot;,&quot;h1&quot;:&quot;8&quot;,&quot;m1&quot;:&quot;0&quot;,&quot;h2&quot;:&quot;20&quot;,&quot;m2&quot;:&quot;0&quot;},{&quot;type&quot;:&quot;d3&quot;,&quot;d&quot;:&quot;&quot;,&quot;h1&quot;:&quot;8&quot;,&quot;m1&quot;:&quot;0&quot;,&quot;h2&quot;:&quot;20&quot;,&quot;m2&quot;:&quot;0&quot;},{&quot;type&quot;:&quot;d4&quot;,&quot;d&quot;:&quot;&quot;,&quot;h1&quot;:&quot;8&quot;,&quot;m1&quot;:&quot;0&quot;,&quot;h2&quot;:&quot;20&quot;,&quot;m2&quot;:&quot;0&quot;},{&quot;type&quot;:&quot;d5&quot;,&quot;d&quot;:&quot;&quot;,&quot;h1&quot;:&quot;8&quot;,&quot;m1&quot;:&quot;0&quot;,&quot;h2&quot;:&quot;20&quot;,&quot;m2&quot;:&quot;0&quot;}]}],&quot;dateFormat&quot;:&quot;mm\\\/dd\\\/yy&quot;,&quot;showDropdown&quot;:false,&quot;showTotalCost&quot;:false,&quot;showTotalCostFormat&quot;:&quot;$ {0}&quot;,&quot;showEndTime&quot;:false,&quot;showQuantity&quot;:false,&quot;usedSlotsCheckbox&quot;:true,&quot;avoidOverlaping&quot;:true,&quot;emptySelectCheckbox&quot;:false,&quot;emptySelect&quot;:&quot;-- Please select service --&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;:0,&quot;firstDay&quot;:&quot;1&quot;,&quot;minDate&quot;:&quot;&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;:true,&quot;bSlots&quot;:30,&quot;militaryTime&quot;:&quot;0&quot;,&quot;fBuild&quot;:{},&quot;special_days&quot;:[],&quot;minDateTmp&quot;:&quot;&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;fPhone&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:false,&quot;csslayout&quot;:&quot;&quot;,&quot;title&quot;:&quot;Phone&quot;,&quot;required&quot;:true,&quot;readonly&quot;:false,&quot;dformat&quot;:&quot;### ### ####&quot;,&quot;predefined&quot;:&quot;888 888 8888&quot;,&quot;predefinedClick&quot;:true,&quot;fBuild&quot;:{}},{&quot;form_identifier&quot;:&quot;&quot;,&quot;name&quot;:&quot;fieldname5&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;Your 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;5&quot;,&quot;maxlength&quot;:&quot;120&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;&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&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;ftext&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:false,&quot;csslayout&quot;:&quot;&quot;,&quot;title&quot;:&quot;Please write a short summary of what you want to discuss&quot;,&quot;predefined&quot;:&quot;&quot;,&quot;predefinedClick&quot;:false,&quot;required&quot;:true,&quot;size&quot;:&quot;large&quot;,&quot;minlength&quot;:&quot;5&quot;,&quot;maxlength&quot;:&quot;2000&quot;,&quot;equalTo&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;:5,&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;https:\\\/\\\/bhspringsolutions.com\\\/index.php\\\/terms-and-conditions\\\/&quot;,&quot;message&quot;:&quot;&quot;,&quot;required&quot;:true,&quot;fBuild&quot;:{}}],[{&quot;title&quot;:&quot;BH Consultation Service&quot;,&quot;description&quot;:&quot;Schedule your 15 Minute FREE Consultation with a BHSpringSolutions Co-Founder for: Technical Questions and Technical Support \\\/ Telephone Orders \\\/ BH Serivce Dept Masterpiece-Maker Service, or Assistance Planning the Optimization of your handgun.\\nPlease Note:\\nAll appointments are in U.S. Eastern Standard Time. For best results, please allow 24 hrs between the appointment and the reservation. This will guarantee that the system will process your request properly. Thank You&quot;,&quot;formlayout&quot;:&quot;top_aligned&quot;,&quot;formtemplate&quot;:&quot;&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=\"fd6483b1f3\"\/><input type=\"hidden\" name=\"edititem\" value=\"\" \/><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 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\"><!--addons-payment-options--><\/div>\r\n    <div class=\"clearer\"><\/div>\r\n <\/div><!--addons-payment-fields-->\r\n<div style=\"margin-top:20px;\" class=\"g-recaptcha\" data-sitekey=\"6LcJWFQkAAAAADxSYU9RQ1lT4C61_yNZcn7drd9S\"><\/div><\/form>\r\n<\/div>\r\n<div id=\"cp_subbtn_1\" class=\"cp_subbtn\">Submit<\/div>\r\n<div style=\"clear:both;\"><\/div>\r\n<input type=\"hidden\" name=\"cpapphbddf6d\" value=\"\"><\/form>\r\n\n","protected":false},"excerpt":{"rendered":"<p>This is a preview page, remember to publish it if needed. You can edit the full calendar and form settings into the admin settings page.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"class_list":["post-30189","page","type-page","status-publish","hentry"],"aioseo_notices":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bhspringsolutions.com\/index.php\/wp-json\/wp\/v2\/pages\/30189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bhspringsolutions.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bhspringsolutions.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bhspringsolutions.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bhspringsolutions.com\/index.php\/wp-json\/wp\/v2\/comments?post=30189"}],"version-history":[{"count":0,"href":"https:\/\/bhspringsolutions.com\/index.php\/wp-json\/wp\/v2\/pages\/30189\/revisions"}],"wp:attachment":[{"href":"https:\/\/bhspringsolutions.com\/index.php\/wp-json\/wp\/v2\/media?parent=30189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}