{"id":38094,"date":"2022-12-19T09:30:56","date_gmt":"2022-12-19T00:30:56","guid":{"rendered":"https:\/\/www.modularkorea.com\/eng\/?page_id=38094"},"modified":"2024-11-28T09:36:04","modified_gmt":"2024-11-28T00:36:04","slug":"preregistration-confirm","status":"publish","type":"page","link":"https:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/","title":{"rendered":"Pre-registration Confirmation"},"content":{"rendered":"<p><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container has-pattern-background has-mask-background nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-padding-top:60px;--awb-padding-bottom:60px;--awb-margin-top:0px;--awb-margin-bottom:0px;--awb-background-color:#f9f9f9;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1248px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:20px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><style>\n  .form-parents {\n    width: 100%;\n  }\n\n  .mobileNum {\n    padding-right: 5px !important;\n    padding-left: 5px !important;\n  }\n\n  input {\n    text-align: center;\n  }\n\n  #txtEmail {\n    width: 50%;\n    margin: 0 auto;\n  }\n\n  .complete_info {\n    font-size: 15pt;\n    border: 5px solid #ededed;\n    padding: 20px;\n    text-align: center;\n  }\n\n  .loader2 {\n    display: none;\n    position: fixed;\n    left: 0;\n    top: 0;\n    width: 100%;\n    height: 100%;\n    z-index: 9999;\n    background: url('https:\/\/www.oscexpo.com\/wp-content\/plugins\/messe-hp-membership\/images\/ajax_loader4.gif') 50% 50% no-repeat rgb(249, 249, 249);\n    opacity: 0.7;\n  }\n\n\n  @media (max-width: 670px) {\n    .button-2 {\n      width: 100% !important;\n    }\n\n    #txtEmail {\n      width: 100%;\n      margin: 0 auto;\n    }\n  }\n\n<\/style>\n\n<div class=\"form-parents pt50\">\n  <h2 style=\"text-align:center;font-size:24px;\"><strong>Confirmation of registration<\/strong><\/h2>\n  <div class=\"form-horizontal\">\n    <div class=\"form-group\">\n      <div class=\"col-md-12 text-center\">\n        <input type=\"text\" name=\"txtEmail\" class=\"form-control\" id=\"txtEmail\" placeholder=\"Please enter your email address.\">\n        <span class=\"red\" id=\"mail_chkmsg\" style=\"font-size:12px; display:none;\">Please checked E-mail<\/span>\n      <\/div>\n    <\/div>\n    <div class=\"form-group\">\n      <div class=\"col-md-12 pt50\">\n        <div class=\"col-md-12 text-center mb20\">\n          <button class=\"btn btn-primary button-2 button-large\" style=\"width:50%;font-size:18px !important\" onclick=\"submitForm();\">\n            Confirmation\n            <i class=\"fa-long-arrow-alt-right fas button-icon-right\" aria-hidden=\"true\"><\/i>\n          <\/button>\n        <\/div>\n        <div class=\"col-md-12 complete_info\" style=\"font-size:15pt;display:none\"><\/div>\n      <\/div>\n      <div class=\"form-group\" id='prereg_complete' style=\"display:none\">\n        <div style=\"clear:both; width:50%; margin:auto; padding-top:30px\">\n          <button class=\"btn btn-primary btn-block\" onclick=\"sendEmail()\">Re-send the voucher<\/button>\n        <\/div>\n        <div style=\"width:50%; margin:30px auto 0 auto;\">\n          <button class=\"btn btn-default btn-block\" onclick=\"document.location.href='https:\/\/www.oscexpo.com\/eng';\">Home<\/button>\n        <\/div>\n      <\/div>\n      <div class=\"form-group\" id='prereg_not_complete' style=\"display:none\">\n        <div class=\"col-md-12 pt20\">\n          <div class=\"col-md-6 mb20\">\n            <button class=\"btn btn-primary btn-block\"\n              onclick=\"document.location.href='https:\/\/www.oscexpo.com\/eng\/member\/?c=prereg&a=registrationAgreeEng&fair_id=707';\">Go to pre-registration<\/button>\n          <\/div>\n          <div class=\"col-md-6 mb20\">\n            <button class=\"btn btn-default btn-block\" onclick=\"document.location.href='https:\/\/www.oscexpo.com\/eng';\">Home<\/button>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/div>\n<input type=\"hidden\" id='visitor_id' value=\"\">\n\n<script>\n  var fair_id = \"707\";\n  var visitorRegist = {};\n  var fairVisitorRegist = {};\n\n  jQuery('input[maxlength]').keyup(function() {\n    var input = jQuery(this);\n\n    if (input.val().length == input.attr('maxlength')) {\n      if (input.attr('id') == 'txtMobileNo1') {\n        jQuery('#txtMobileNo2').focus();\n      }\n      if (input.attr('id') == 'txtMobileNo2') {\n        jQuery('#txtMobileNo3').focus();\n      }\n      input.parents().first().focus();\n    }\n    if (input.val().length > input.attr('maxlength')) {\n      var str = input.val().slice(0, input.attr('maxlength'));\n      input.val(str);\n    }\n  });\n\n  \/\/ \uc774\uba54\uc77c \uc720\ud6a8\uc131 \uccb4\ud06c\n  function fnEmailchk() {\n    var regEmail = \/^[0-9a-zA-Z]([-_\\.]?[0-9a-zA-Z])*@[0-9a-zA-Z]([-_\\.]?[0-9a-zA-Z])*\\.[a-zA-Z]{2,3}$\/;\n    if (jQuery.trim(jQuery(\"#txtEmail\").val()).length != 0) {\n      jQuery(\"#txtEmail\").val(jQuery(\"#txtEmail\").val().replace(\/ \/g, ''));\n      var obj = jQuery(\"#txtEmail\").val();\n      if (regEmail.test(obj) === false) {\n        alert(\"Please enter your email correctly.\");\n        return false;\n      }\n      return true;\n    }\n  }\n\n  function submitForm() {\n    if (event.preventDefault) {\n      event.preventDefault();\n    }\n    if (fnEmailchk() === true) {\n      fnregistChkEsMember();\n    }\n  }\n\n  function fnregistChkEsMember() {\n    var _txtEmail = jQuery(\"#txtEmail\").val();\n    let fairVisitorInfo = {\n      VISITOR_ID: '',\n      VISITOR_NAME: '',\n      FAIR_VISITOR_ID: '',\n      CREATE_DATE: '',\n      REG_TYPE: '',\n      BARCODE: '',\n    };\n\n    jQuery.ajax({\n      type: \"POST\",\n      url: ESMEMBER_API_URL + '\/visitor\/VST_sr_VisitorReqRegistCheck',\n      data: {\n        email: _txtEmail,\n        fair_id: fair_id\n      },\n      dataType: \"json\",\n      async: false,\n      success: function(data) {\n        jQuery('#prereg_info').text('');\n        jQuery('.complete_info').text('');\n\n        if (data != '' && data != null) {\n          jQuery.each(data, function(key, val) {\n            fairVisitorRegist = val;\n            fairVisitorInfo.VISITOR_ID = val.VISITOR_ID;\n            fairVisitorInfo.NAME = val.VISITOR_NAME;\n            fairVisitorInfo.FAIR_VISITOR_ID = val.FAIR_VISITOR_ID;\n            fairVisitorInfo.CREATE_DATE = val.CREATE_DATE;\n            fairVisitorInfo.REG_TYPE = val.REG_TYPE;\n            fairVisitorInfo.BARCODE = val.BARCODE;\n          });\n        }\n      },\n      error: function(XMLHttpRequest, status, err) {\n        console.log(XMLHttpRequest.status + \"\\\\n\" + err);\n      }\n    });\n\n    if (fairVisitorInfo.FAIR_VISITOR_ID) {\n      jQuery('#prereg_not_complete').hide();\n      jQuery('#prereg_complete').show();\n      jQuery('#visitor_id').val(encodeURIComponent(window.btoa(fairVisitorInfo.VISITOR_ID)));\n\n      var reg_msg = '<div>' + fairVisitorInfo.NAME + ' has successfully pre-registered as a visitor <br> ' + fairVisitorInfo.CREATE_DATE +\n        '<div style=\"padding: 5px;background: white\" class=\"modal_barcode\"> <img decoding=\"async\" class=\"barcode\" src=\"https:\/\/ent.esfair.kr\/barcode\/QR_Code?code=' +\n        fairVisitorInfo.BARCODE +\n        ' \" alt=\"Barcode Area\" \/><\/div>Please show this QR Code at the registration desk for foreigners before entering the exhibition hall<\/div>';\n      jQuery('.complete_info').show().html(reg_msg);\n    } else {\n      jQuery('#prereg_complete').hide();\n      jQuery('#prereg_not_complete').show();\n      jQuery('#prereg_info').hide();\n      var regmsg = '<span id =\"ConfirmReg\">There is no pre-registration.<br>Please use it after pre-registration.<\/span>';\n      jQuery('.complete_info').show().html(regmsg);\n    }\n  }\n\n  function sendEmail() {\n    if (!fairVisitorRegist) {\n      return;\n    }\n\n    esmem.ajax.load({\n      options: {\n        async: false,\n      },\n      url: wp_ajax_action.url,\n      data: {\n        action: 'sendPreRegistrationEng',\n        fair_id: fair_id,\n        email: fairVisitorRegist.EMAIL,\n      },\n      success: function(data) {\n        alert(data.msg)\n\n        esmem.common.unblock()\n      },\n      error: function(jqXHr, status, error) {\n        alert(jqXHr.responseJSON?.msg ?? 'Error Occurred!')\n        esmem.common.unblock()\n      },\n    })\n  }\n\n<\/script>\n<\/div><\/div><\/div><\/div><\/p>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":575,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"100-width.php","meta":{"footnotes":""},"class_list":["post-38094","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pre-registration Confirmation - MODULAR &amp; PRE-CON KOREA<\/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:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pre-registration Confirmation - MODULAR &amp; PRE-CON KOREA\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/\" \/>\n<meta property=\"og:site_name\" content=\"MODULAR &amp; PRE-CON KOREA\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-28T00:36:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dr8gz4dtkbl43.cloudfront.net\/wp-content\/uploads\/2022\/10\/04161952\/modular_og.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1360\" \/>\n\t<meta property=\"og:image:height\" content=\"700\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/\",\"url\":\"https:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/\",\"name\":\"Pre-registration Confirmation - MODULAR &amp; PRE-CON KOREA\",\"isPartOf\":{\"@id\":\"https:\/\/www.oscexpo.com\/eng\/#website\"},\"datePublished\":\"2022-12-19T00:30:56+00:00\",\"dateModified\":\"2024-11-28T00:36:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.oscexpo.com\/eng\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uad00\ub78c\uc548\ub0b4\",\"item\":\"https:\/\/www.oscexpo.com\/eng\/visitors\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Pre-registration Confirmation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.oscexpo.com\/eng\/#website\",\"url\":\"https:\/\/www.oscexpo.com\/eng\/\",\"name\":\"MODULAR &amp; PRE-CON KOREA\",\"description\":\"THE BEST AND ONLY Off-Site Construction EXPO in Republic of Korea\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.oscexpo.com\/eng\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pre-registration Confirmation - MODULAR &amp; PRE-CON KOREA","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:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/","og_locale":"en_US","og_type":"article","og_title":"Pre-registration Confirmation - MODULAR &amp; PRE-CON KOREA","og_url":"https:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/","og_site_name":"MODULAR &amp; PRE-CON KOREA","article_modified_time":"2024-11-28T00:36:04+00:00","og_image":[{"width":1360,"height":700,"url":"https:\/\/dr8gz4dtkbl43.cloudfront.net\/wp-content\/uploads\/2022\/10\/04161952\/modular_og.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/","url":"https:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/","name":"Pre-registration Confirmation - MODULAR &amp; PRE-CON KOREA","isPartOf":{"@id":"https:\/\/www.oscexpo.com\/eng\/#website"},"datePublished":"2022-12-19T00:30:56+00:00","dateModified":"2024-11-28T00:36:04+00:00","breadcrumb":{"@id":"https:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.oscexpo.com\/eng\/visitors\/preregistration-confirm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.oscexpo.com\/eng\/"},{"@type":"ListItem","position":2,"name":"\uad00\ub78c\uc548\ub0b4","item":"https:\/\/www.oscexpo.com\/eng\/visitors\/"},{"@type":"ListItem","position":3,"name":"Pre-registration Confirmation"}]},{"@type":"WebSite","@id":"https:\/\/www.oscexpo.com\/eng\/#website","url":"https:\/\/www.oscexpo.com\/eng\/","name":"MODULAR &amp; PRE-CON KOREA","description":"THE BEST AND ONLY Off-Site Construction EXPO in Republic of Korea","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.oscexpo.com\/eng\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.oscexpo.com\/eng\/wp-json\/wp\/v2\/pages\/38094","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oscexpo.com\/eng\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.oscexpo.com\/eng\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.oscexpo.com\/eng\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oscexpo.com\/eng\/wp-json\/wp\/v2\/comments?post=38094"}],"version-history":[{"count":2,"href":"https:\/\/www.oscexpo.com\/eng\/wp-json\/wp\/v2\/pages\/38094\/revisions"}],"predecessor-version":[{"id":86519,"href":"https:\/\/www.oscexpo.com\/eng\/wp-json\/wp\/v2\/pages\/38094\/revisions\/86519"}],"up":[{"embeddable":true,"href":"https:\/\/www.oscexpo.com\/eng\/wp-json\/wp\/v2\/pages\/575"}],"wp:attachment":[{"href":"https:\/\/www.oscexpo.com\/eng\/wp-json\/wp\/v2\/media?parent=38094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}