Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-04T09:54:02.110Z
Answers.Text: So some plugin modification needs to be done. Thanks @brad
Answers.UserDisplayName: Dominik Krulak
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-04T00:00:11.920Z
Answers.LastActivityDate: 2017-03-04T00:00:11.920Z
Answers.UserDisplayName: Brad Bell
Body: <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>
  
Tags: <plugin-guestentries>
Title: Can entries disabled by default in Guest Entries plugin and in section be enabled from the front-end?
ThreadText: # 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](https://github.com/pixelandtonic/GuestEntries) 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 #}
  <input type="hidden" name="enabled" value="1">
  
  ```
  
  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 @username_1  
  
  ---
  
  