Question about facade fields

Hi, is there a way to capture facade field value in a beforeCreate and afterCreate events? I’m using the form behaviour and need some field just to run some logic, but don’t want to save that particular field to the db. Or is there any way in which I can have a field just for that and not have a column with it?

Hi @federico.schafer

Facade fields never reach the model. Using the Purgeable trait would let the field reach the model but not the database.

1 Like

Thank you. I didn’t know of that trait and it is exactly what I needed!