Body: <p>For some of my events I need to add a custom field which I want to make required. For other events I don't want to include this field and I use different profiles to deal with this. My first idea was to make the field required in the custom field definition and this was fine for online registration, but on manual registration it was still required for manual registration for events that don't use this field. Looking in SE I found a couple of questions <a href="https://civicrm.stackexchange.com/questions/28129/manual-event-registration-problems">Manual Event Registration problems</a> and <a href="https://civicrm.stackexchange.com/questions/28129/manual-event-registration-problems">Manual Event Registration problems</a> which help a lot. If I don't make the fields required in the field definition but make them required in the appropriate profile stops me having to enter them for manual participants when not relevant.</p>
  <p>But then someone can register a participant manually without putting filling in the field that needs to be there. I can live with this but its not ideal.</p>
  <p>From the questions referred to above I could restrict the fields to only one type of event, but that means having event types &quot;course&quot; and &quot;course with special field&quot; which is clumsy and probably confusing, making the event type not very useful for report filtering etc. Also I can't retrospectively apply this to an event that is already open for booking because I need to create a new custom field.</p>
  <p>Any other suggestions?</p>
  <p>CiviCRM 5.262.2</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-07-20T17:55:06.917Z
Comments.Text: Do you mean events or registrations i.e. participants?
Comments.UserDisplayName: Parvez Saleh
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-07-20T20:02:24.290Z
Comments.Text: Parvez - I'd got myself a bit confused. I do mean participants and there I see that I can make the custom field set specific for any event name as well as event type so I  think that will work. I'll check it all our and then its probably appropriate to delete my question! I had mistakenly looked at event custom fields when I was trying to restrict them.
Comments.UserDisplayName: Mick Kahn
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-07-21T16:29:06.330Z
Comments.Text: No probs, thats why I was clarifying if it really was events or not. No need to delete your question, lots of people end up getting into the same rabbit hole.
Comments.UserDisplayName: Parvez Saleh
Tags: <civievent><custom-fields>
Title: Required custom fields in events
ThreadText: # Required custom fields in events
  
  (Asked by: username_0 on 2020-07-20)
  
  For some of my events I need to add a custom field which I want to make required. For other events I don't want to include this field and I use different profiles to deal with this. My first idea was to make the field required in the custom field definition and this was fine for online registration, but on manual registration it was still required for manual registration for events that don't use this field. Looking in SE I found a couple of questions [Manual Event Registration problems](https://civicrm.stackexchange.com/questions/28129/manual-event-registration-problems) and [Manual Event Registration problems](https://civicrm.stackexchange.com/questions/28129/manual-event-registration-problems) which help a lot. If I don't make the fields required in the field definition but make them required in the appropriate profile stops me having to enter them for manual participants when not relevant.
  
  But then someone can register a participant manually without putting filling in the field that needs to be there. I can live with this but its not ideal.
  
  From the questions referred to above I could restrict the fields to only one type of event, but that means having event types "course" and "course with special field" which is clumsy and probably confusing, making the event type not very useful for report filtering etc. Also I can't retrospectively apply this to an event that is already open for booking because I need to create a new custom field.
  
  Any other suggestions?
  
  CiviCRM 5.262.2
  
  **Tags:** civievent, custom-fields
  
  > **Comments:**
  > **username_1**: Do you mean events or registrations i.e. participants?  
  > **username_0**: username_1 - I'd got myself a bit confused. I do mean participants and there I see that I can make the custom field set specific for any event name as well as event type so I  think that will work. I'll check it all our and then its probably appropriate to delete my question! I had mistakenly looked at event custom fields when I was trying to restrict them.  
  > **username_1**: No probs, thats why I was clarifying if it really was events or not. No need to delete your question, lots of people end up getting into the same rabbit hole.  
  
  ---
  
  ## 0 answers
  
  