What is the public flag for on custom Field sets? It seems that even if a field is marked as public, it will not show up for anonymous users on a profile unless I give anonymous users the "access all custom data" permission. What is the public flag for?

2 Answers 2


From https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields/#is-this-custom-field-set-public

Is this Custom Field Set public? If a custom field set is marked as public, its fields will be shown on public-facing pages.

For example, custom fields that should be shown on an event information page should belong to a field set marked as public. Custom fields that relate to administrative information about an event should be part of a field set that is not be marked as public.

Note that the setting is at the Custom Field Set level and applies to all Custom Fields in the Set. Individual fields cannot be marked as public or not.

  • I Marked a field set as public and the field does not show up on front facing forms... Bug?
    – Yossi
    Commented Dec 21, 2018 at 1:55
  • what sort of entity? can you replicate on dmaster.demo.civicrm.org
    – petednz - fuzion
    Commented Dec 21, 2018 at 2:15
  • It's a contact field.
    – Yossi
    Commented Dec 21, 2018 at 2:18
  • can you replicate on dmaster.demo.civicrm.org?
    – petednz - fuzion
    Commented Dec 21, 2018 at 3:41
  • dmaster.demo.civicrm.org/civicrm/profile/… both public and not public are visible. I'm assuming the permission is given to anonymous to access all custom data. Can't really test there because I cannot access permissions
    – Yossi
    Commented Dec 21, 2018 at 6:54

The way to expose a custom field on a public profile form is by using ACL permissions.

Administer>Users and Permissions> Permissions Select "Manage ACLs" Add ACL Role=Everyone Operation=Edit Type of Data=A set of custom data fields Save

The public flag is doesn't do anything when it comes to displaying the custom fields on a public profile form.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.