Hi,
I am using PHPMaker 2026.
I have three fields in a form, and based on the user level, only one of these fields should be editable. The other fields must retain their existing values without being modified.
I have already set the value of the field ReadyForPublish to 1. However, when I attempt to hide or disable this field using:
$this->ReadyForPublish->Visible = false;
or
$this->ReadyForPublish->Disabled = true;
the value of ReadyForPublish is not preserved when the record is saved.
What is the correct approach in PHPMaker to hide or disable a field while ensuring that its existing value is retained?
Thank you,
Anuradha