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?
Solved
If syntax in JavaScript
Best answer by MikeW
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
