# Adding New Option to Custom Select Field

**URL:** <https://forum.mautic.org/t/adding-new-option-to-custom-select-field/3726>\
**Category:** Product Support\
**Created:** [May 11, 2016, 5:41pm UTC](https://forum.mautic.org/t/adding-new-option-to-custom-select-field/3726 "2016-05-11T17:41:41Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steven](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@Steven](https://forum.mautic.org/u/Steven)\
**Post date:** [May 11, 2016, 5:41pm UTC](https://forum.mautic.org/t/adding-new-option-to-custom-select-field/3726/1 "2016-05-11T17:41:41Z")

</div>

When creating a new custom field and giving it a “Select” data type, making it a drop-down menu, you’re given the ability to add option values to to the drop-down menu. After saving this field and then attempting to edit it, there appears to be no way to add to, remove from, or modify these option values.  
  
  
  
Am I missing something; is there a way to modify these option values and, if so, how? I’d like to be able to perform this action.  
  
  
  
Note, when I click on the custom field in order to edit it, the option values are displayed for a split second as the page loads, but are then removed and cannot be found even if inspecting element via chrome.  
  
  
  
Using server-side installation of Mautic v1.4.0.

---

<div class="post-metadata">

**Author:** ![Steven](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@Steven](https://forum.mautic.org/u/Steven)\
**Post date:** [May 11, 2016, 5:41pm UTC](https://forum.mautic.org/t/adding-new-option-to-custom-select-field/3726/2 "2016-05-11T17:41:41Z")

</div>

When creating a new custom field and giving it a “Select” data type, making it a drop-down menu, you’re given the ability to add option values to to the drop-down menu. After saving this field and then attempting to edit it, there appears to be no way to add to, remove from, or modify these option values.

Am I missing something; is there a way to modify these option values and, if so, how? I’d like to be able to perform this action.

Note, when I click on the custom field in order to edit it, the option values are displayed for a split second as the page loads, but are then removed and cannot be found even if inspecting element via chrome.

Using server-side installation of Mautic v1.4.0.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [May 12, 2016, 11:08am UTC](https://forum.mautic.org/t/adding-new-option-to-custom-select-field/3726/3 "2016-05-12T11:08:19Z")

</div>

I’m able to replicate. Prepared a fix: [https://github.com/mautic/mautic/pull/1733](https://github.com/mautic/mautic/pull/1733)

---

<div class="post-metadata">

**Author:** ![teamtmedia](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@teamtmedia](https://forum.mautic.org/u/teamtmedia)\
**Post date:** [May 18, 2016, 4:43am UTC](https://forum.mautic.org/t/adding-new-option-to-custom-select-field/3726/4 "2016-05-18T04:43:21Z")

</div>

I have just applied the fix but it doesn’t seem to have solved the problem for me.

Custom “select” field under “professional” with 2 values. Attempt to edit, can’t apply or save any changes or see the values.

Logout, apply changes, clear app cache, login. No change to my situation.

Any thoughts?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [May 18, 2016, 6:42am UTC](https://forum.mautic.org/t/adding-new-option-to-custom-select-field/3726/5 "2016-05-18T06:42:32Z")

</div>

You’d have to run Mautic in dev mode which is not possible with production package as I’m aware. I should have mention that. The change was made in the JS source files which are concatenated and minified for each production version.

Oh, wait. Maybe there is a solution. If you can run commands, run

```auto
/path/to/mautic/app/console mautic:assets:generate
```

(change the path/to/mautic to point to the Mautic root dir)

Or try to rename media/js/app.js file (to create a backup if anything goes wrong). Mautic should generate the JS file if missing.

---

<div class="post-metadata">

**Author:** ![teamtmedia](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@teamtmedia](https://forum.mautic.org/u/teamtmedia)\
**Post date:** [May 18, 2016, 7:42am UTC](https://forum.mautic.org/t/adding-new-option-to-custom-select-field/3726/6 "2016-05-18T07:42:05Z")

</div>

Nope. Really bad. No my Mautic instance won’t load. I appear to login and then I get a “page unresponsive” error. I have tried clearing the app/cache and clearing my browser history but no go. Oh…

---

<div class="post-metadata">

**Author:** ![teamtmedia](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@teamtmedia](https://forum.mautic.org/u/teamtmedia)\
**Post date:** [May 18, 2016, 7:44am UTC](https://forum.mautic.org/t/adding-new-option-to-custom-select-field/3726/7 "2016-05-18T07:44:59Z")

</div>

Hang on…might have been a server thing. It appears to be back. Let me prod and poke and I’ll get back to you.

---

<div class="post-metadata">

**Author:** ![teamtmedia](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@teamtmedia](https://forum.mautic.org/u/teamtmedia)\
**Post date:** [May 18, 2016, 7:45am UTC](https://forum.mautic.org/t/adding-new-option-to-custom-select-field/3726/8 "2016-05-18T07:45:37Z")

</div>

Bingo. Maybe that command took longer to run than the output message suggested. Thank you

---

<div class="post-metadata">

**Author:** ![teamtmedia](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@teamtmedia](https://forum.mautic.org/u/teamtmedia)\
**Post date:** [May 18, 2016, 7:46am UTC](https://forum.mautic.org/t/adding-new-option-to-custom-select-field/3726/9 "2016-05-18T07:46:31Z")

</div>

For other people following this I did not terminal in but simply ran a CRON job one time. Being that I have my cPanel CRON job window open whilst fiddling in Mautic it was the obvious choice.

---

<div class="post-metadata">

**Author:** ![Steven](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@Steven](https://forum.mautic.org/u/Steven)\
**Post date:** [June 21, 2016, 4:37pm UTC](https://forum.mautic.org/t/adding-new-option-to-custom-select-field/3726/10 "2016-06-21T16:37:35Z")

</div>

Sorry for the late response… Confirmed the fix.
