Jump to content

bensminger

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by bensminger

  1. I have a field called LockStatus that I do not display on the form (it gets checked somewhere else).  If it is checked then I want to hide the update button.  This is the code I'm using, however the update button refuses to hide.

     

    <script>
    if (document.getElementById("EditRecordLockStatus").checked){
    document.getElementById("Mod0EditRecord").style.display="none";
    }
    </script> 

     Am I doing something wrong?

×
×
  • Create New...