var col1READONLY = "${e://Field/D2age1eqA2b}";
if (col1READONLY = "1")
{
jQuery("#"+this.questionId+" .c4 input").prop("readonly",true);
}
I'm trying to make a column read only if an embedded variable = "1" (text), however the above appears to be making the column read only all of the time (regardless what the col1READONLY text is.
Am I doing something daft?
Page 1 / 1
Their will two equal to symbol in if condition as shown below:
if (col1READONLY == "1")
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.