For non admin groups any new entries on my SAEF are being assigned as closed. I am using safecracker and have posted this on their forums too. But wanted to try here as well as I have no idea why its not working.
Fixtures Channel - Group Assignments - Fixtures Statuses
Fixtures Channel - Channel Preferences - Administrative Preferences - Default Status - Pending
Fixture Statuses - Pending (First letter capitalised).
In the code as well I have set the Status to Pending.
<input type="hidden" name="status" value="Pending" />Within Safecracker I have also set the default status to Pending for Fixtures.
When I submit the form as admin entries get set as Pending but as any other group it gets set to closed. I am not sure where else I should look or if there is any other setting to change. Anyone any ideas.
{exp:safecracker channel="fixtures"
return="fixtures/thanks_row"
datepicker="no"
}
<fieldset>
<input type="hidden" name="allow_comments" value="n" />
<input type="hidden" name="status" value="Pending" />
<?php
$exec_league = '{exp:member:custom_profile_data}{exec_league}{/exp:member:custom_profile_data}';
?>
<table cellspacing="0">
<tr>
<td>
<input type="text" name="entry_date" id="entry_date" value="{current_time format='%Y-%m-%d %H:%i'}" maxlength="23" size="16" />
<input type="hidden" name="title" id="title" value="{title}" />
{if logged_in_member_group == 1}
<select name="category[]">
<option value="" selected="selected">--</option>
{exp:channel:categories cache="yes" channel="seasons" refresh="60" style="linear"}
{if parent_id=='0'}<optgroup label="{category_name}">
{if:else}<option value="{category_id}">{category_name}
{/if}
{if parent_id=='0'}</optgroup>
{if:else}</option>
{/if}
{/exp:channel:categories}
</select>
{field:fixture_home_team} {field:fixture_away_team}
{/if}
{if logged_in_member_group == 8}
<select name="category[]">
<option value="" selected="selected">--</option>
{exp:channel:categories cache="yes" channel="seasons" refresh="60" style="linear"}
{if category_id == '<?php echo $exec_league?>' || parent_id == '<?php echo $exec_league?>'}
{if parent_id=='0'}<optgroup label="{category_name}">
{if:else}<option value="{category_id}">{category_name}
{/if}
{if parent_id=='0'}</optgroup>
{if:else}</option>
{/if}
{/if}
{/exp:channel:categories}
</select>
{exp:member:custom_profile_data}
{embed="fixtures/home_team" exec_league="{exec_league}"} {embed="fixtures/away_team" exec_league="{exec_league}"}
{/exp:member:custom_profile_data}
{/if}
<button type="submit" name="submit">Submit</button>
</td>
</tr>
<tr>
<td>
</td>
</tr>
</table>
</fieldset>
{/exp:safecracker}