Jump to main content Jump to doc navigation

OnBeforeTempFormSave

Other versions: 2.x (current) — Other languages: EN RU — Found a problem? Please edit this page or report an issue.

Event: OnBeforeTempFormSave

Fires after a form is submitted but before a Template is saved in the manager.

Service: 1 - Parser Service Events Group: Templates

Event Parameters

Name Description
mode Either 'upd' or 'new', depending on the circumstance.
template A reference to the modTemplate object.
id The ID of the Template. Will be 0 for new Templates.

See Also