Server : LiteSpeed System : Linux server 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : alsaif ( 1057) PHP Version : 7.4.33 Disable Function : show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/alsaif/public_html/media/com_convertforms/js/ |
!function(e){"use strict";function c(e){var c,t;!e.classList.contains("cf-input")||"checkbox"!==e.type||(e=e.closest(".cf-control-group")).querySelectorAll(".cf-checkbox-group-required").length<2||(c=e.querySelectorAll("input[type=checkbox]"),(t=0==e.querySelectorAll("input[type=checkbox]:checked").length)&&"false"==e.dataset.requiredOverride)||c.forEach(function(e){e.required=t,e.ariaRequired=t})}ConvertForms.Helper.onReady(function(){e.querySelectorAll(".cf-list > .cf-checkbox-group-required:first-child input[type=checkbox]").forEach(function(e){c(e)}),e.addEventListener("change",function(e){c(e.target)})})}(document);