I don’t know why, but this code:
{custom_fields}
{if relationship}
<label for="{field_name}">{if required}* {/if}{field_label}</label>
<select name="{field_name}" >
<option value="">--Please select--</option>
{exp:channel:entries channel="locations" author_id="CURRENT_USER" }
<option value="{entry_id}">{therapist_state}</option>
{/exp:channel:entries}
</select>
{/if}
{/custom_fields}spits out an INSANE amount of
tags between this: {custom_fields} and this {if relationship}.
What can I do to remove that?
‘BTW, this is what it renders:
<label for="therapist_location1">Therapist Location1</label>
<select name="therapist_location1" >
<option value="">--Please select--</option>
<option value="45">Arizona</option>
</select>
<label for="therapist_location2">Therapist Location2</label>
<select name="therapist_location2" >
<option value="">--Please select--</option>
<option value="45">Arizona</option>
</select>