1

I have a site with a number of custom field sets. I need to change one of those to allow multiple values. Specifically, the field set holds fields relating to a vehicle; the site now needs to allow each contact to have multiple vehicles. The field set in question is assigned only to the Individual contact type.

I can see the option "Does this Custom Field Set allow multiple records?" on the field set settings page, but I can't enable it. However, if I create a new field set, this option is available.

I"m assuming that once created, you can't enable this option on a field set, although I can't find this documented. But I want to be sure before I delete the field set and recreate it with this option enabled.

Thanks for any guidance on this one.

1

You can only edit the settings for allowing multiple records if the custom set is an empty set, i.e, the checkbox for this setting is only shown for those custom sets for which the custom table created has no rows in it.

This is checked here. variable $this->_isGroupEmpty is set to FALSE if you have any record in the custom table.

  • Thanks - that's what I thought the answer was, but I wanted to be sure. – millionleaves Jan 27 '16 at 20:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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