A Pen by Captain Anonymous on CodePen.
Forms have been an integral part of any interactive site since the dawn of time — they promote interactivity and are usually the most common way users interact with a site. It's commonplace that when a form is submitted (input), the website will take 'action' and do something with the data (processing) and then provide a user with the result (output). Symphony provides this logic layer via events.
This tutorial is about customising Symphony events. You will learn about:
- event execution conditions (
load
and__trigger
) - field naming and the
$_POST
array - creating related entries in two or more sections at the same time, aka. event chaining
- event priority (execution order)
- entirely custom events