Custom field value for a new Event based on an Event Template are not checked causing false validation message and Event not to save
Custom field value for a new Event based on an Event Template are not checked causing false validation message and Event not to save.
Steps to reproduce:
- Create a custom field, assign to Events and set to be a required field
- Create a new Event
- Select an Event Template for the Event
- Set a value for the custom field
- Save the Event
- Validation message appears for custom field, even though a value has been set
- Event does not save
- If no Event Template is selected then field validation is correct and the Event will save
Tested on CiviCRM 5.16.3 and CiviCRM 5.19.alpha1
Agileware Ref: CIVICRM-1306