Skip Navigation

[Resolved] "Display the value of this field from the database" is not giving any options

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 1 year, 8 months ago.

Assisted by: Minesh.

Author
Posts
#2670429

Tell us what you are trying to do?
I am trying to use Radio and Check box to connect to database fields In both of them there is an option "Display the value of this field from the database". I chose that - I dont know how it works. Is there another place where I can define the data table and field
(I was thinking this one would work like pods where the database tables and fields are showing up and I can choose them. )

Is there a similar example that we can see?
Custom field group
Table scategory - with fields id(primary), cat_id, name Example Home Electronic for this cat_id is 1. Grocery for this cat_id is 3
Table ssub_category with fields id (primary), cat_id_, sub_cat_id, sub_cat name. (in otherwords each sub category is/should be linked to one category only -- that is why cat_id field is given to each subcategory item. sub-category for Home Electronic sub_cat_id 5. TV. sub_cat_id 6 Speakers. sub_cat_id 7 Smart Monitors
sub-category for Grocery sub_cat_id 10. Continental sub_cat_id 12 Asian sub_cat_id 14 Fresh Food

Wherever sscategory is chosen at backend admin menu or front end - for adding or editing records for example in the first relationship field record
cat_id is shown user clicks cat_id Home Electronics then in the next relationship field of sub-cat - it should show only sub_cat_id 5. TV. sub_cat_id 6 Speakers. sub_cat_id 7 Smart Monitors. when he chooses grocery onlythe sub-category continental or asia or fresh food should be shown to choose from
Can you please work out an example and let me know how it can be achieved.

#2670807

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Do you mean you want to display first the top level taxonomy tern and when you click on top level taxonomy term it should display the associated child terms?

If this is correct- you will have to use the classic view. If you are using blocks, you can enable the classic view by following the information given with the following link:
- https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/

Once you enable the legacy view, you should create a nested view to display parent term and its associated child terms. Please check the following related ticket that might help you:
- https://toolset.com/forums/topic/sidebar-taxonomy-view-not-sorted-by-country/#post-607675
- https://toolset.com/es/forums/topic/help-with-hierarchical-taxonomy-navigation/#post-444684

More info:
- https://toolset.com/2015/07/how-to-group-posts-by-category/