It looks like you're new here. If you want to get involved, click one of these buttons!
I have a simple products module.
When the user creates a product, I want one of the fields to be save in uppercase to the database.
I think I should use the model hook: on_before_save but I can't find any example of where to put this hook and how to actually use it.
Do I put in the the products model file? Where? how?
Can anyone point me to the right documentation or give me an example on how to use this hook?