This chapter describes some examples of work with events.
System actions mainly deal with three types of events:
It is important to know which type should be used in your specific case. OnBefore events are executed in any case. But OnAfter events are executed only when data entered have been verified (consistency of password, e-mail, etc.). Accordingly, if something is wrong with the data, the event will not be executed.