I want to create a custom field that selects a CiviCRM group.
eg, the business logic is "when a person registers for an event and they select 'subscribe me to news of events like this' then add them to group X" where X is a custom field attached to the event.
I could create a custom field that is an integer, look up the Id of the group, and set the custom field to that number. It would be nicer to have a UI for that.
Any pointers? Cheers!