<p>Currently, that won't work.</p>

<p>The Guest Entries plugin looks at the plugin's setting for whether that entry should be enabled for the given section or not, not anything from $_POST.</p>

<p><a href="https://github.com/pixelandtonic/GuestEntries/blob/master/guestentries/controllers/GuestEntriesController.php#L227" rel="nofollow noreferrer">https://github.com/pixelandtonic/GuestEntries/blob/master/guestentries/controllers/GuestEntriesController.php#L227</a></p>

CC BY-SA 3.0
2017-03-04T09:54:02.110Z
So some plugin modification needs to be done. Thanks @brad
Dominik Krulak
CC BY-SA 3.0
2017-03-04T00:00:11.920Z
2017-03-04T00:00:11.920Z
Brad Bell
<p>So I have the switch for <em>Enable entries by Default</em> set to OFF for <a href="https://github.com/pixelandtonic/GuestEntries" rel="nofollow noreferrer">Guest Entries</a> and a channel.</p>

<p>Given this <code>value="1"</code> for input field <code>name="enabled"</code> on Guest Entry submission I always get entry <strong>not updated</strong> in corresponding field with desired value.</p>

<pre><code>{# Enable entry #}
&lt;input type="hidden" name="enabled" value="1"&gt;
</code></pre>

<p>I think the channel switch for <em>Enable entries by default</em> should be on as guest entries doesn't have control over that?</p>

<plugin-guestentries>
Can entries disabled by default in Guest Entries plugin and in section be enabled from the front-end?
# Can entries disabled by default in Guest Entries plugin and in section be enabled from the front-end?

(Asked by: username_0 on 2017-03-03)

So I have the switch for Enable entries by Default set to OFF for Guest Entries and a channel.
Given this value="1" for input field name="enabled" on Guest Entry submission I always get entry not updated in corresponding field with desired value.
{# Enable entry #}


I think the channel switch for Enable entries by default should be on as guest entries doesn't have control over that?

**Tags:** plugin-guestentries


---

## 1 answers

### Answer by username_1 on 2017-03-04. Score: 1 | Accepted answer

Currently, that won't work.

The Guest Entries plugin looks at the plugin's setting for whether that entry should be enabled for the given section or not, not anything from $\_POST.

<https://github.com/pixelandtonic/GuestEntries/blob/master/guestentries/controllers/GuestEntriesController.php#L227>

> **Comments:**
> **username_0**: So some plugin modification needs to be done. Thanks @brad  

---

