This topic is locked

Disabling Inline Edit

2/24/2009 9:16:36 PM
PHPRunner General questions
R
Rodj_aus author

Hello,

How do I disable the inline edit capability for a record based on the contents of a field in the record.
For example I have a field named "Status" and when it equals "COMPLETED" I want to disable the inline editor.
I have tried
global $record;

if ($data["Status"]=="REJECT")

{

$record["edit_link"]=false;

}
in the Before record updated event but this does not seem to work for the inline editor.
Thanks

Rod