Jump to content

tuanlaptopgaming

Members
  • Posts

    1
  • Joined

  • Last visited

About tuanlaptopgaming

  • Birthday 11/14/1988

tuanlaptopgaming's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Just want to share the solution on how to disable the checkbox once it is checked. Please put the following code into the footer after the HTML editor is disabled: <script> document.addEventListener("DataPageReady", function () { let chkbox= document.querySelectorAll('[id^="InsertRecord"]')[0]; if (chkbox.checked) { chkbox.setAttribute("disabled", "disabled"); } chkbox.onclick = function () { if (chkbox.checked) { chkbox.setAttribute("disabled", "disabled"); } }; }); </script>
×
×
  • Create New...