Hello,
For some detailed tracking, I would like to add a customization to automatically save the date when a custom status is reached. Same as what is done for 'done date', 'handled date', etc.
I've succesfully gotten this far :
###EVAL###($this->idStatus==20)?date("Y-m-d"):null;
This works if the field is read-only, but I would like to save the value while allowing a user to update it manually if needed.
Is that possible ?
Thanks
No, it's not possible.
Behavior for default value is :
- if field is readonly, it is calculated at each save
- else it is calculated only on first save, to set default value.
If both user can change it, and it is calculated, when would you know what value ot store ?