{"id":77953,"date":"2025-12-30T15:08:24","date_gmt":"2025-12-30T08:08:24","guid":{"rendered":"https:\/\/dev.businesseventsthailand.com\/event-submission-form\/"},"modified":"2026-01-19T16:45:10","modified_gmt":"2026-01-19T09:45:10","slug":"register-event","status":"publish","type":"page","link":"https:\/\/prodtceb.reveri.app\/th\/register-event\/","title":{"rendered":"\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e2a\u0e31\u0e21\u0e1e\u0e31\u0e19\u0e18\u0e4c\u0e07\u0e32\u0e19"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"77953\" class=\"elementor elementor-77953 elementor-77934\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-18a3945b e-con-full e-flex e-con e-parent\" data-id=\"18a3945b\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-3f7f900e e-flex e-con-boxed e-con e-child\" data-id=\"3f7f900e\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4de2a9a2 elementor-invisible elementor-widget elementor-widget-neuros_heading\" data-id=\"4de2a9a2\" data-element_type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInDown&quot;}\" data-widget_type=\"neuros_heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"neuros-heading-widget\"><h2 class=\"neuros-heading\"><span class=\"neuros-heading-content\">\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e2a\u0e31\u0e21\u0e1e\u0e31\u0e19\u0e18\u0e4c\u0e07\u0e32\u0e19<\/span><\/h2><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-088c790 elementor-invisible elementor-widget elementor-widget-heading\" data-id=\"088c790\" data-element_type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInDown&quot;}\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e01\u0e25\u0e32\u0e07\u0e18\u0e38\u0e23\u0e01\u0e34\u0e08\u0e17\u0e35\u0e48\u0e23\u0e38\u0e48\u0e07\u0e40\u0e23\u0e37\u0e2d\u0e07\u0e2d\u0e35\u0e40\u0e27\u0e19\u0e15\u0e4c\u0e21\u0e37\u0e2d\u0e2d\u0e32\u0e0a\u0e35\u0e1e\u0e21\u0e35\u0e02\u0e36\u0e49\u0e19\u0e21\u0e32\u0e01\u0e21\u0e32\u0e22\u0e17\u0e31\u0e48\u0e27\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e44\u0e17\u0e22\u0e04\u0e49\u0e19\u0e2b\u0e32\u0e07\u0e32\u0e19\u0e2d\u0e35\u0e40\u0e27\u0e19\u0e15\u0e4c\u0e43\u0e19\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e02\u0e2d\u0e07\u0e40\u0e23\u0e32<\/h2>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-6a6d9e14 e-flex e-con-boxed e-con e-child\" data-id=\"6a6d9e14\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-47518090 e-flex e-con-boxed e-con e-parent\" data-id=\"47518090\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-1f7f06dc e-con-full e-flex e-con e-child\" data-id=\"1f7f06dc\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-62f04705 event-submit-form elementor-widget elementor-widget-submit-event-form\" data-id=\"62f04705\" data-element_type=\"widget\" data-widget_type=\"submit-event-form.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\r\n    <form action=\"\/th\/wp-json\/wp\/v2\/pages\/77953\" method=\"post\" id=\"submit-event-form\" class=\"wpem-form-wrapper wpem-main event-manager-form\" enctype=\"multipart\/form-data\">\r\n\r\n                            <!-- Contact Information Section -->\r\n                    <h2 class=\"wpem-form-title wpem-heading-text\">\r\n                        \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1c\u0e39\u0e49\u0e15\u0e34\u0e14\u0e15\u0e48\u0e2d                    <\/h2>\r\n                \r\n                <fieldset class=\"wpem-form-group fieldset-register_name_title\">\r\n                    <label for=\"register_name_title\">\r\n                        \u0e04\u0e33\u0e19\u0e33\u0e2b\u0e19\u0e49\u0e32<span class=\"require-field\">*<\/span>                    <\/label>\r\n                    <div class=\"field required-field\">\r\n                        <select name=\"register_name_title\" id=\"register_name_title\" required attribute=\"\">\n\n\t\t\t<option value=\"\"  selected='selected'>\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e04\u0e33\u0e19\u0e33\u0e2b\u0e19\u0e49\u0e32<\/option>\n\t\t\t<option value=\"mr\" >\u0e19\u0e32\u0e22<\/option>\n\t\t\t<option value=\"ms\" >\u0e19\u0e32\u0e07\u0e2a\u0e32\u0e27<\/option>\n\t\t\t<option value=\"mrs\" >\u0e19\u0e32\u0e07<\/option>\n\t\n<\/select>\n\n                    <\/div>\r\n                <\/fieldset>\r\n            \r\n                <fieldset class=\"wpem-form-group fieldset-register_first_name\">\r\n                    <label for=\"register_first_name\">\r\n                        \u0e0a\u0e37\u0e48\u0e2d<span class=\"require-field\">*<\/span>                    <\/label>\r\n                    <div class=\"field required-field\">\r\n                        <input type=\"text\" \n    class=\"input-text register_first_name\" \n    name=\"register_first_name\" \n    id=\"register_first_name\" \n    placeholder=\"\u0e0a\u0e37\u0e48\u0e2d\" \n    attribute=\"\" \n    value=\"\" \n    maxlength=\"\" \n    required \n     \n\/>\n\n                    <\/div>\r\n                <\/fieldset>\r\n            \r\n                <fieldset class=\"wpem-form-group fieldset-register_last_name\">\r\n                    <label for=\"register_last_name\">\r\n                        \u0e19\u0e32\u0e21\u0e2a\u0e01\u0e38\u0e25<span class=\"require-field\">*<\/span>                    <\/label>\r\n                    <div class=\"field required-field\">\r\n                        <input type=\"text\" \n    class=\"input-text register_last_name\" \n    name=\"register_last_name\" \n    id=\"register_last_name\" \n    placeholder=\"\u0e19\u0e32\u0e21\u0e2a\u0e01\u0e38\u0e25\" \n    attribute=\"\" \n    value=\"\" \n    maxlength=\"\" \n    required \n     \n\/>\n\n                    <\/div>\r\n                <\/fieldset>\r\n            \r\n                <fieldset class=\"wpem-form-group fieldset-register_name\">\r\n                    <label for=\"register_name\">\r\n                        \u0e1a\u0e23\u0e34\u0e29\u0e31\u0e17<span class=\"require-field\">*<\/span>                    <\/label>\r\n                    <div class=\"field required-field\">\r\n                        <input type=\"text\" \n    class=\"input-text register_name\" \n    name=\"register_name\" \n    id=\"register_name\" \n    placeholder=\"\u0e1a\u0e23\u0e34\u0e29\u0e31\u0e17\" \n    attribute=\"\" \n    value=\"\" \n    maxlength=\"\" \n    required \n     \n\/>\n\n                    <\/div>\r\n                <\/fieldset>\r\n            \r\n                <fieldset class=\"wpem-form-group fieldset-register_address\">\r\n                    <label for=\"register_address\">\r\n                        \u0e17\u0e35\u0e48\u0e2d\u0e22\u0e39\u0e48<span class=\"require-field\">*<\/span>                    <\/label>\r\n                    <div class=\"field required-field\">\r\n                        <textarea cols=\"20\" rows=\"3\" class=\"input-text\" name=\"register_address\" id=\"register_address\" attribute=\"\" placeholder=\"\u0e17\u0e35\u0e48\u0e2d\u0e22\u0e39\u0e48\" maxlength=\"\" required><\/textarea>\n                    <\/div>\r\n                <\/fieldset>\r\n            \r\n                <fieldset class=\"wpem-form-group fieldset-register_phone\">\r\n                    <label for=\"register_phone\">\r\n                        \u0e40\u0e1a\u0e2d\u0e23\u0e4c\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c<span class=\"require-field\">*<\/span>                    <\/label>\r\n                    <div class=\"field required-field\">\r\n                        <input type=\"text\" \n    class=\"input-text register_phone\" \n    name=\"register_phone\" \n    id=\"register_phone\" \n    placeholder=\"\u0e40\u0e1a\u0e2d\u0e23\u0e4c\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c\" \n    attribute=\"\" \n    value=\"\" \n    maxlength=\"\" \n    required \n     \n\/>\n\n                    <\/div>\r\n                <\/fieldset>\r\n            \r\n                <fieldset class=\"wpem-form-group fieldset-register_email\">\r\n                    <label for=\"register_email\">\r\n                        \u0e2d\u0e35\u0e40\u0e21\u0e25<span class=\"require-field\">*<\/span>                    <\/label>\r\n                    <div class=\"field required-field\">\r\n                        <input type=\"text\" \n    class=\"input-text register_email\" \n    name=\"register_email\" \n    id=\"register_email\" \n    placeholder=\"\u0e2d\u0e35\u0e40\u0e21\u0e25\" \n    attribute=\"\" \n    value=\"\" \n    maxlength=\"\" \n    required \n     \n\/>\n\n                    <\/div>\r\n                <\/fieldset>\r\n                                <!-- Event Information Section -->\r\n                    <h2 class=\"wpem-form-title wpem-heading-text\">\r\n                        \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e07\u0e32\u0e19                    <\/h2>\r\n                \r\n                <fieldset class=\"wpem-form-group fieldset-event_title\">\r\n                    <label for=\"event_title\">\r\n                        \u0e0a\u0e37\u0e48\u0e2d\u0e07\u0e32\u0e19<span class=\"require-field\">*<\/span>                    <\/label>\r\n                    <div class=\"field required-field\">\r\n                        <input type=\"text\" \n    class=\"input-text event_title\" \n    name=\"event_title\" \n    id=\"event_title\" \n    placeholder=\"\u0e0a\u0e37\u0e48\u0e2d\u0e07\u0e32\u0e19\" \n    attribute=\"\" \n    value=\"\" \n    maxlength=\"\" \n    required \n     \n\/>\n\n                    <\/div>\r\n                <\/fieldset>\r\n            \r\n                <fieldset class=\"wpem-form-group fieldset-event_description\">\r\n                    <label for=\"event_description\">\r\n                        \u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14<span class=\"require-field\">*<\/span>                    <\/label>\r\n                    <div class=\"field required-field\">\r\n                        <textarea cols=\"20\" rows=\"3\" class=\"input-text\" name=\"event_description\" id=\"event_description\" attribute=\"\" placeholder=\"\" maxlength=\"\" required><\/textarea>\n                    <\/div>\r\n                <\/fieldset>\r\n            \r\n                <fieldset class=\"wpem-form-group fieldset-website\">\r\n                    <label for=\"website\">\r\n                        \u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c                    <\/label>\r\n                    <div class=\"field \">\r\n                        <input type=\"text\" \n    class=\"input-text website\" \n    name=\"website\" \n    id=\"website\" \n    placeholder=\"www.example.com\" \n    attribute=\"\" \n    value=\"\" \n    maxlength=\"\" \n     \n     \n\/>\n\n                    <\/div>\r\n                <\/fieldset>\r\n            \r\n                <fieldset class=\"wpem-form-group fieldset-event_banner\">\r\n                    <label for=\"event_banner\">\r\n                        \u0e20\u0e32\u0e1e\u0e2b\u0e19\u0e49\u0e32\u0e1b\u0e01<span class=\"require-field\">*<\/span>                    <\/label>\r\n                    <div class=\"field required-field\">\r\n                        \n<div class=\"event-manager-uploaded-files\">\n\t<\/div>\n\n<input type=\"file\" class=\"input-text\" attribute=\"\" data-file_types=\"jpg|jpeg|gif|png\"  name=\"event_banner\" id=\"event_banner\" placeholder=\"\" \/>\n\n<small class=\"description\">\n\tSize : 1800x700px File Size : \u0e44\u0e21\u0e48\u0e40\u0e01\u0e34\u0e19 5MB File Type : jpg , jpeg , png<\/small>                    <\/div>\r\n                <\/fieldset>\r\n            \r\n                <fieldset class=\"wpem-form-group fieldset-event_poster\">\r\n                    <label for=\"event_poster\">\r\n                        \u0e42\u0e1b\u0e2a\u0e40\u0e15\u0e2d\u0e23\u0e4c<span class=\"require-field\">*<\/span>                    <\/label>\r\n                    <div class=\"field required-field\">\r\n                        \n<div class=\"event-manager-uploaded-files\">\n\t<\/div>\n\n<input type=\"file\" class=\"input-text\" attribute=\"\" data-file_types=\"jpg|jpeg|jpe|gif|png|bmp|tiff|tif|webp|avif|ico|heic|heif|heics|heifs|asf|asx|wmv|wmx|wm|avi|divx|flv|mov|qt|mpeg|mpg|mpe|mp4|m4v|ogv|webm|mkv|3gp|3gpp|3g2|3gp2|txt|asc|c|cc|h|srt|csv|tsv|ics|rtx|css|vtt|dfxp|mp3|m4a|m4b|aac|ra|ram|wav|x-wav|ogg|oga|flac|mid|midi|wma|wax|mka|rtf|pdf|class|tar|zip|gz|gzip|rar|7z|psd|xcf|doc|pot|pps|ppt|wri|xla|xls|xlt|xlw|mdb|mpp|docx|docm|dotx|dotm|xlsx|xlsm|xlsb|xltx|xltm|xlam|pptx|pptm|ppsx|ppsm|potx|potm|ppam|sldx|sldm|onetoc|onetoc2|onetmp|onepkg|oxps|xps|odt|odp|ods|odg|odc|odb|odf|wp|wpd|key|numbers|pages|svg|json|svgz\"  name=\"event_poster\" id=\"event_poster\" placeholder=\"\" \/>\n\n<small class=\"description\">\n\t(size: 215x350px) Maximum upload file size: 1 MB.<\/small>                    <\/div>\r\n                <\/fieldset>\r\n            \r\n                <fieldset class=\"wpem-form-group fieldset-event_location\">\r\n                    <label for=\"event_location\">\r\n                        \u0e2a\u0e16\u0e32\u0e19\u0e17\u0e35\u0e48<span class=\"require-field\">*<\/span>                    <\/label>\r\n                    <div class=\"field required-field\">\r\n                        <input type=\"text\" \n    class=\"input-text event_location\" \n    name=\"event_location\" \n    id=\"event_location\" \n    placeholder=\"\u0e2a\u0e16\u0e32\u0e19\u0e17\u0e35\u0e48\" \n    attribute=\"\" \n    value=\"\" \n    maxlength=\"\" \n    required \n     \n\/>\n\n                    <\/div>\r\n                <\/fieldset>\r\n            \r\n                <fieldset class=\"wpem-form-group fieldset-event_start_date\">\r\n                    <label for=\"event_start_date\">\r\n                        \u0e27\u0e31\u0e19\u0e17\u0e35\u0e48\u0e40\u0e23\u0e34\u0e48\u0e21\u0e07\u0e32\u0e19<span class=\"require-field\">*<\/span>                    <\/label>\r\n                    <div class=\"field required-field\">\r\n                        <div class=\"controls\" style=\"position: relative\">\n   <input type=\"text\" class=\"input-text\" name=\"event_start_date\" id=\"event_start_date\" attribute=\"\" placeholder=\"\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e27\u0e31\u0e19\u0e17\u0e35\u0e48\" value=\"\" maxlength=\"\" required data-picker=\"datepicker\" \/>\n   <\/div>                    <\/div>\r\n                <\/fieldset>\r\n            \r\n                <fieldset class=\"wpem-form-group fieldset-event_end_date\">\r\n                    <label for=\"event_end_date\">\r\n                        \u0e27\u0e31\u0e19\u0e17\u0e35\u0e48\u0e2a\u0e34\u0e49\u0e19\u0e2a\u0e38\u0e14\u0e07\u0e32\u0e19<span class=\"require-field\">*<\/span>                    <\/label>\r\n                    <div class=\"field required-field\">\r\n                        <div class=\"controls\" style=\"position: relative\">\n   <input type=\"text\" class=\"input-text\" name=\"event_end_date\" id=\"event_end_date\" attribute=\"\" placeholder=\"\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e27\u0e31\u0e19\u0e17\u0e35\u0e48\" value=\"\" maxlength=\"\" required data-picker=\"datepicker\" \/>\n   <\/div>                    <\/div>\r\n                <\/fieldset>\r\n            \r\n            <div class=\"wpem-form-footer\">\r\n                <input type=\"hidden\" name=\"event_manager_form\" value=\"submit-event\" \/>\r\n                <input type=\"hidden\" name=\"event_id\" value=\"0\" \/>\r\n                <input type=\"hidden\" name=\"step\" value=\"0\" \/>\r\n                <input type=\"submit\" name=\"submit_event\" class=\"wpem-theme-button\" value=\"\u0e41\u0e2a\u0e14\u0e07\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\" \/>\r\n            <\/div>\r\n            <\/form>\r\n\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c40e7dd elementor-widget elementor-widget-html\" data-id=\"c40e7dd\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<style>\r\n\/* \u0e43\u0e2b\u0e49 parent element \u0e40\u0e1b\u0e47\u0e19\u0e15\u0e31\u0e27\u0e2d\u0e49\u0e32\u0e07\u0e2d\u0e34\u0e07\u0e15\u0e33\u0e41\u0e2b\u0e19\u0e48\u0e07 *\/\r\n[name=\"register_name_title\"],\r\n[name=\"register_first_name\"],\r\n[name=\"register_last_name\"],\r\n[name=\"register_name\"],\r\n[name=\"register_phone\"],\r\n[name=\"register_email\"],\r\n[name=\"register_address\"],\r\n[name=\"event_title\"],\r\n[name=\"event_description\"],\r\ntextarea[name=\"event_description\"],\r\ndiv.wp-editor-container,\r\n[name=\"event_location\"],\r\n[name=\"_event_province\"],\r\n[name=\"event_start_date\"],\r\n[name=\"event_end_date\"],\r\n[name=\"event_banner\"],\r\n[name=\"event_poster\"] {\r\n  position: relative;\r\n}\r\n\r\n\/* \u0e1b\u0e49\u0e32\u0e22\u0e40\u0e15\u0e37\u0e2d\u0e19\u0e41\u0e1a\u0e1a tooltip \u0e25\u0e2d\u0e22 *\/\r\n.field-error-float{\r\n  position: absolute;\r\n  left: 0;\r\n  top: calc(100% + 8px);\r\n  z-index: 99;\r\n  pointer-events: none;\r\n  width: max-content;\r\n  max-width: min(420px, 100%);\r\n  box-sizing: border-box;\r\n  background: #fff1f2;\r\n  color: #9f1239;\r\n  border: 1px solid #fecdd3;\r\n  border-radius: 10px;\r\n  padding: 10px 12px;\r\n  font-size: 12px;\r\n  line-height: 1.35;\r\n  white-space: normal;\r\n  overflow-wrap: anywhere;\r\n  box-shadow: 0 12px 28px rgba(15, 23, 42, .14);\r\n  opacity: 0;\r\n  visibility: hidden;\r\n  transform: translateY(-6px) scale(.98);\r\n  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;\r\n}\r\n\r\n.field-error-float.show{\r\n  opacity: 1;\r\n  visibility: visible;\r\n  transform: translateY(0) scale(1);\r\n  transition-delay: 0s;\r\n}\r\n\r\n\/* \u0e25\u0e39\u0e01\u0e28\u0e23 tooltip *\/\r\n.field-error-float::before{\r\n  content: \"\";\r\n  position: absolute;\r\n  top: -6px;\r\n  left: 16px;\r\n  width: 12px;\r\n  height: 12px;\r\n  background: #fff1f2;\r\n  border-left: 1px solid #fecdd3;\r\n  border-top: 1px solid #fecdd3;\r\n  transform: rotate(45deg);\r\n}\r\n\r\n\/* \u0e44\u0e2e\u0e44\u0e25\u0e17\u0e4c input \u0e15\u0e2d\u0e19 error *\/\r\n[name=\"register_name_title\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\n[name=\"register_first_name\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\n[name=\"register_last_name\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\n[name=\"register_name\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\n[name=\"register_phone\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\n[name=\"register_email\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\n[name=\"register_address\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\n[name=\"event_title\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\n[name=\"event_description\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\ntextarea[name=\"event_description\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\ndiv.wp-editor-container[style*=\"border-color: rgb(220, 53, 69)\"],\r\n[name=\"event_location\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\n[name=\"_event_province\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\n[name=\"event_start_date\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\n[name=\"event_end_date\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\n[name=\"event_banner\"][style*=\"border-color: rgb(220, 53, 69)\"],\r\n[name=\"event_poster\"][style*=\"border-color: rgb(220, 53, 69)\"]{\r\n  border-color: #e11d48 !important;\r\n  box-shadow: 0 0 0 3px rgba(225, 29, 72, .12);\r\n}\r\n<\/style>\r\n\r\n<script>\r\ndocument.addEventListener('DOMContentLoaded', function () {\r\n  const submitBtn = document.querySelector('[name=\"submit_event\"]');\r\n  \r\n  if (!submitBtn) return;\r\n  \r\n  \/\/ \u0e23\u0e27\u0e21 fields \u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a (\u0e43\u0e0a\u0e49 name)\r\n  const fields = {\r\n    register_name_title: { \r\n      selector: '[name=\"register_name_title\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e04\u0e33\u0e19\u0e33\u0e2b\u0e19\u0e49\u0e32',\r\n      type: 'select'\r\n    },\r\n    register_first_name: { \r\n      selector: '[name=\"register_first_name\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e0a\u0e37\u0e48\u0e2d',\r\n      type: 'text'\r\n    },\r\n    register_last_name: { \r\n      selector: '[name=\"register_last_name\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e19\u0e32\u0e21\u0e2a\u0e01\u0e38\u0e25',\r\n      type: 'text'\r\n    },\r\n    register_name: { \r\n      selector: '[name=\"register_name\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e0a\u0e37\u0e48\u0e2d\u0e2b\u0e19\u0e48\u0e27\u0e22\u0e07\u0e32\u0e19',\r\n      type: 'text'\r\n    },\r\n    register_email: { \r\n      selector: '[name=\"register_email\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e2d\u0e35\u0e40\u0e21\u0e25',\r\n      type: 'email'\r\n    },\r\n    register_phone: { \r\n      selector: '[name=\"register_phone\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e40\u0e1a\u0e2d\u0e23\u0e4c\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c',\r\n      type: 'phone'\r\n    },\r\n    register_address: { \r\n      selector: '[name=\"register_address\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e17\u0e35\u0e48\u0e2d\u0e22\u0e39\u0e48',\r\n      type: 'text'\r\n    },\r\n    event_title: { \r\n      selector: '[name=\"event_title\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e0a\u0e37\u0e48\u0e2d\u0e07\u0e32\u0e19',\r\n      type: 'text'\r\n    },\r\n    event_description: { \r\n      selector: '[name=\"event_description\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14\u0e07\u0e32\u0e19',\r\n      type: 'text'\r\n    },\r\n    event_location: { \r\n      selector: '[name=\"event_location\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e2a\u0e16\u0e32\u0e19\u0e17\u0e35\u0e48',\r\n      type: 'text'\r\n    },\r\n    _event_province: { \r\n      selector: '[name=\"_event_province\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e08\u0e31\u0e07\u0e2b\u0e27\u0e31\u0e14',\r\n      type: 'select'\r\n    },\r\n    event_start_date: { \r\n      selector: '[name=\"event_start_date\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e27\u0e31\u0e19\u0e17\u0e35\u0e48\u0e40\u0e23\u0e34\u0e48\u0e21\u0e07\u0e32\u0e19',\r\n      type: 'date'\r\n    },\r\n    event_end_date: { \r\n      selector: '[name=\"event_end_date\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e27\u0e31\u0e19\u0e17\u0e35\u0e48\u0e2a\u0e34\u0e49\u0e19\u0e2a\u0e38\u0e14\u0e07\u0e32\u0e19',\r\n      type: 'date'\r\n    },\r\n    event_banner: { \r\n      selector: '[name=\"event_banner\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e2d\u0e31\u0e1b\u0e42\u0e2b\u0e25\u0e14\u0e20\u0e32\u0e1e\u0e1b\u0e01',\r\n      type: 'file-ajax'\r\n    },\r\n    event_poster: { \r\n      selector: '[name=\"event_poster\"]', \r\n      message: '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e2d\u0e31\u0e1b\u0e42\u0e2b\u0e25\u0e14\u0e42\u0e1b\u0e2a\u0e40\u0e15\u0e2d\u0e23\u0e4c',\r\n      type: 'file-ajax'\r\n    }\r\n  };\r\n  \r\n  \/\/ \u0e40\u0e01\u0e47\u0e1a element \u0e17\u0e35\u0e48\u0e1e\u0e1a\r\n  const elements = {};\r\n  for (let key in fields) {\r\n    const el = document.querySelector(fields[key].selector);\r\n    if (el) {\r\n      elements[key] = el;\r\n      \r\n      \/\/ \u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a phone\r\n      if (fields[key].type === 'phone') {\r\n        el.setAttribute('inputmode', 'numeric');\r\n        el.setAttribute('maxlength', '10');\r\n      }\r\n    }\r\n  }\r\n  \r\n  \/\/ \u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e2b\u0e32 error target\r\n  function getErrorTarget(input, fieldKey) {\r\n    const fieldInfo = fields[fieldKey];\r\n    \r\n    if (fieldInfo.errorTarget) {\r\n      let target = input.closest('.elementor-field-group');\r\n      if (target) {\r\n        target = target.querySelector(fieldInfo.errorTarget);\r\n      }\r\n      if (!target) {\r\n        const parent = input.parentElement;\r\n        if (parent) {\r\n          target = parent.querySelector(fieldInfo.errorTarget);\r\n        }\r\n      }\r\n      return target || input;\r\n    }\r\n    \r\n    return input;\r\n  }\r\n  \r\n  \/\/ \u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\/\u0e2b\u0e32 label error\r\n  function getOrCreateLabel(target){\r\n    const wrap = target.closest('.elementor-field-group') || target.parentElement;\r\n    if (!wrap) return null;\r\n    \r\n    if (getComputedStyle(wrap).position === 'static') {\r\n      wrap.style.position = 'relative';\r\n    }\r\n    \r\n    let label = wrap.querySelector('.field-error-float');\r\n    if (!label){\r\n      label = document.createElement('div');\r\n      label.className = 'field-error-float';\r\n      wrap.appendChild(label);\r\n    }\r\n    return label;\r\n  }\r\n  \r\n  \/\/ \u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e41\u0e2a\u0e14\u0e07 error\r\n  function showError(input, msg, fieldKey){\r\n    input.setCustomValidity(msg);\r\n    \r\n    const errorTarget = getErrorTarget(input, fieldKey);\r\n    \r\n    const label = getOrCreateLabel(errorTarget);\r\n    if (label){\r\n      label.textContent = msg;\r\n      label.classList.add('show');\r\n    }\r\n    errorTarget.style.borderColor = '#dc3545';\r\n  }\r\n  \r\n  \/\/ \u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e40\u0e04\u0e25\u0e35\u0e22\u0e23\u0e4c error\r\n  function clearError(input, fieldKey){\r\n    input.setCustomValidity('');\r\n    \r\n    const errorTarget = getErrorTarget(input, fieldKey);\r\n    \r\n    const label = getOrCreateLabel(errorTarget);\r\n    if (label) label.classList.remove('show');\r\n    errorTarget.style.borderColor = '';\r\n  }\r\n  \r\n  \/\/ \u0e1a\u0e31\u0e07\u0e04\u0e31\u0e1a\u0e43\u0e2b\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e15\u0e31\u0e27\u0e40\u0e25\u0e02\u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19\r\n  function enforceDigits(input, maxLen){\r\n    let v = (input.value || '').replace(\/\\D\/g, '');\r\n    if (maxLen && v.length > maxLen) v = v.slice(0, maxLen);\r\n    if (input.value !== v) input.value = v;\r\n  }\r\n  \r\n  \/\/ \u0e01\u0e23\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e2d\u0e31\u0e01\u0e29\u0e23\u0e2d\u0e2d\u0e01\u0e15\u0e2d\u0e19\u0e1e\u0e34\u0e21\u0e1e\u0e4c phone\r\n  if (elements.register_phone) {\r\n    elements.register_phone.addEventListener('input', function(){\r\n      enforceDigits(elements.register_phone, 10);\r\n    });\r\n  }\r\n  \r\n  \/\/ \u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e41\u0e15\u0e48\u0e25\u0e30 field (return true\/false \u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19 \u0e44\u0e21\u0e48\u0e41\u0e2a\u0e14\u0e07 error)\r\n  function checkField(key){\r\n    const el = elements[key];\r\n    if (!el) return true;\r\n    \r\n    const fieldInfo = fields[key];\r\n    \r\n    \/\/ \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a event_banner \u0e41\u0e25\u0e30 event_poster (Ajax upload)\r\n    if (key === 'event_banner' || key === 'event_poster') {\r\n      \/\/ \u0e2b\u0e32 parent element \u0e02\u0e2d\u0e07 file input\r\n      const parent = el.closest('.elementor-field-group') || el.parentElement;\r\n      \r\n      \/\/ \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32\u0e21\u0e35 hidden input \u0e17\u0e35\u0e48\u0e40\u0e01\u0e47\u0e1a URL \u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48 (\u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14\u0e41\u0e25\u0e49\u0e27)\r\n      const hiddenInput = parent ? parent.querySelector('[name=\"current_' + el.name + '\"]') : null;\r\n      \r\n      if (hiddenInput && hiddenInput.value && hiddenInput.value.trim() !== '') {\r\n        \/\/ \u0e21\u0e35 URL \u0e41\u0e2a\u0e14\u0e07\u0e27\u0e48\u0e32\u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08\u0e41\u0e25\u0e49\u0e27\r\n        return true;\r\n      }\r\n      \r\n      \/\/ \u0e16\u0e49\u0e32\u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e21\u0e35 hidden input \u0e43\u0e2b\u0e49\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32\u0e21\u0e35\u0e01\u0e32\u0e23\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e44\u0e1f\u0e25\u0e4c\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48\r\n      if (el.files && el.files.length > 0) {\r\n        const file = el.files[0];\r\n        \r\n        \/\/ \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e1b\u0e23\u0e30\u0e40\u0e20\u0e17\u0e44\u0e1f\u0e25\u0e4c\r\n        const allowedTypes = ['image\/jpeg', 'image\/jpg', 'image\/png', 'image\/webp'];\r\n        const fileType = file.type.toLowerCase();\r\n        \r\n        if (!allowedTypes.includes(fileType)) {\r\n          return false; \/\/ \u0e1b\u0e23\u0e30\u0e40\u0e20\u0e17\u0e44\u0e1f\u0e25\u0e4c\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07\r\n        }\r\n        \r\n        \/\/ \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e02\u0e19\u0e32\u0e14\u0e44\u0e1f\u0e25\u0e4c (5MB)\r\n        const maxSize = 5 * 1024 * 1024;\r\n        if (file.size > maxSize) {\r\n          return false; \/\/ \u0e02\u0e19\u0e32\u0e14\u0e44\u0e1f\u0e25\u0e4c\u0e40\u0e01\u0e34\u0e19\u0e01\u0e33\u0e2b\u0e19\u0e14\r\n        }\r\n        \r\n        \/\/ \u0e44\u0e1f\u0e25\u0e4c\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07 \u0e41\u0e15\u0e48\u0e2d\u0e32\u0e08\u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14 (\u0e01\u0e33\u0e25\u0e31\u0e07\u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14)\r\n        \/\/ \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32\u0e21\u0e35 progress bar \u0e2d\u0e22\u0e39\u0e48\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48\r\n        const progressBar = parent ? parent.querySelector('progress') : null;\r\n        if (progressBar) {\r\n          return false; \/\/ \u0e01\u0e33\u0e25\u0e31\u0e07\u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14\u0e2d\u0e22\u0e39\u0e48\r\n        }\r\n        \r\n        return true; \/\/ \u0e44\u0e1f\u0e25\u0e4c\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07\r\n      }\r\n      \r\n      \/\/ \u0e44\u0e21\u0e48\u0e21\u0e35\u0e01\u0e32\u0e23\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e44\u0e1f\u0e25\u0e4c\u0e41\u0e25\u0e30\u0e44\u0e21\u0e48\u0e21\u0e35 URL\r\n      return false;\r\n    }\r\n    \r\n    \/\/ \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a value \u0e1b\u0e01\u0e15\u0e34\r\n    const v = (el.value || '').trim();\r\n    \r\n    \/\/ \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32\u0e07\r\n    if (!v) {\r\n      return false;\r\n    }\r\n    \r\n    \/\/ \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e40\u0e09\u0e1e\u0e32\u0e30 email\r\n    if (fieldInfo.type === 'email') {\r\n      const emailRegex = \/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/;\r\n      return emailRegex.test(v);\r\n    }\r\n    \r\n    \/\/ \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e40\u0e09\u0e1e\u0e32\u0e30 phone\r\n    if (fieldInfo.type === 'phone') {\r\n      enforceDigits(el, 10);\r\n      return el.value.length === 10;\r\n    }\r\n    \r\n    return true;\r\n  }\r\n  \r\n  \/\/ \u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e19\u0e41\u0e2a\u0e14\u0e07 error \u0e15\u0e32\u0e21 result\r\n  function displayValidationResult(key, isValid){\r\n    const el = elements[key];\r\n    if (!el) return;\r\n    \r\n    const fieldInfo = fields[key];\r\n    \r\n    if (!isValid) {\r\n      \/\/ \u0e01\u0e23\u0e13\u0e35 email \u0e17\u0e35\u0e48\u0e44\u0e21\u0e48\u0e27\u0e48\u0e32\u0e07\u0e41\u0e15\u0e48 format \u0e1c\u0e34\u0e14\r\n      if (fieldInfo.type === 'email' && el.value.trim() !== '') {\r\n        showError(el, '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e2d\u0e35\u0e40\u0e21\u0e25\u0e43\u0e2b\u0e49\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07 (\u0e40\u0e0a\u0e48\u0e19 name@example.com)', key);\r\n      }\r\n      \/\/ \u0e01\u0e23\u0e13\u0e35 phone \u0e17\u0e35\u0e48\u0e44\u0e21\u0e48\u0e27\u0e48\u0e32\u0e07\u0e41\u0e15\u0e48\u0e44\u0e21\u0e48\u0e04\u0e23\u0e1a 10 \u0e2b\u0e25\u0e31\u0e01\r\n      else if (fieldInfo.type === 'phone' && el.value.trim() !== '') {\r\n        showError(el, '\u0e40\u0e1a\u0e2d\u0e23\u0e4c\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c\u0e15\u0e49\u0e2d\u0e07\u0e21\u0e35 10 \u0e2b\u0e25\u0e31\u0e01', key);\r\n      }\r\n      \/\/ \u0e01\u0e23\u0e13\u0e35\u0e44\u0e1f\u0e25\u0e4c\u0e23\u0e39\u0e1b\u0e20\u0e32\u0e1e Ajax\r\n      else if (fieldInfo.type === 'file-ajax') {\r\n        const parent = el.closest('.elementor-field-group') || el.parentElement;\r\n        const progressBar = parent ? parent.querySelector('progress') : null;\r\n        \r\n        \/\/ \u0e01\u0e33\u0e25\u0e31\u0e07\u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14\u0e2d\u0e22\u0e39\u0e48\r\n        if (progressBar) {\r\n          showError(el, '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e23\u0e2d\u0e43\u0e2b\u0e49\u0e2d\u0e31\u0e1b\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c\u0e40\u0e2a\u0e23\u0e47\u0e08\u0e2a\u0e34\u0e49\u0e19', key);\r\n        }\r\n        \/\/ \u0e21\u0e35\u0e44\u0e1f\u0e25\u0e4c\u0e17\u0e35\u0e48\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e41\u0e25\u0e49\u0e27\r\n        else if (el.files && el.files.length > 0) {\r\n          const file = el.files[0];\r\n          const allowedTypes = ['image\/jpeg', 'image\/jpg', 'image\/png', 'image\/webp'];\r\n          const maxSize = 5 * 1024 * 1024;\r\n          const fileType = file.type.toLowerCase();\r\n          \r\n          if (!allowedTypes.includes(fileType)) {\r\n            showError(el, '\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e40\u0e09\u0e1e\u0e32\u0e30\u0e44\u0e1f\u0e25\u0e4c JPG, JPEG, PNG, WEBP \u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19', key);\r\n          } else if (file.size > maxSize) {\r\n            showError(el, '\u0e02\u0e19\u0e32\u0e14\u0e44\u0e1f\u0e25\u0e4c\u0e15\u0e49\u0e2d\u0e07\u0e44\u0e21\u0e48\u0e40\u0e01\u0e34\u0e19 5MB', key);\r\n          } else {\r\n            showError(el, fieldInfo.message, key);\r\n          }\r\n        }\r\n        \/\/ \u0e44\u0e21\u0e48\u0e21\u0e35\u0e01\u0e32\u0e23\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e44\u0e1f\u0e25\u0e4c\r\n        else {\r\n          showError(el, fieldInfo.message, key);\r\n        }\r\n      }\r\n      \/\/ \u0e01\u0e23\u0e13\u0e35\u0e2d\u0e37\u0e48\u0e19\u0e46 \u0e17\u0e35\u0e48\u0e27\u0e48\u0e32\u0e07\r\n      else {\r\n        showError(el, fieldInfo.message, key);\r\n      }\r\n    } else {\r\n      clearError(el, key);\r\n    }\r\n  }\r\n  \r\n  \/\/ *** \u0e40\u0e1e\u0e34\u0e48\u0e21: Clear error \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e41\u0e01\u0e49\u0e44\u0e02\u0e1f\u0e34\u0e25\u0e14\u0e4c ***\r\n  for (let key in elements) {\r\n    const el = elements[key];\r\n    const fieldInfo = fields[key];\r\n    \r\n    if (fieldInfo.type === 'file-ajax') {\r\n      \/\/ \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e44\u0e1f\u0e25\u0e4c \u0e43\u0e2b\u0e49 clear error \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e44\u0e1f\u0e25\u0e4c\u0e43\u0e2b\u0e21\u0e48\r\n      el.addEventListener('change', function() {\r\n        clearError(el, key);\r\n      });\r\n    } else {\r\n      \/\/ \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e1f\u0e34\u0e25\u0e14\u0e4c\u0e2d\u0e37\u0e48\u0e19\u0e46 \u0e43\u0e2b\u0e49 clear error \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e1e\u0e34\u0e21\u0e1e\u0e4c\r\n      el.addEventListener('input', function() {\r\n        if (el.value.trim() !== '') {\r\n          clearError(el, key);\r\n        }\r\n      });\r\n    }\r\n  }\r\n  \r\n  \/\/ *** \u0e40\u0e1e\u0e34\u0e48\u0e21: Clear error \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08 ***\r\n  if (elements.event_banner) {\r\n    const bannerParent = elements.event_banner.closest('.elementor-field-group') || elements.event_banner.parentElement;\r\n    if (bannerParent) {\r\n      \/\/ \u0e43\u0e0a\u0e49 MutationObserver \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e15\u0e23\u0e27\u0e08\u0e08\u0e31\u0e1a\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e21\u0e35 hidden input \u0e40\u0e01\u0e34\u0e14\u0e02\u0e36\u0e49\u0e19\r\n      const observer = new MutationObserver(function(mutations) {\r\n        const hiddenInput = bannerParent.querySelector('[name=\"current_event_banner\"]');\r\n        if (hiddenInput && hiddenInput.value) {\r\n          clearError(elements.event_banner, 'event_banner');\r\n        }\r\n      });\r\n      observer.observe(bannerParent, { childList: true, subtree: true });\r\n    }\r\n  }\r\n  \r\n  if (elements.event_poster) {\r\n    const posterParent = elements.event_poster.closest('.elementor-field-group') || elements.event_poster.parentElement;\r\n    if (posterParent) {\r\n      const observer = new MutationObserver(function(mutations) {\r\n        const hiddenInput = posterParent.querySelector('[name=\"current_event_poster\"]');\r\n        if (hiddenInput && hiddenInput.value) {\r\n          clearError(elements.event_poster, 'event_poster');\r\n        }\r\n      });\r\n      observer.observe(posterParent, { childList: true, subtree: true });\r\n    }\r\n  }\r\n  \r\n  \/\/ \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e01\u0e14\u0e1b\u0e38\u0e48\u0e21 submit\r\n  submitBtn.addEventListener('click', function(e){\r\n    \/\/ \u0e40\u0e04\u0e25\u0e35\u0e22\u0e23\u0e4c error \u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14\u0e01\u0e48\u0e2d\u0e19\r\n    for (let key in elements) {\r\n      clearError(elements[key], key);\r\n    }\r\n    \r\n    \/\/ \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14\u0e41\u0e25\u0e30\u0e40\u0e01\u0e47\u0e1a\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c\r\n    let allValid = true;\r\n    let firstErrorField = null;\r\n    \r\n    for (let key in fields) {\r\n      const isValid = checkField(key);\r\n      \r\n      \/\/ \u0e41\u0e2a\u0e14\u0e07\/\u0e0b\u0e48\u0e2d\u0e19 error \u0e15\u0e32\u0e21\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c\r\n      displayValidationResult(key, isValid);\r\n      \r\n      if (!isValid) {\r\n        allValid = false;\r\n        if (!firstErrorField) {\r\n          firstErrorField = elements[key];\r\n        }\r\n      }\r\n    }\r\n    \r\n    \/\/ \u0e16\u0e49\u0e32\u0e21\u0e35 error \u0e43\u0e2b\u0e49\u0e2b\u0e22\u0e38\u0e14 submit\r\n    if (!allValid){\r\n      e.preventDefault();\r\n      e.stopPropagation();\r\n      \r\n      \/\/ Focus \u0e44\u0e1b\u0e17\u0e35\u0e48 field \u0e41\u0e23\u0e01\u0e17\u0e35\u0e48\u0e21\u0e35 error\r\n      if (firstErrorField) {\r\n        firstErrorField.focus();\r\n        \/\/ Scroll \u0e44\u0e1b\u0e17\u0e35\u0e48 field \u0e17\u0e35\u0e48 error\r\n        firstErrorField.scrollIntoView({ behavior: 'smooth', block: 'center' });\r\n      }\r\n      \r\n      return false;\r\n    }\r\n  });\r\n});\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e01\u0e25\u0e32\u0e07\u0e18\u0e38\u0e23\u0e01\u0e34\u0e08\u0e17\u0e35\u0e48\u0e23\u0e38\u0e48\u0e07\u0e40\u0e23\u0e37\u0e2d\u0e07\u0e2d\u0e35\u0e40\u0e27\u0e19\u0e15\u0e4c\u0e21\u0e37\u0e2d\u0e2d\u0e32\u0e0a\u0e35&#8230;<\/p>\n","protected":false},"author":85,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-77953","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e2a\u0e31\u0e21\u0e1e\u0e31\u0e19\u0e18\u0e4c\u0e07\u0e32\u0e19 - Thailand Convention &amp; Exhibition Bureau (TCEB)<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/prodtceb.reveri.app\/th\/register-event\/\" \/>\n<meta property=\"og:locale\" content=\"th_TH\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e2a\u0e31\u0e21\u0e1e\u0e31\u0e19\u0e18\u0e4c\u0e07\u0e32\u0e19 - Thailand Convention &amp; Exhibition Bureau (TCEB)\" \/>\n<meta property=\"og:description\" content=\"\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e01\u0e25\u0e32\u0e07\u0e18\u0e38\u0e23\u0e01\u0e34\u0e08\u0e17\u0e35\u0e48\u0e23\u0e38\u0e48\u0e07\u0e40\u0e23\u0e37\u0e2d\u0e07\u0e2d\u0e35\u0e40\u0e27\u0e19\u0e15\u0e4c\u0e21\u0e37\u0e2d\u0e2d\u0e32\u0e0a\u0e35...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prodtceb.reveri.app\/th\/register-event\/\" \/>\n<meta property=\"og:site_name\" content=\"Thailand Convention &amp; Exhibition Bureau (TCEB)\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-19T09:45:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prodtceb.reveri.app\/wp-content\/uploads\/2025\/11\/logo-04.png\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 \u0e19\u0e32\u0e17\u0e35\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prodtceb.reveri.app\/th\/register-event\/\",\"url\":\"https:\/\/prodtceb.reveri.app\/th\/register-event\/\",\"name\":\"\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e2a\u0e31\u0e21\u0e1e\u0e31\u0e19\u0e18\u0e4c\u0e07\u0e32\u0e19 - Thailand Convention &amp; Exhibition Bureau (TCEB)\",\"isPartOf\":{\"@id\":\"https:\/\/uattceb.reveri.app\/#website\"},\"datePublished\":\"2025-12-30T08:08:24+00:00\",\"dateModified\":\"2026-01-19T09:45:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/prodtceb.reveri.app\/th\/register-event\/#breadcrumb\"},\"inLanguage\":\"th\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prodtceb.reveri.app\/th\/register-event\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prodtceb.reveri.app\/th\/register-event\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prodtceb.reveri.app\/th\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e2a\u0e31\u0e21\u0e1e\u0e31\u0e19\u0e18\u0e4c\u0e07\u0e32\u0e19\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/uattceb.reveri.app\/#website\",\"url\":\"https:\/\/uattceb.reveri.app\/\",\"name\":\"Thailand Convention & Exhibition Bureau (TCEB)\",\"description\":\"Thailand Convention &amp; Exhibition Bureau (TCEB)\",\"publisher\":{\"@id\":\"https:\/\/uattceb.reveri.app\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/uattceb.reveri.app\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"th\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/uattceb.reveri.app\/#organization\",\"name\":\"Thailand Convention & Exhibition Bureau (TCEB)\",\"url\":\"https:\/\/uattceb.reveri.app\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"th\",\"@id\":\"https:\/\/uattceb.reveri.app\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.businesseventsthailand.com\/wp-content\/uploads\/2025\/11\/logo-04.png\",\"contentUrl\":\"https:\/\/www.businesseventsthailand.com\/wp-content\/uploads\/2025\/11\/logo-04.png\",\"width\":400,\"height\":400,\"caption\":\"Thailand Convention & Exhibition Bureau (TCEB)\"},\"image\":{\"@id\":\"https:\/\/uattceb.reveri.app\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e2a\u0e31\u0e21\u0e1e\u0e31\u0e19\u0e18\u0e4c\u0e07\u0e32\u0e19 - Thailand Convention &amp; Exhibition Bureau (TCEB)","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/prodtceb.reveri.app\/th\/register-event\/","og_locale":"th_TH","og_type":"article","og_title":"\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e2a\u0e31\u0e21\u0e1e\u0e31\u0e19\u0e18\u0e4c\u0e07\u0e32\u0e19 - Thailand Convention &amp; Exhibition Bureau (TCEB)","og_description":"\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e01\u0e25\u0e32\u0e07\u0e18\u0e38\u0e23\u0e01\u0e34\u0e08\u0e17\u0e35\u0e48\u0e23\u0e38\u0e48\u0e07\u0e40\u0e23\u0e37\u0e2d\u0e07\u0e2d\u0e35\u0e40\u0e27\u0e19\u0e15\u0e4c\u0e21\u0e37\u0e2d\u0e2d\u0e32\u0e0a\u0e35...","og_url":"https:\/\/prodtceb.reveri.app\/th\/register-event\/","og_site_name":"Thailand Convention &amp; Exhibition Bureau (TCEB)","article_modified_time":"2026-01-19T09:45:10+00:00","og_image":[{"width":400,"height":400,"url":"https:\/\/prodtceb.reveri.app\/wp-content\/uploads\/2025\/11\/logo-04.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 \u0e19\u0e32\u0e17\u0e35"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prodtceb.reveri.app\/th\/register-event\/","url":"https:\/\/prodtceb.reveri.app\/th\/register-event\/","name":"\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e2a\u0e31\u0e21\u0e1e\u0e31\u0e19\u0e18\u0e4c\u0e07\u0e32\u0e19 - Thailand Convention &amp; Exhibition Bureau (TCEB)","isPartOf":{"@id":"https:\/\/uattceb.reveri.app\/#website"},"datePublished":"2025-12-30T08:08:24+00:00","dateModified":"2026-01-19T09:45:10+00:00","breadcrumb":{"@id":"https:\/\/prodtceb.reveri.app\/th\/register-event\/#breadcrumb"},"inLanguage":"th","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prodtceb.reveri.app\/th\/register-event\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/prodtceb.reveri.app\/th\/register-event\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prodtceb.reveri.app\/th\/"},{"@type":"ListItem","position":2,"name":"\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19\u0e1b\u0e23\u0e30\u0e0a\u0e32\u0e2a\u0e31\u0e21\u0e1e\u0e31\u0e19\u0e18\u0e4c\u0e07\u0e32\u0e19"}]},{"@type":"WebSite","@id":"https:\/\/uattceb.reveri.app\/#website","url":"https:\/\/uattceb.reveri.app\/","name":"Thailand Convention & Exhibition Bureau (TCEB)","description":"Thailand Convention &amp; Exhibition Bureau (TCEB)","publisher":{"@id":"https:\/\/uattceb.reveri.app\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/uattceb.reveri.app\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"th"},{"@type":"Organization","@id":"https:\/\/uattceb.reveri.app\/#organization","name":"Thailand Convention & Exhibition Bureau (TCEB)","url":"https:\/\/uattceb.reveri.app\/","logo":{"@type":"ImageObject","inLanguage":"th","@id":"https:\/\/uattceb.reveri.app\/#\/schema\/logo\/image\/","url":"https:\/\/www.businesseventsthailand.com\/wp-content\/uploads\/2025\/11\/logo-04.png","contentUrl":"https:\/\/www.businesseventsthailand.com\/wp-content\/uploads\/2025\/11\/logo-04.png","width":400,"height":400,"caption":"Thailand Convention & Exhibition Bureau (TCEB)"},"image":{"@id":"https:\/\/uattceb.reveri.app\/#\/schema\/logo\/image\/"}}]}},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/prodtceb.reveri.app\/th\/wp-json\/wp\/v2\/pages\/77953","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prodtceb.reveri.app\/th\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/prodtceb.reveri.app\/th\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/prodtceb.reveri.app\/th\/wp-json\/wp\/v2\/users\/85"}],"replies":[{"embeddable":true,"href":"https:\/\/prodtceb.reveri.app\/th\/wp-json\/wp\/v2\/comments?post=77953"}],"version-history":[{"count":106,"href":"https:\/\/prodtceb.reveri.app\/th\/wp-json\/wp\/v2\/pages\/77953\/revisions"}],"predecessor-version":[{"id":95859,"href":"https:\/\/prodtceb.reveri.app\/th\/wp-json\/wp\/v2\/pages\/77953\/revisions\/95859"}],"wp:attachment":[{"href":"https:\/\/prodtceb.reveri.app\/th\/wp-json\/wp\/v2\/media?parent=77953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}