I am trying to add a custom behaviour while editing a participant, so that based on several conditions of what the user had chosen as custom fields in the event's registration form, the confirmation email of changing the participant status will have generated the right text.
So I am in Event/Form/Participant.tpl, and need to iterate through my participant's custom fields, and look if specific ones that im looking for exist, and if they do, read them, run them through an algorithm, and generate the matching text.
Any hints how do I do that?