Mutate Data before Create (calculated column)
Hello.
I need to calculate a column with series & id.
The fields are Id, Series, NumExp and I need numExp to be equal to SERIES-ID
If series is ABC and id is 20, I need numExp to be ABC20
I have tried this mutateFormDataBeforeCreate but it is not working.
Is there a boot method in the Model or something, please?
Tks.
I need to calculate a column with series & id.
The fields are Id, Series, NumExp and I need numExp to be equal to SERIES-ID
If series is ABC and id is 20, I need numExp to be ABC20
I have tried this mutateFormDataBeforeCreate but it is not working.
Is there a boot method in the Model or something, please?
Tks.