# \[SOLVED\] How can I populate a dropdown extra-field options with the third parties names?

**URL:** <https://www.dolibarr.org/forum/t/solved-how-can-i-populate-a-dropdown-extra-field-options-with-the-third-parties-names/30182>\
**Category:** Developing for Dolibarr\
**Tags:** Extrafields, Third-Parties\
**Created:** [March 31, 2025, 4:48pm UTC](https://www.dolibarr.org/forum/t/solved-how-can-i-populate-a-dropdown-extra-field-options-with-the-third-parties-names/30182 "2025-03-31T16:48:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![geppettvs](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/geppettvs/32/4029_2.png) [@geppettvs](https://www.dolibarr.org/forum/u/geppettvs)\
**Post date:** [March 31, 2025, 4:48pm UTC](https://www.dolibarr.org/forum/t/solved-how-can-i-populate-a-dropdown-extra-field-options-with-the-third-parties-names/30182/1 "2025-03-31T16:48:58Z")

</div>

I want to know if there’s a native way to populate the options of an extra-field (dropdown), with the third parties names.

The expected behavior is to have a custom field with all the third parties to choose from, without writing them in the dropdown options, maybe by using an SQL sentence or something.

When I say “native way” I mean: with no need to code for a specific plugin or module.

Thanks.

---

<div class="post-metadata">

**Author:** ![sonikf](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/s/97f17d/32.png) [@sonikf](https://www.dolibarr.org/forum/u/sonikf)\
**Post date:** [March 31, 2025, 6:03pm UTC](https://www.dolibarr.org/forum/t/solved-how-can-i-populate-a-dropdown-extra-field-options-with-the-third-parties-names/30182/2 "2025-03-31T18:03:42Z")

</div>

Ηι @geppettvs  
It’s pretty easy:  
Create an extrafield with type Select from table  
and in value field add societe:nom:rowid  
If you click the little **i** symbol on the right side you will find more options…

---

<div class="post-metadata">

**Author:** ![geppettvs](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/geppettvs/32/4029_2.png) [@geppettvs](https://www.dolibarr.org/forum/u/geppettvs)\
**Post date:** [March 31, 2025, 7:13pm UTC](https://www.dolibarr.org/forum/t/solved-how-can-i-populate-a-dropdown-extra-field-options-with-the-third-parties-names/30182/3 "2025-03-31T19:13:28Z")

</div>

First, I feel like a 🤡. I didn’t notice that we have a “from table” extra field.

Second, perhaps I am doing something wrong, because I tried with the value you gave me and now I can’t see the field anywhere in the forms.

Any clues, please?

 ![prov2](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/e/e1d2a07ca80b180c35a2240f82002128106dacc2.png)

---

<div class="post-metadata">

**Author:** ![geppettvs](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/geppettvs/32/4029_2.png) [@geppettvs](https://www.dolibarr.org/forum/u/geppettvs)\
**Post date:** [March 31, 2025, 7:32pm UTC](https://www.dolibarr.org/forum/t/solved-how-can-i-populate-a-dropdown-extra-field-options-with-the-third-parties-names/30182/4 "2025-03-31T19:32:15Z")

</div>

Please forget about my last comment. Your help is appreciated. It works like a charm.  
Thanks a lot!
