This topic is locked

Add in popup ignoring Field settings for Add New

5/15/2020 6:05:13 AM
PHPRunner General questions
L
lcslouis author

I have a field on a page that is Read only on edit, but is editable on an add.
The Add in popup doesn't use the settings.
Since Edit is readonly popup is following the edit settings regardless if it is a new Add.
How can I put a work around in that will set make the field editable if it is a add but readonly if edit

L
lcslouis author 5/15/2020

I was able to add a work around by adding a session variable when the Master edit page Process record values event is triggered.
On my add and edit pages for the child tables I retrieved the value in Process record values event for that child table and set the field that was acting read only to the value it needed.