Make fields required when using Guest Entries This might be a bit of a Noob question but here I go:

Using Guest Entries on a site and cannot figure out how to make certain fields required. Those fields are marked as required in the CP but, when using Guest Entries, entries are submitted even when required fields are not filled in.

I can easily implement a front-end validation but I would like the validation to happen on the back-end before saving the entry as well.


Should this happen automatically, am I missing something ?
Do I have to create a validation "manually" and if so, how ?


EDIT:

After updating the plugin, this is how I displayed validation errors:

{% if entry.errors is defined %}
    {% for errorField, error in entry.errors %}
        {% for errorMessage in error %}
        &lt;ul class="form-errors"&gt;
            &lt;li&gt;{{ errorField }} - {{ errorMessage }}&lt;/li&gt;
        &lt;/ul&gt;
        {% endfor %}
    {% endfor %}
{% endif %}
If the fields are marked as required in your field layout, then they should fail validation even on the front-end, so it sounds like a bug to me.  Can you send a database backup as well as the template code you're using for the form over to support@buildwithcraft.com?

Update

The issue was that if your entries were set to be disabled by default, then Craft won't run any validation on them.  Just made a change so that if you use the latest Guest Entries, you'll have an additional plugin setting to enable/disable validation on a per section basis, regardless of the default status of the entry.