/* ---------- js ---------- */ jQuery(function($) { $(function() { $(".formmail_title_bgcolor").each(function() { var placeholder_text = $(this).find("font").text(); $(this).parent("tr").find(".formmail_cell_bgcolor input:first-of-type").attr("placeholder", placeholder_text); $(this).parent("tr").find(".formmail_cell_bgcolor textarea:first-of-type").attr("placeholder", placeholder_text); }); $("table.base_formmail > tbody > tr > td input[name=com_formmail_check_safe]").each(function() { $(this).parent().parent().parent().parent().parent().parent().addClass("check_safe"); }); $("table.base_formmail > tbody > tr > td input[name=captcha_code]").each(function() { $(this).parent("td").parent("tr").addClass("captcha_code"); }); }); }); $(".eng-body table.base_formmail > tbody > tr > td input[name=com_formmail_check_safe]").each(function () { $(this).closest('tr').find("td:first-of-type").text("Personal Information Collection and Usage Purpose"); $(this).closest('tr').find("td:last-of-type").contents().filter(function () { return this.nodeType === 3; }).each(function () { this.nodeValue = "I agree to the purpose of collection and use of my personal information"; }); $(this).closest('table').find("textarea").val( `Personal Information Collection and Usage Purpose\n- To verify your identity, confirm your intention to join, and provide age-restricted services.\n- To deliver notifications, handle complaints, and ensure accurate delivery information.\n- To inform you of new services and provide personalized services.\n- To offer smooth and high-quality services.\n\nList of Personal Information Collected\n- Name, email, resident registration number, address, contact details, mobile number, and other optional items.\n\nRetention and Use Period\n- Personal information is destroyed promptly once the purpose of collection or provision is achieved.\n- Exceptionally, information may be retained for 3 months after consultation for smooth service, or longer if required by laws such as the Consumer Protection Act in E-commerce.` ); });