# Need help to setup specific use case, linking collection with extra fields

**URL:** <https://discourse.getcockpit.com/t/need-help-to-setup-specific-use-case-linking-collection-with-extra-fields/1658>\
**Category:** Support\
**Created:** [October 1, 2020, 1:07pm UTC](https://discourse.getcockpit.com/t/need-help-to-setup-specific-use-case-linking-collection-with-extra-fields/1658 "2020-10-01T13:07:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hiteshagarwal](https://avatars.discourse-cdn.com/v4/letter/h/958977/32.png) [@hiteshagarwal](https://discourse.getcockpit.com/u/hiteshagarwal)\
**Post date:** [October 1, 2020, 1:07pm UTC](https://discourse.getcockpit.com/t/need-help-to-setup-specific-use-case-linking-collection-with-extra-fields/1658/1 "2020-10-01T13:07:16Z")

</div>

Hello There,

I have a specific requirement and want to know if that is possible Out of the box in this great Cockpit CMS tool.  
Say I have 2 collections, gifts & Offers  
I want to create a link of gift in offer which is straightforward possible.  
Now the problem is that I need one extra field to tell the count of gifts available in one single offer.  
Say I want to create an entry of offer having 50 chocolates (gift) so where should I enter 50.

Please help me as I am using the latest production version of CMS.

Best,

---

<div class="post-metadata">

**Author:** ![hiteshagarwal](https://avatars.discourse-cdn.com/v4/letter/h/958977/32.png) [@hiteshagarwal](https://discourse.getcockpit.com/u/hiteshagarwal)\
**Post date:** [October 1, 2020, 2:27pm UTC](https://discourse.getcockpit.com/t/need-help-to-setup-specific-use-case-linking-collection-with-extra-fields/1658/2 "2020-10-01T14:27:16Z")

</div>

Never Mind, Thanks.  
The below article helped me finding the solution.

> [@Best way to handle repeater with select and text (somewhat solved)](https://discourse.getcockpit.com/t/best-way-to-handle-repeater-with-select-and-text-somewhat-solved/1265):
>
> Basically, I want to add the option to add social links from a predefined list, then add the link url. Nested fields have always got my brain burning. Edit: Updated to working { "fields": [ { "type": "set", "label": "Social Account", "options": { "fields": [ { "type": "select", "name": "action", "label": "socials", "options": { "options": "Facebook, Twitter, Instagram" } …

Just in case if it can help somebody.

Best,
