I have a Channel Form set up which is working fine and inserting entries into a Channel with the default status.
Now there is a requirement to allow the status to be changed when creating the entry via the Channel Form but for the life of me I can't get it to work.
I have tried using the Channel Form {status} tags and also tried hardcoding the select drop down but no matter what I do the default status is applied.
Here's the EE tag version
<select id="status" name="status">
{statuses}
<option value="{status}"{selected}>{status}</option>
{/statuses}
</select>
And here's the HTML
<select name="status">
<option value="Pending">Pending</option>
<option value="Approved">Approved</option>
<option value="Declined">Declined</option>
</select>
The only thing I can think of is that I'm trying to set a custom status and not the normal "open" or "closed". Even using standard "open" and "closed" (via the EE generated drop down) doesn't work.
The site is using EE 2.9.0.
Has anyone run into this problem?