Conditional COL["editable"] = true/false

QuestionsConditional COL["editable"] = true/false
Tim Moore asked 11 months ago

I am not sure if this is possible, but I would like to change editable status on a $COL[“editable”] to false if it already contains data. I have seen the examples on how to disable a row, but I need to disable a $COL if it has data in it (COL <> “”). Any assistance on this would be greatly appreciated as my java skills are almost non-existent.

1 Answers
Tim Moore answered 11 months ago

I did not realize “readonly” did the same thing, but I guess I should have.

this did the trick.

$col[“editrules”] = array(“required”=>true, “readonly”=>true, “readonly-when”=>array(“!=”,””));

Your Answer

1 + 10 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!