Skip Navigation

[Resolved] Creating a cred field

This support ticket is created 6 years, 2 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.

Our next available supporter will start replying to tickets in about 1.61 hours from now. Thank you for your understanding.

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

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Author
Posts
#1104722
2018-09-10 10_56_47-Account – Makeup Artist Directory Finder – MakeupTalent.com.png

Tell us what you are trying to do?
I have a taxonomy called "places" which has taxonomies listed already as...

=========
country
--state/province
------city
=========

I want users to choose a city in their account edit page. Currently when I use
[cred_field field='place' display="select" single_select="true" class='form-control' ordering="asc"]

It outputs items hierarchly..but I want items listed alphabetically as

<list item>City, State</list item>
<list item>City, State</list item>
<list item>City, State</list item>
<list item>City, State</list item>

Is there a similar example that we can see?
If you login to the site, and go to "hidden link" and then click the edit profile tab, you will see the issue. You need to login with an example user to see the form. You can signup

What is the link to your site?
hidden link

UPDATE: I posted this a few days back which describes the problem as well..
https://stackoverflow.com/questions/52200482/alphabetically-list-3rd-level-of-a-custom-taxonomy

#1104733

Actually, you can try doing this yourself to create a new signup account..

1. Signup here: hidden link
2. Login using the account you just created
3. Go to the edit profile tab.. scroll down to places drop down

#1105273

Hello,

I assume you are going to display the option title as below:
The third level term(City) + 2nd level term(State)

There isn't such a built-in feature within Toolset form plugin, see our document:
https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_field

If you agree, we can take it as a feature request, our developers will evaluate it.

#1105688

I was finally able to build the right php to generate my drop down and have successfully installed it on the page.