# Update custom contact field (type lookup) multiple times

**URL:** <https://forum.mautic.org/t/update-custom-contact-field-type-lookup-multiple-times/30482>\
**Category:** General Discussion\
**Tags:** community\
**Created:** [January 13, 2024, 9:29am UTC](https://forum.mautic.org/t/update-custom-contact-field-type-lookup-multiple-times/30482 "2024-01-13T09:29:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yukzanaly](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yukzanaly/32/1769_2.png) [@yukzanaly](https://forum.mautic.org/u/yukzanaly)\
**Post date:** [January 13, 2024, 9:29am UTC](https://forum.mautic.org/t/update-custom-contact-field-type-lookup-multiple-times/30482/1 "2024-01-13T09:29:57Z")

</div>

I want to add a custom contact field for purchased products.

here’s how I do it.

a contact purchased product A. the campaign for this product will update the contact info Purchased-Product-A .  
but when the same contact purchased product B, the info of purchased product A is deleted (overwriten).  
How to work around this?

I tried differnt contact field ie multiselect.

the custum contact field that works like tags isn’t there.

😃😃

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [January 14, 2024, 1:27pm UTC](https://forum.mautic.org/t/update-custom-contact-field-type-lookup-multiple-times/30482/2 "2024-01-14T13:27:59Z")

</div>

The proper way to do this is to develop a custom plugin that adds new tables to your databases schema and connect them with leads table.

Using custom fields in that regard is not really practifcal or scalable.

In this place I should also mention that, there is a plugin out there called Custom Objects that might help you with your requirement:

> **[GitHub - acquia/mc-cs-plugin-custom-objects: Mautic plugin adding Custom...](https://github.com/acquia/mc-cs-plugin-custom-objects)**
>
> Mautic plugin adding Custom Objects feature. Contribute to acquia/mc-cs-plugin-custom-objects development by creating an account on GitHub.

Anyway if you are looking into mautic plugin development I can help you out.

---

<div class="post-metadata">

**Author:** ![yukzanaly](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yukzanaly/32/1769_2.png) [@yukzanaly](https://forum.mautic.org/u/yukzanaly)\
**Post date:** [January 14, 2024, 3:52pm UTC](https://forum.mautic.org/t/update-custom-contact-field-type-lookup-multiple-times/30482/3 "2024-01-14T15:52:03Z")

</div>

oh. I understand. thanks
