Skip Navigation

[Resolved] Taxonomy dropdown (single select) with first option as null

This support ticket is created 5 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Shane 5 years, 4 months ago.

Assisted by: Shane.

Author
Posts
#1308217

I want to do a Taxonomy dropdown in a cred form, but it is an optional field, so I want the first option to be "null". When I tried this, it ignores these two parameters:
value='' select_text='-- select --'

And just shows the first Taxonomy already filled into the dropdown select. It works for a force_type='field' but not a force_type='taxonomy'. This is what I was trying:

[cred_field field='national-league-affiliation' force_type='taxonomy' output='bootstrap' display='select' single_select='true' value='' select_text='-- select --']

#1308245

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Susan,

Thank you for contacting our support forum.

Taxonomies operate differently from custom fields so an option like this won't work. You will need to add a default taxonomy term to the list in order for you to get this option.

Since its on a CRED form.

Thanks,
Shane