Skip Navigation

[Résolu] Dropdown Feature for Taxonomies in CRED

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
How to have a Single Select Field (DropDown) for taxonomies in a CRED Form?

Solution:
You need to pass the attributes

display='select'

and

single_select='true'

when inserting the ShortCode for the CRED form Field.

Relevant Documentation:
https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_field

This support ticket is created Il y a 7 années et 5 mois. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 2 réponses, has 2 voix.

Last updated by ideabatchV Il y a 7 années et 5 mois.

Assisted by: Beda.

Auteur
Publications
#456328
Taxonomy v Post Field Submission.JPG

I am trying to create the form with taxonomy. I need member only select single choice therefore, i make it display as "select", while the layout is so much different than post field default layout.

Please assist it there any way to display it like post field default layout.

#456485

This is not a single select, as the Post Field is, but a multi-select Field

You need to pass one more attribute, the single_select.
https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_field

'single_select'=> [optional] 'true' | 'false' (default) – If the display='select' argument is set, then single_select='true' will only allow a single option to be selected (by default multiple options can be selected)

Let me know if this solves your issue.

#456631

It works!! Thanks Beda. Love ya ~

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.