Created
June 29, 2018 14:29
-
-
Save cgillis-aras/b53c79bfe11cc43d946ace9fd4a7973d to your computer and use it in GitHub Desktop.
Sample code demonstrating how to disable an item 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("owned_by_id"); | |
setTimeout(function() { | |
input.getElementsByTagName("input")[0].disabled = true; | |
input.getElementsByTagName("button")[0].disabled = true; | |
}, 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment