Answered
dropdown value
I have dropdownA include 1~5, if you choose 1 from dropdown, i want entryfield1 to grayoout.
If i choose 2 from dropdown, I want entryfield2 to grayout.
How I can get with javascript?
I have dropdownA include 1~5, if you choose 1 from dropdown, i want entryfield1 to grayoout.
If i choose 2 from dropdown, I want entryfield2 to grayout.
How I can get with javascript?
By greyout you want to set it to readonly?
As custom calculation script of that dropdown, use this:
this.getField("entryfield1").readonly = event.value == 1 ? true : false;
this.getField("entryfield2").readonly = event.value == 2 ? true : false;
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.