Calculated fields in form builder
Hi, I can't find the documentation section that describes how to do "calculated" fields in the form builder. I have a
FileUpload
field and I need to store some information about the file in the database, in my case audio length in milliseconds. What's the lifecycle function I can use to fill my audio_length
field based on the file upload? Do I have to do this by listening to a model created event, and fill the column after the row is added?2 Replies