Sha256: 62b58de8c0b40b7523fd1475c12961c3ac85990971f168c19f72f75edd8a7f23

Contents?: true

Size: 1.4 KB

Versions: 11

Compression:

Stored size: 1.4 KB

Contents

"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()}));

Version data entries

11 entries across 5 versions & 1 rubygems

Version Path
phcthemes_admin_panel_pack-7.0.0 app/assets/dist/themes/metronic/theme27/js/custom/account/settings/profile-details.js
phcthemes_admin_panel_pack-6.0.3 app/assets/dist/themes/metronic/theme13/js/custom/account/settings/profile-details.js
phcthemes_admin_panel_pack-6.0.3 app/assets/dist/themes/metronic/theme21/js/custom/account/settings/profile-details.js
phcthemes_admin_panel_pack-6.0.2 app/assets/dist/themes/metronic/theme13/js/custom/account/settings/profile-details.js
phcthemes_admin_panel_pack-6.0.2 app/assets/dist/themes/metronic/theme21/js/custom/account/settings/profile-details.js
phcthemes_admin_panel_pack-6.0.2 app/assets/dist/themes/metronic/theme27/js/custom/account/settings/profile-details.js
phcthemes_admin_panel_pack-6.0.1 app/assets/dist/themes/metronic/theme13/js/custom/account/settings/profile-details.js
phcthemes_admin_panel_pack-6.0.1 app/assets/dist/themes/metronic/theme21/js/custom/account/settings/profile-details.js
phcthemes_admin_panel_pack-6.0.1 app/assets/dist/themes/metronic/theme27/js/custom/account/settings/profile-details.js
phcthemes_admin_panel_pack-6.0.0 app/assets/dist/themes/metronic/theme_21/js/custom/account/settings/profile-details.js
phcthemes_admin_panel_pack-6.0.0 app/assets/dist/themes/metronic/theme_13/js/custom/account/settings/profile-details.js