I’m using Safecracker on a site, and have a related entries field as a select menu, but the menu doesn’t generate a “Select Option” at the top of the list, which basically requires a user to either select a related entry or else the top entry is used by default. We want users to have the option of leaving the related entries field blank. So how do I get that top “no-value” option to show up at the top of the related entries list?
For reference: the code I’m using for the related entries list is this:
{custom_fields}
{if relationship}
<label for="{field_name}">{if required}* {/if}{field_label}</label>
{if field_instructions}{field_instructions}{/if}
<select id="{field_name}" name="{field_name}">
{options}
<option value="{option_value}"{selected}>{option_name}</option>
{/options}
</select>
{/if}
{/custom_fields}