# Custom field, custom data type and privileges question

**URL:** <https://forum.mautic.org/t/custom-field-custom-data-type-and-privileges-question/10390>\
**Category:** Product Support\
**Created:** [March 29, 2018, 7:14am UTC](https://forum.mautic.org/t/custom-field-custom-data-type-and-privileges-question/10390 "2018-03-29T07:14:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sqarelight](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@sqarelight](https://forum.mautic.org/u/sqarelight)\
**Post date:** [March 29, 2018, 7:14am UTC](https://forum.mautic.org/t/custom-field-custom-data-type-and-privileges-question/10390/1 "2018-03-29T07:14:44Z")

</div>

Hi,  
I need to create a custom select field (company/contact) with option ‘create new/delete’, similar to how categories works (ie. now there are available values “A”, “B” and soon there will be “C”, “D” …). Being more specific it shows source where contact/company comes from (private/website A mailing/website B survey, etc.). My question is how to do that (some hints), is this secure, how to give privileges to users so some won’t be able to see/sort by this info in the output? Mautic has categories that work in some part what I need, what part of code is responsible for adding new category to database? I’m new to Mautic’s everything in case of coding, so any hint will be very appreciated.  
Thank You

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [October 17, 2019, 4:34pm UTC](https://forum.mautic.org/t/custom-field-custom-data-type-and-privileges-question/10390/2 "2019-10-17T16:34:13Z")

</div>


