When publishing entries as myself (Super Admins) I can get a default status set to Pending But when I try to use another user from a different group this gets defaulted to Closed.
I have a stauts group (with Pending) assigned to the Channel and have also Default Status of Pending set in SafeCracker.
{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}