# "Trigger" text field not showing up when creating custom badge

**URL:** https://meta.discourse.org/t/trigger-text-field-not-showing-up-when-creating-custom-badge/50339
**Category:** Support
**Created:** [September 19, 2016, 3:10pm UTC](https://meta.discourse.org/t/trigger-text-field-not-showing-up-when-creating-custom-badge/50339 "2016-09-19T15:10:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![evanthemann7](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@evanthemann7](https://meta.discourse.org/u/evanthemann7)
#### Post date: [September 19, 2016, 3:10pm UTC](https://meta.discourse.org/t/trigger-text-field-not-showing-up-when-creating-custom-badge/50339/1 "2016-09-19T15:10:26Z")

</div>

I am trying to create new automatic badges for my community. I am an admin and last week I was able to type SQL into a box called “Trigger (SQL Badge Query)” but now that box does not show up.

I found a similar thread, but refreshing does not fix it for me. That thread was called “Not displayed Trigger Options in Admin Panel for badges”. I tried to link here but it wouldn’t let me since I’m a new user.

Thanks

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [September 19, 2016, 3:16pm UTC](https://meta.discourse.org/t/trigger-text-field-not-showing-up-when-creating-custom-badge/50339/2 "2016-09-19T15:16:22Z")

</div>

You will want to read this

> [@Enable Badge SQL](https://meta.discourse.org/t/badge-sql-can-no-longer-be-edited-by-default/47894):
>
> bookmark This guide explains how to enable Badge SQL in Discourse and discusses the associated security and performance risks. person_raising_hand Required user level: Administrator warning Enabling Badge SQL can pose security and performance risks. To maintain security and performance integrity, as of Discourse 1.6, the ability for administrators to edit badge SQL directly is disabled by default. The two primary concerns around enabling Badge SQL are: Security: Allowing direct SQL …

---

<div class="post-metadata">

### Author: ![evanthemann7](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@evanthemann7](https://meta.discourse.org/u/evanthemann7)
#### Post date: [September 19, 2016, 3:22pm UTC](https://meta.discourse.org/t/trigger-text-field-not-showing-up-when-creating-custom-badge/50339/4 "2016-09-19T15:22:57Z")

</div>

Thanks, good info to know.

What is the best way to contact [@team](https://meta.discourse.org/groups/team) to get this feature enabled?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [September 19, 2016, 3:32pm UTC](https://meta.discourse.org/t/trigger-text-field-not-showing-up-when-creating-custom-badge/50339/5 "2016-09-19T15:32:29Z")

</div>

You could send a PM to team here (you need to reach TL1 first), or simply email [team@discourse.org](mailto:team@discourse.org) which will do the exact same thing.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [September 20, 2016, 8:37am UTC](https://meta.discourse.org/t/trigger-text-field-not-showing-up-when-creating-custom-badge/50339/6 "2016-09-20T08:37:55Z")

</div>


