Details
Description
This is a usability issue, as the "Send Email Confirmation" default is currently YES for a new event - but this field is hidden by default because is_online_registration is FALSE by default.
Suggested fix in Registration.php:
- For "new" event case (i.e. no event_page yet) - set $defaults['is_email_confirm'] to NULL (so neither yes or no is checked on the radio).
- formRule specifies that is_email_confirm must be either 0 or 1 if is_online_registration = 1 (so we know that the user made a choice).
- postProcess sets is_email_confirm = 0 IF it is not set (so this happens automatically when is_online_registration is left as 0.
— Original post —
Demonstrated on sandbox. Try to finalize either World Radio Conference or World Radio Conference II.
Please correct the following errors in the form fields below:
Automated confirmation emails are only sent for online registrations. Please disable Email Confirmations or enable Online Registration.