Hi guys,<br><br>I&#39;m trying to develop an event that will manipulate the save flow from a module. I took as an example the &quot;Leads&quot; module and created an event for it that is triggered before saving a Lead. I did this because I need to do form validation server side (security issues). All I need to do now is to find a way to redirect the save action back to the edit page if there&#39;s a validation error, but I couldn&#39;t find anyway to do this. Can anyone give me a clue on how to manipulate this flow?<br>
<br>Here&#39;s my class skeleton just to show you what I&#39;m talking about:<br><br>&lt;?php<br>class CheckSomething extends VTEventHandler {<br> function handleEvent($eventName, $data) {<br>    if($eventName == &#39;vtiger.entity.beforesave&#39;) {<br>
       //VALIDATION AND FLOW CONTROL GOES HERE<br>    }   <br>  }<br>}<br>?&gt;<br><br>Thanks in advance.<br><br>Nicolas<br><br>P.S - I&#39;m doing this way cause I can&#39;t modify ANYTHING into the VTIGER&#39;s core. Sry...boss especs.<br>