{"id":2962,"date":"2023-11-15T09:57:42","date_gmt":"2023-11-15T02:57:42","guid":{"rendered":"https:\/\/www.dent.psu.ac.th\/unit\/ethic\/index.php\/wpbc-booking\/"},"modified":"2023-11-15T09:57:42","modified_gmt":"2023-11-15T02:57:42","slug":"wpbc-booking","status":"publish","type":"page","link":"https:\/\/www.dent.psu.ac.th\/unit\/ethic\/index.php\/wpbc-booking\/","title":{"rendered":"Booking Form"},"content":{"rendered":" <div id=\"form_id944760108712\"  class=\"wpbc_container wpbc_form wpbc_container_booking_form  \" ><form  id=\"booking_form1\"   class=\"booking_form vertical\" method=\"post\" action=\"\"><div id=\"ajax_respond_insert1\" class=\"ajax_respond_insert\" style=\"display:none;\"><\/div><a name=\"bklnk1\" id=\"bklnk1\"><\/a><div id=\"booking_form_div1\" class=\"booking_form_div\"><style type=\"text\/css\">.wpbc_container_booking_form .block_hints, .wpbc_booking_form_simple.wpbc_form_center .wpbc__form__div .wpbc__row.wpbc_r_calendar,  .wpbc_booking_form_simple .wpbc__form__div .wpbc__row:not(.wpbc_r_calendar){max-width:440px;} <\/style>\n<div class=\"wpbc_booking_form_simple \">\n   <div class=\"wpbc__form__div\">\n    <div class=\"wpbc_r_calendar wpbc__row\">\n      <div class=\"wpbc__field\"> <div class=\"wpbc_calendar_wraper wpbc_change_over_triangle\"><div class=\"wpbc_cal_container bk_calendar_frame wpbc_no_custom_width  months_num_in_row_ cal_month_num_1 wpbc_timeslot_day_bg_as_available\" style=\"\"><div id=\"calendar_booking1\">Calendar is loading...<\/div><\/div><div style=\"font-size:7px;text-align:left;margin:0 0 10px;text-shadow: none;\">Powered by <a href=\"https:\/\/wpbookingcalendar.com\" style=\"font-size:7px;\" target=\"_blank\" title=\"Booking Calendar plugin for WordPress\">Booking Calendar<\/a><\/div><textarea id=\"date_booking1\" name=\"date_booking1\" autocomplete=\"off\" style=\"display:none;\"><\/textarea><\/div><\/div>\n    <\/div>\n    <div class=\"wpbc_r_name wpbc__row\">\n      <div class=\"wpbc__field\">  <label for=\"name1\">First Name*:<\/label><br>   <input type=\"text\" name=\"name1\" id=\"name1\" class=\"input-xlarge wpdev-validates-as-required\" \/><\/div>\n    <\/div>\n    <div class=\"wpbc_r_secondname wpbc__row\">\n      <div class=\"wpbc__field\">  <label for=\"secondname1\">Last Name*:<\/label><br>   <input type=\"text\" name=\"secondname1\" id=\"secondname1\" class=\"input-xlarge wpdev-validates-as-required\" \/><\/div>\n    <\/div>\n    <div class=\"wpbc_r_email wpbc__row\">\n      <div class=\"wpbc__field\">  <label for=\"email1\">Email*:<\/label><br>   <input type=\"text\" name=\"email1\" id=\"email1\" class=\"input-xlarge wpdev-validates-as-email wpdev-validates-as-required wpdev-validates-as-required\" \/><\/div>\n    <\/div>\n    <div class=\"wpbc_r_phone wpbc__row\">\n      <div class=\"wpbc__field\">  <label for=\"phone1\">Phone:<\/label><br>   <input type=\"text\" name=\"phone1\" id=\"phone1\" class=\"input-xlarge\" \/><\/div>\n    <\/div>\n    <div class=\"wpbc_r_details wpbc__row\">\n      <div class=\"wpbc__field\">  <label for=\"details1\">Details:<\/label><br>   <textarea  rows=\"3\" name=\"details1\" id=\"details1\" class=\"input-xlarge\" ><\/textarea><\/div>\n    <\/div>\n    <div class=\"wpbc_r_captcha wpbc__row\">\n      <div class=\"wpbc__field\"> <\/div>\n    <\/div>\n    <div class=\"wpbc_r_submit wpbc__row\">\n      <div class=\"wpbc__field\"> <button class=\"wpbc_button_light\" type=\"button\" onclick=\"mybooking_submit(this.form,1,'th');\" >Send<\/button>\n<\/div>\n    <\/div>\n   <\/div>\n<\/div><input id=\"bk_type1\" name=\"bk_type1\" class=\"\" type=\"hidden\" value=\"1\" \/><\/div><div id=\"submiting1\"><\/div><div class=\"form_bk_messages\" id=\"form_bk_messages1\" ><\/div><input type=\"hidden\" id=\"wpbc_nonceCALCULATE_THE_COST1\" name=\"wpbc_nonceCALCULATE_THE_COST1\" value=\"84b8db88ea\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/unit\/ethic\/index.php\/wp-json\/wp\/v2\/pages\/2962\" \/><\/form><\/div><div id=\"booking_form_garbage1\" class=\"booking_form_garbage\"><\/div><script type=\"text\/javascript\"> (function() { var a = setInterval( function() {  if ( ( 'undefined' === typeof jQuery ) || ! window.jQuery ) { return; } clearInterval( a ); jQuery( document ).ready( function (){ jQuery(\".widget_wpdev_booking .booking_form.form-horizontal\").removeClass(\"form-horizontal\");\n                                    var visible_calendars_count = _wpbc.get_other_param( \"calendars__on_this_page\" ).length;\n                                    if (visible_calendars_count !== null ) {\n                                        for (var i=0;i< visible_calendars_count ;i++){\n                                          if ( _wpbc.get_other_param( \"calendars__on_this_page\" )[i] === 1 ) {\n                                              document.getElementById(\"form_id944760108712\").innerHTML = \"<span style='color:#A00;font-size:10px;'>Warning! Booking calendar for this booking resource are already at the page, please check more about this issue at this page: https:\/\/wpbookingcalendar.com\/faq\/why-the-booking-calendar-widget-not-show-on-page\/<\/span>\";                                                                                                  \n                                              jQuery(\"#form_id944760108712\").animate( {opacity: 1}, 10000 ).fadeOut(5000);\n                                              return;\n                                          }\n                                        }\n                                        _wpbc.get_other_param( \"calendars__on_this_page\" )[ visible_calendars_count ]=1;\n                                    } } ); }, 500 ); })();<\/script> <script type=\"text\/javascript\"> (function() { var a = setInterval( function() {  if ( ( 'undefined' === typeof jQuery ) || ! window.jQuery ) { return; } clearInterval( a ); jQuery( document ).ready( function (){ _wpbc.balancer__set_max_threads( 3 );  _wpbc.calendar__set_param_value( 1 , 'calendar_scroll_to' , false );  _wpbc.calendar__set_param_value( 1 , 'booking_max_monthes_in_calendar' , '1y' );  _wpbc.calendar__set_param_value( 1 , 'booking_start_day_weeek' , '0' );  _wpbc.calendar__set_param_value( 1 , 'calendar_number_of_months' , '1' );   _wpbc.calendar__set_param_value( 1, 'days_select_mode', 'multiple' );   _wpbc.calendar__set_param_value( 1, 'fixed__days_num', 0 );   _wpbc.calendar__set_param_value( 1, 'fixed__week_days__start',   [] );   _wpbc.calendar__set_param_value( 1, 'dynamic__days_min', 0 );   _wpbc.calendar__set_param_value( 1, 'dynamic__days_max', 0 );   _wpbc.calendar__set_param_value( 1, 'dynamic__days_specific',    [] );   _wpbc.calendar__set_param_value( 1, 'dynamic__week_days__start', [] );   _wpbc.calendar__set_param_value( 1, 'booking_date_format', 'j F Y' );   _wpbc.calendar__set_param_value( 1, 'booking_time_format', 'H:i' );   if ( 'function' === typeof ( wpbc__conditions__SAVE_INITIAL__days_selection_params__bm ) ){ wpbc__conditions__SAVE_INITIAL__days_selection_params__bm( 1 ); }   wpbc_calendar_show( '1' );   _wpbc.set_secure_param( 'nonce',   'dd58a5be42' );   _wpbc.set_secure_param( 'user_id', '0' );   _wpbc.set_secure_param( 'locale',  'th' );  wpbc_calendar__load_data__ajx( {\"resource_id\":1,\"booking_hash\":\"\",\"request_uri\":\"\\\/unit\\\/ethic\\\/index.php\\\/wp-json\\\/wp\\\/v2\\\/pages\\\/2962\",\"custom_form\":\"standard\",\"aggregate_resource_id_str\":\"\",\"aggregate_type\":\"all\"} ); } ); }, 500 ); })();<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-2962","page","type-page","status-publish","hentry"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"\u0e0a\u0e19\u0e32\u0e22\u0e38\u0e17\u0e18 \u0e2b\u0e35\u0e1a\u0e40\u0e1e\u0e47\u0e0a\u0e23","author_link":"https:\/\/www.dent.psu.ac.th\/unit\/ethic\/index.php\/author\/chanayut-h\/"},"uagb_comment_info":0,"uagb_excerpt":null,"publishpress_future_action":{"enabled":false,"date":"2026-04-18 06:47:46","action":"change-status","newStatus":"draft","terms":[],"taxonomy":""},"_links":{"self":[{"href":"https:\/\/www.dent.psu.ac.th\/unit\/ethic\/index.php\/wp-json\/wp\/v2\/pages\/2962"}],"collection":[{"href":"https:\/\/www.dent.psu.ac.th\/unit\/ethic\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.dent.psu.ac.th\/unit\/ethic\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.dent.psu.ac.th\/unit\/ethic\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dent.psu.ac.th\/unit\/ethic\/index.php\/wp-json\/wp\/v2\/comments?post=2962"}],"version-history":[{"count":0,"href":"https:\/\/www.dent.psu.ac.th\/unit\/ethic\/index.php\/wp-json\/wp\/v2\/pages\/2962\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dent.psu.ac.th\/unit\/ethic\/index.php\/wp-json\/wp\/v2\/media?parent=2962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}