Hi! Is there a way to set values for specific attributes when duplicating a record?
Formulas and hooks set values to fields only when saving records, so the new values are not visible to the user until saving record. But I need to set values dynamically when opening record for edition with the 'Duplicate' button. It would be equivalent to a 'default value' but applicable only when duplicating (at the moment 'default value' only works when creating new records).
Thanks!
Formulas and hooks set values to fields only when saving records, so the new values are not visible to the user until saving record. But I need to set values dynamically when opening record for edition with the 'Duplicate' button. It would be equivalent to a 'default value' but applicable only when duplicating (at the moment 'default value' only works when creating new records).
Thanks!
Comment