paulproffitt
Member
Are all the listed trigger events in Process script field for PHP form plugins always triggered or are some/all of them conditionally triggered based on context (e.g. onBeforeCalculations)?
I have several PHP plugins and in some cases I want to make sure some plugins are executed before others. So I normally use the onBeforeProcess because some plugins may manipulate the form content before it is saved. Using onAfterProcess would seem good, but the form data is no longer available there. So I want to use something between these two such as onBeforeStore or onBeforeCalculations. But onBeforeStore mentions "After any images have been uploaded" and I'm not uploading images nor am I doing any calculations. I just want to know if those events are still triggered in every case.
I have several PHP plugins and in some cases I want to make sure some plugins are executed before others. So I normally use the onBeforeProcess because some plugins may manipulate the form content before it is saved. Using onAfterProcess would seem good, but the form data is no longer available there. So I want to use something between these two such as onBeforeStore or onBeforeCalculations. But onBeforeStore mentions "After any images have been uploaded" and I'm not uploading images nor am I doing any calculations. I just want to know if those events are still triggered in every case.