In the spirit of reusing code, I would like to be able to call a Custom Event from within the Submit Event.
I have a situation where I would like to send a confirmation email to an Activity Attendee with slightly different dynamic content dependent on the context in which it is to be sent.
[list=]
[*]When Attendee signs-up using a front-end form.
[*]When an Activity Manager adds an attendee in ChronoConnectivity that uses a CCv5 Edit Action call to a CFv5 form.
[*]When an Activity Manager edits an attendee record using CCv5 Edit Action and changes their status.
[*]When an Activity Manager re-sends a confirmation email using CCv5 custom Resend Action call to the CFv5 form's custom Resend Event.
[/list]
The Activity Manager CCv5 Connection is available in both the Front List and Admin List displays.
The CFv5 form used for Attendee direct sign-up is separate and different from the CFv5 form used for the CCv5 Connection.
Within the Activity Manager CFv5 form for Add and Edit Actions the Submit Event is used and handles the New Attendee vs Existing Attendee status change contexts.
The Activity Manager CCv5 Resend Action uses the same CFv5 form, but calls the Resend Event instead of the Submit one.
This situation forces me to duplicate code in the Attendee Sign-Up CFv5 form, in the Activity Manager CFv5 form's Submit Event, and in the Activity Manager CFv5 form's Resent Event.
I would simply like to be able to call the Activity Manager CFv5 form's Resent Event from both the Activity Manager CFv5 form's Submit Event, and the Attendee Sign-Up form's Submit Event passing the necessary parameters and/or data via session.
I have tried using CFv5 setup action Load Form with action Chrono Redirect, but I cannot seem to get that to work.
I can probably get it to work with CFv5 Redirect setup actions with return URLs passed in, but I was hoping for something simpler and cleaner.
I have a situation where I would like to send a confirmation email to an Activity Attendee with slightly different dynamic content dependent on the context in which it is to be sent.
[list=]
[*]When Attendee signs-up using a front-end form.
[*]When an Activity Manager adds an attendee in ChronoConnectivity that uses a CCv5 Edit Action call to a CFv5 form.
[*]When an Activity Manager edits an attendee record using CCv5 Edit Action and changes their status.
[*]When an Activity Manager re-sends a confirmation email using CCv5 custom Resend Action call to the CFv5 form's custom Resend Event.
[/list]
The Activity Manager CCv5 Connection is available in both the Front List and Admin List displays.
The CFv5 form used for Attendee direct sign-up is separate and different from the CFv5 form used for the CCv5 Connection.
Within the Activity Manager CFv5 form for Add and Edit Actions the Submit Event is used and handles the New Attendee vs Existing Attendee status change contexts.
The Activity Manager CCv5 Resend Action uses the same CFv5 form, but calls the Resend Event instead of the Submit one.
This situation forces me to duplicate code in the Attendee Sign-Up CFv5 form, in the Activity Manager CFv5 form's Submit Event, and in the Activity Manager CFv5 form's Resent Event.
I would simply like to be able to call the Activity Manager CFv5 form's Resent Event from both the Activity Manager CFv5 form's Submit Event, and the Attendee Sign-Up form's Submit Event passing the necessary parameters and/or data via session.
I have tried using CFv5 setup action Load Form with action Chrono Redirect, but I cannot seem to get that to work.
I can probably get it to work with CFv5 Redirect setup actions with return URLs passed in, but I was hoping for something simpler and cleaner.