I working on a simple module that have a simple backend form composed with custom field and I looking for a event or something else to process something during it submition.
What's the way to to do something when i click save from my admin form of this module?
Thanks in advance :)
Edit: I looking for how to do something specific when the save button of the module is clicked. In this case, I have a image upload field and when i click on the save button, I want to create thumbnails from this image. And only at this time.
I have look to add a field hidden like is_submit to do something if this POST value is submit but if this value is write in the database and loaded all times with the module, I'm not sure the form is really submit by the user...
If someone have a idea to do this simply (without ajax if possible). ;)