Views: 1021 (Data available since 06.02.2017)

This chapter describes some examples of work with events.

System actions mainly deal with three types of events:

  • OnBefore;
  • On;
  • OnAfter.

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.




Courses developed by «Bitrix», Inc.