{"id":2100,"date":"2024-01-24T19:13:36","date_gmt":"2024-01-24T12:13:36","guid":{"rendered":"https:\/\/689pinetrees.com\/jet-popup\/inquire-popup-2\/"},"modified":"2024-07-04T23:43:35","modified_gmt":"2024-07-04T16:43:35","slug":"inquire-popup-2","status":"publish","type":"jet-popup","link":"https:\/\/689pinetrees.com\/zh\/jet-popup\/inquire-popup-2\/","title":{"rendered":"Inquire Popup Residence"},"content":{"rendered":"<div data-elementor-type=\"jet-popup\" data-elementor-id=\"2100\" class=\"elementor elementor-2100\" data-elementor-post-type=\"jet-popup\">\n\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a7f1540 e-con-full e-flex e-con e-parent\" data-id=\"a7f1540\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;,&quot;_ha_eqh_enable&quot;:false}\" data-core-v316-plus=\"true\">\n\t\t<div class=\"elementor-element elementor-element-4b3ca06 e-con-full e-flex e-con e-child\" data-id=\"4b3ca06\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;,&quot;_ha_eqh_enable&quot;:false}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f1761b9 elementor-widget elementor-widget-heading\" data-id=\"f1761b9\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.18.0 - 20-12-2023 *\/\n.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}<\/style><h2 class=\"elementor-heading-title elementor-size-default\">Inquire Now<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4899930 elementor-widget elementor-widget-jet-form-builder-form\" data-id=\"4899930\" data-element_type=\"widget\" data-widget_type=\"jet-form-builder-form.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<link rel='stylesheet' id='wp-block-library-css' href='https:\/\/689pinetrees.com\/wp-includes\/css\/dist\/block-library\/style.min.css?ver=6.4.8' media='all' \/>\n<style id=\"jet-form-builder-2089-inline-css\"><\/style><form  class=\"jet-form-builder layout-column submit-type-ajax\" action=\"https:\/\/689pinetrees.com\/zh\/wp-json\/wp\/v2\/jet-popup\/2100\/?jet_form_builder_submit=submit&#038;method=reload\" method=\"POST\" data-form-id=\"2089\" data-layout=\"column\" enctype=\"multipart\/form-data\" novalidate=\"null\" data-trp-original-action=\"https:\/\/689pinetrees.com\/zh\/wp-json\/wp\/v2\/jet-popup\/2100\/?jet_form_builder_submit=submit&amp;method=reload\"><input type=\"hidden\" id=\"_wpnonce\" name=\"_wpnonce\" value=\"158cba2d9c\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/zh\/wp-json\/wp\/v2\/jet-popup\/2100\" \/>\r\n<input type=\"hidden\" name=\"_jfb_current_render_states[]\" value=\"DEFAULT.STATE\" data-jfb-sync \/><input type=\"hidden\" class=\"jet-form-builder__field hidden-field\" name=\"_jet_engine_booking_form_id\" data-field-name=\"_jet_engine_booking_form_id\" value=\"2089\">\n<input type=\"hidden\" class=\"jet-form-builder__field hidden-field\" name=\"_jet_engine_refer\" data-field-name=\"_jet_engine_refer\" value=\"https:\/\/689pinetrees.com\/zh\/wp-json\/wp\/v2\/jet-popup\/2100\/\">\n<input type=\"hidden\" class=\"jet-form-builder__field hidden-field\" name=\"__queried_post_id\" data-field-name=\"__queried_post_id\" value=\"2100\">\n\n<input type=\"hidden\" class=\"jet-form-builder__field hidden-field\" name=\"post_id\" data-field-name=\"post_id\" data-jfb-sync=\"null\" value=\"2100\">\n\n\n\n<div  class=\"jet-form-builder-row field-type-select-field wp-block-jet-forms-select-field\">\n<div class=\"jet-form-builder__label\">\r\n<div class=\"jet-form-builder__label-text\">Property<\/div><\/div><div class=\"jet-form-builder__field-wrap\">\n\t<select class=\"jet-form-builder__field select-field\" name=\"property\" data-field-name=\"property\" id=\"property\" data-jfb-sync=\"null\">\n\t\t<option value=\"\"  selected>Select Property<\/option><option value=\"4384\" >\u00a0Baan Pa Klok Residence<\/option><option value=\"4344\" >Na Tai Residence<\/option><option value=\"4321\" >Surin Residence<\/option><option value=\"4282\" >Laem Singh Residence<\/option><option value=\"4260\" >Cape Yamu Residence Phuket<\/option><option value=\"4238\" >Kamala Residence Phuket<\/option><option value=\"4169\" >Balco Bangtao Beach<\/option><option value=\"4092\" >So Origin Bangtao Beach<\/option><option value=\"4034\" >Anantara Chiangmai<\/option><option value=\"3620\" >Kiara Reserve Residences<\/option><option value=\"3155\" >The EXTRO Phayathai \u2013 Rangnam\u00a0<\/option><option value=\"3124\" >The Esse Asoke<\/option><option value=\"3060\" >The ESSE Sukhumvit 36<\/option><option value=\"2597\" >Mulberry Grove Sukhumvit<\/option><option value=\"358\" >Four Seasons Resort Chiang Mai<\/option><option value=\"352\" >The Residences at Mandarin Oriental<\/option><option value=\"348\" >The Aspen Tree at The Forestias<\/option>\t<\/select>\n<\/div>\n<\/div>\n\n<div  class=\"jet-form-builder-row field-type-select-field wp-block-jet-forms-select-field\">\n<div class=\"jet-form-builder__label\">\r\n<div class=\"jet-form-builder__label-text\">Residence<\/div><\/div><div class=\"jet-form-builder__field-wrap\">\n\t<select class=\"jet-form-builder__field select-field\" name=\"residence\" data-field-name=\"residence\" id=\"residence\" data-jfb-sync=\"null\">\n\t\t<option value=\"\"  selected>Select Residence<\/option><option value=\"4189\" >The Legacy<\/option><option value=\"4188\" >The Signature<\/option><option value=\"4149\" >So Suite<\/option><option value=\"4129\" >So Signature<\/option><option value=\"4106\" >So Superior<\/option><option value=\"4075\" >3 Bedroom Suite<\/option><option value=\"4064\" >2 Bedroom Suite<\/option><option value=\"4049\" >1 Bedroom Suite<\/option><option value=\"3993\" >Duplex Penthouse<\/option><option value=\"3918\" >Two Bedroom at Mulberry Grove Sukhumvit<\/option><option value=\"3880\" >Two Bedroom at The ESSE Sukhumvit 36<\/option><option value=\"3769\" >One Bedroom<\/option><option value=\"3662\" >Residences Villa<\/option><option value=\"3648\" >Residence 3 Bedrooms<\/option><option value=\"3506\" >Hotel Overview<\/option><option value=\"3485\" >The Estates Samui (Villa IIl)<\/option><option value=\"3480\" >The Estates Samui (Villa II)<\/option><option value=\"3430\" >The Estates Samui (Villa I)<\/option><option value=\"3390\" >test<\/option><option value=\"3163\" >Two Bedroom<\/option><option value=\"3140\" >One Bedroom at The ESSE Asoke<\/option><option value=\"3064\" >One Bedroom at The ESSE Sukhumvit 36<\/option><option value=\"3039\" >HERITAGE PENTHOUSE SUITES<\/option><option value=\"3027\" >PENTHOUSE<\/option><option value=\"3017\" >DUPLEX<\/option><option value=\"3010\" >SINGLE - STOREY<\/option><option value=\"3000\" >VILLAS : FOUR BEDROOM<\/option><option value=\"2950\" >VILLAS : THREE BEDROOM<\/option><option value=\"2879\" >SKY VILLA RESIDENCES<\/option><option value=\"2876\" >Active Living Condominium: Two Bedroom<\/option><option value=\"2846\" >ACTIVE LIVING CONDOMINIUM : ONE BEDROOM<\/option><option value=\"2669\" >PHUKET VILLA<\/option><option value=\"2588\" >One Bedroom at Mulberry Grove Sukhumvit<\/option><option value=\"2530\" >Test Residence<\/option><option value=\"1202\" >Studio Suite in Aspen<\/option><option value=\"601\" >\u67e5\u770b\u5168\u90e8<\/option><option value=\"388\" >\u9876\u5c42\u5957\u623f<\/option>\t<\/select>\n<\/div>\n<\/div>\n\n<div  class=\"jet-form-builder-row field-type-select-field wp-block-jet-forms-select-field\">\n<div class=\"jet-form-builder__label\">\r\n<div class=\"jet-form-builder__label-text\">Residence Type<\/div><\/div><div class=\"jet-form-builder__field-wrap\">\n\t<select class=\"jet-form-builder__field select-field\" name=\"residence_type\" data-field-name=\"residence_type\" id=\"residence_type\" data-jfb-sync=\"null\" data-default-val=\"%post_id%\">\n\t\t<option value=\"\" >Select Residence Type<\/option><option value=\"4090\" >Residence 3 Bedrooms<\/option><option value=\"3857\" >SINGLE - STORY<\/option><option value=\"3854\" >DUPLEX<\/option><option value=\"3851\" >PENTHOUSE<\/option><option value=\"3848\" >VILLAS : FOUR BEDROOM<\/option><option value=\"3843\" >VILLAS : THREE BEDROOM<\/option><option value=\"3584\" >Project Info<\/option><option value=\"3582\" >HERITAGE PENTHOUSE SUITES<\/option><option value=\"3572\" >Sky Villa Residences<\/option><option value=\"3566\" >Project Hilight<\/option><option value=\"3563\" >Bed Room<\/option><option value=\"3555\" >2 Bedrooms<\/option><option value=\"3509\" >Four Seasons Resort Chaingmai<\/option><option value=\"3482\" >The Estates Samui (Villa IIl)<\/option><option value=\"3476\" >The Estates Samui (Villa II)<\/option><option value=\"3436\" >The Estates Samui (Villa I)<\/option><option value=\"2853\" >Active Living Condominium : One Bedroom<\/option><option value=\"2850\" ><\/option><option value=\"2695\" >The Villa<\/option><option value=\"2560\" >\u0e2b\u0e49\u0e2d\u0e07123<\/option><option value=\"2553\" >Test Create Residence type<\/option><option value=\"2531\" >Test Residence type<\/option><option value=\"1175\" >Studio One<\/option><option value=\"719\" >Heritage Penthouse Suites<\/option>\t<\/select>\n<\/div>\n<\/div>\n\n<div  class=\"jet-form-builder-row field-type-text-field\" >\n<div class=\"jet-form-builder__label\">\r\n<div class=\"jet-form-builder__label-text\">\u540d\u79f0 <span class=\"jet-form-builder__required\">*<\/span><\/div><\/div><div class=\"jet-form-builder__field-wrap\">\n\t<input placeholder=\"\u60a8\u7684\u59d3\u540d\" required=\"required\" name=\"name\" id=\"name\" type=\"text\" data-field-name=\"name\" class=\"jet-form-builder__field text-field\" data-jfb-sync=\"null\">\n<\/div>\n<\/div>\n\n<div  class=\"jet-form-builder-row field-type-text-field\" >\n<div class=\"jet-form-builder__label\">\r\n<div class=\"jet-form-builder__label-text\">\u7535\u5b50\u90ae\u4ef6 <span class=\"jet-form-builder__required\">*<\/span><\/div><\/div><div class=\"jet-form-builder__field-wrap\">\n\t<input placeholder=\"\u60a8\u7684\u7535\u5b50\u90ae\u4ef6\" required=\"required\" name=\"email\" id=\"email\" type=\"text\" data-field-name=\"email\" class=\"jet-form-builder__field text-field\" data-jfb-sync=\"null\">\n<\/div>\n<\/div>\n\n<div  class=\"jet-form-builder-row field-type-checkbox-field\" >\n<div class=\"jet-form-builder__fields-group checkradio-wrap\" data-jfb-sync><div class=\"jet-form-builder__field-wrap checkboxes-wrap checkradio-wrap\"><label class=\"jet-form-builder__field-label for-checkbox\">\n<input type=\"checkbox\" name=\"consent\" value=\"consent\" data-field-name=\"consent\"  class=\"jet-form-builder__field checkboxes-field checkradio-field\"><span>Compliance and Compliance in various benefits Receive news and public relations information to promote various special privileges.<\/span><\/label><\/div><\/div>\n<\/div>\n\n<div  class=\"jet-form-builder-row field-type-submit-field\" >\n\t<div data-type=\"submit\" class=\"jet-form-builder__action-button-wrapper jet-form-builder__submit-wrap\">\n\t<button class=\"jet-form-builder__action-button btn-send-message jet-form-builder__submit submit-type-ajax\" type=\"submit\">\u53d1\u9001\u4fe1\u606f<\/button>\n\t<\/div>\n\t\n<\/div>\t<div class=\"jet-form-builder-messages-wrap\" data-form-id=\"2089\"><\/div>\n<input type=\"hidden\" name=\"trp-form-language\" value=\"zh\"\/><\/form>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3cafcab elementor-widget elementor-widget-html\" data-id=\"3cafcab\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<script>\r\n   \r\nvar form = jQuery('form[data-form-id=\"2089\"]');\r\nif (form.length > 0){\r\n   var propertySelect = form.find('select[name=\"property\"]');\r\n    var propertySelectX = document.querySelector('form[data-form-id=\"2089\"] select[name=\"property\"]');\r\n    \r\n    if (propertySelect.length > 0){\r\n       var selectedProperty = propertySelect.val();\r\n    \r\n       form.find('select[name=\"residence\"] option:not([value=\"\"])').hide();\r\n                \r\n         if (selectedProperty != \"\"){\r\n            var url = \"https:\/\/689pinetrees.com\/wp-json\/jet-rel\/6\/children\/\" + selectedProperty;\r\n            \r\n            jQuery.getJSON(url, function (data) {\r\n                var propertyChild = data.map(item => item.child_object_id);\r\n              \r\n                form.find('select[name=\"residence\"] option').filter(function() {\r\n                        return propertyChild.indexOf(jQuery(this).val()) !== -1;\r\n                    }).show();\r\n                        \r\n                form.find('select[name=\"residence\"]').val(form.find('select[name=\"residence\"]').data('default-val')).change();\r\n            });\r\n        }\r\n    }\r\n    \r\n    propertySelectX.addEventListener('change', (e) => {\r\n\t    var selectedProperty = e.target.value;\r\n\r\n        form.find('select[name=\"residence\"] option:not([value=\"\"])').hide();\r\n        form.find('select[name=\"residence\"]').val('').change();\r\n            \r\n        form.find('select[name=\"residence_type\"] option:not([value=\"\"])').hide();\r\n        form.find('select[name=\"residence_type\"]').val('').change();\r\n        \r\n        if (selectedProperty != \"\"){\r\n           var url = \"https:\/\/689pinetrees.com\/wp-json\/jet-rel\/6\/children\/\" + selectedProperty;\r\n                \r\n            jQuery.getJSON(url, function (data) {\r\n                var propertyChild = data.map(item => item.child_object_id);\r\n               \r\n                \r\n                form.find('select[name=\"residence\"] option').filter(function() {\r\n                    return propertyChild.indexOf(jQuery(this).val()) !== -1;\r\n                }).show();\r\n            });\r\n        }\r\n    });\r\n\r\n\r\n    \/\/ RESIDENCE SELECT CHANGE TYPE\r\n    var residenceSelect = form.find('select[name=\"residence\"]');\r\n    var residenceSelectX = document.querySelector('form[data-form-id=\"2089\"] select[name=\"residence\"]');\r\n\r\n    if (residenceSelect.length > 0){\r\n        var selectedResidence = residenceSelect.val();\r\n\r\n        form.find('select[name=\"residence_type\"] option:not([value=\"\"])').hide();\r\n                \r\n        if (selectedResidence != \"\"){\r\n            var url = \"https:\/\/689pinetrees.com\/wp-json\/jet-rel\/10\/children\/\" + selectedResidence;\r\n            \r\n            jQuery.getJSON(url, function (data) {\r\n                var residenceChild = data.map(item => item.child_object_id);\r\n          \r\n                form.find('select[name=\"residence_type\"] option').filter(function() {\r\n                    return residenceChild.indexOf(jQuery(this).val()) !== -1;\r\n                }).show();\r\n                    \r\n                form.find('select[name=\"residence_type\"]').val(form.find('select[name=\"residence_type\"]').data('default-val')).change();\r\n            });\r\n        }\r\n    }\r\n    \r\n    residenceSelectX.addEventListener('change', (e) => {\r\n\t    var selectedResidence = e.target.value;\r\n\r\n        form.find('select[name=\"residence_type\"] option:not([value=\"\"])').hide();\r\n        form.find('select[name=\"residence_type\"]').val('').change();\r\n                \r\n        if (selectedResidence != \"\"){\r\n            var url = \"https:\/\/689pinetrees.com\/wp-json\/jet-rel\/10\/children\/\" + selectedResidence;\r\n            \r\n            jQuery.getJSON(url, function (data) {\r\n                var residenceChild = data.map(item => item.child_object_id);\r\n     \r\n                \r\n                form.find('select[name=\"residence_type\"] option').filter(function() {\r\n                    return residenceChild.indexOf(jQuery(this).val()) !== -1;\r\n                }).show();\r\n            });\r\n        }\r\n    });\r\n}\r\n<\/script>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-077c444 e-con-full e-flex e-con e-child\" data-id=\"077c444\" data-element_type=\"container\" data-settings=\"{&quot;content_width&quot;:&quot;full&quot;,&quot;background_background&quot;:&quot;classic&quot;,&quot;_ha_eqh_enable&quot;:false}\">\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>","protected":false},"author":2,"template":"","meta":{"_jf_save_progress":"","_styles":{"container_width":"800px","container_custom_height":false,"container_height":"","container_hor_position":"center","container_ver_position":"center","content_ver_position":"flex-start","container_bg_color":"#fff","container_bg":{"type":"classic","color":"#fff","bg_image_id":"","bg_image_url":"","bg_position":"center center","bg_repeat":"no-repeat","bg_size":"auto","gradient":"linear-gradient(160deg, rgba(85,85,85,0.8477984943977591) 0%, rgba(0,0,0,0.8505996148459384) 100%)"},"container_hor_padding":"20px","container_ver_padding":"20px","container_hor_margin":"0px","container_ver_margin":"0px","container_border":"0px solid #fff","container_border_color":"#fff","container_border_style":"solid","container_border_width":"1px","container_border_radius":"0px","container_box_shadow":"none","overlay_bg_color":"#0000007D","overlay_bg":{"type":"classic","color":"#0000007D","bg_image_id":"","bg_image_url":"","bg_position":"center center","bg_repeat":"no-repeat","bg_size":"auto","gradient":"linear-gradient(160deg, rgba(85,85,85,0.8477984943977591) 0%, rgba(0,0,0,0.8505996148459384) 100%)"},"close_button_icon_color":"#fff","close_button_icon_size":"16px","close_button_bg_color":"#000","close_button_size":"32px","close_button_border":"1px solid #000","close_button_border_radius":"0px","close_button_translate_x":"0px","close_button_translate_y":"0px","z_index":"999"},"_settings":{"jet_popup_type":"default","jet_popup_animation":"zoom-in","jet_popup_open_trigger":"attach","jet_popup_page_load_delay":1,"jet_popup_user_inactivity_time":1,"jet_popup_scrolled_to_value":10,"jet_popup_on_date_value":"2024-02-24 23:18","jet_popup_on_time_start_value":"","jet_popup_on_time_end_value":"","jet_popup_custom_selector":"","jet_popup_prevent_scrolling":"yes","jet_popup_show_once":"no","jet_popup_show_again_delay":"none","jet_popup_use_ajax":"","jet_popup_force_ajax":"yes","jet_role_condition":[],"use_close_button":"yes","close_button_icon":"","selected_close_button_icon":{"value":"icon icon-cross","library":"icomoon"},"use_overlay":"yes","close_on_overlay_click":"yes","use_content_cache":true}},"_links":{"self":[{"href":"https:\/\/689pinetrees.com\/zh\/wp-json\/wp\/v2\/jet-popup\/2100"}],"collection":[{"href":"https:\/\/689pinetrees.com\/zh\/wp-json\/wp\/v2\/jet-popup"}],"about":[{"href":"https:\/\/689pinetrees.com\/zh\/wp-json\/wp\/v2\/types\/jet-popup"}],"author":[{"embeddable":true,"href":"https:\/\/689pinetrees.com\/zh\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":84,"href":"https:\/\/689pinetrees.com\/zh\/wp-json\/wp\/v2\/jet-popup\/2100\/revisions"}],"predecessor-version":[{"id":4505,"href":"https:\/\/689pinetrees.com\/zh\/wp-json\/wp\/v2\/jet-popup\/2100\/revisions\/4505"}],"wp:attachment":[{"href":"https:\/\/689pinetrees.com\/zh\/wp-json\/wp\/v2\/media?parent=2100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}