This topic is locked

readonly - any chance of fitting this into V5?

9/15/2008 10:16:41 AM
PHPRunner General questions
S
steveh author

At present readonly is a type, it would be great if this could become an attribute.
So you could have a lookup field and click it as read-only, or have a custom format and have that as read-only?
Steve

Sergey Kornilov admin 9/15/2008

Steve,
you can make any control readonly in runtime using java script:

document.getElementById('valueFieldName').disabled = true;
S
steveh author 9/15/2008

Understood, would be nice to just add a tick though?
(Guess this proves I'm a lazy developer!!!)