Server IP : 150.95.80.236 / Your IP : 3.144.9.172 Web Server : Apache System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : social-telecare ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/pcu.in.th/uat.pcu.in.th/demo15/dist/assets/js/custom/account/settings/ |
Upload File : |
"use strict";var KTAccountSettingsProfileDetails=function(){var e,t;return{init:function(){e=document.getElementById("kt_account_profile_details_form"),e.querySelector("#kt_account_profile_details_submit"),t=FormValidation.formValidation(e,{fields:{fname:{validators:{notEmpty:{message:"First name is required"}}},lname:{validators:{notEmpty:{message:"Last name is required"}}},company:{validators:{notEmpty:{message:"Company name is required"}}},phone:{validators:{notEmpty:{message:"Contact phone number is required"}}},country:{validators:{notEmpty:{message:"Please select a country"}}},timezone:{validators:{notEmpty:{message:"Please select a timezone"}}},"communication[]":{validators:{notEmpty:{message:"Please select at least one communication method"}}},language:{validators:{notEmpty:{message:"Please select a language"}}}},plugins:{trigger:new FormValidation.plugins.Trigger,submitButton:new FormValidation.plugins.SubmitButton,bootstrap:new FormValidation.plugins.Bootstrap5({rowSelector:".fv-row",eleInvalidClass:"",eleValidClass:""})}}),$(e.querySelector('[name="country"]')).on("change",(function(){t.revalidateField("country")})),$(e.querySelector('[name="language"]')).on("change",(function(){t.revalidateField("language")})),$(e.querySelector('[name="timezone"]')).on("change",(function(){t.revalidateField("timezone")}))}}}();KTUtil.onDOMContentLoaded((function(){KTAccountSettingsProfileDetails.init()}));