-
-
Save AngelaIp/40e0bd8ab2a9f3e8b8157bdba85f90ce to your computer and use it in GitHub Desktop.
Sample code demonstrating how to disable a date field in Aras Innovator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var input = getFieldByName("effective_date"); | |
input.getElementsByTagName("input")[0].disabled = true; | |
input.getElementsByTagName("input")[1].disabled = true; | |
input.getElementsByTagName("input")[1].src = "../images/calendar-disabled.svg"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment