[Vtigercrm-developers] Creating an event to manipulate the save flow from a module
Adam Heinz
amh at metricwise.net
Tue Apr 19 08:05:13 PDT 2011
On Tue, Apr 19, 2011 at 10:35 AM, Nicolas Larcipretti
<niclarcipretti at gmail.com> wrote:
> All I need to do now is to find a
> way to redirect the save action back to the edit page if there's a
> validation error, but I couldn't find anyway to do this. Can anyone give me
> a clue on how to manipulate this flow?
The last couple lines in any of the Save.php files are a header()
redirect. It's a bit of a hack, but it seems like you could coerce it
to do what you want if you modify the global variables used in those
calls.
More information about the vtigercrm-developers
mailing list