Using PHPMaker v2017.0.7
In Table-Specific | Edit Page | Page_Render, I wrote:
function Page_Render() {
//echo "Page Render";
if (CurrentUserLevel() != -1) {
if ($this->editor->CurrentValue != 0) {
$this->editor->ReadOnly = TRUE;
}
}
}
editor is a tinyint(1) field which can be NULL or 1,2,3, ... and works with a combobox.
With my code, the field is grey but it is possible to select another value and save it.
Any help much appreciated. Thank you.