Skip Navigation

[Resolved] Searching field inside a Repeatable Field Group

This thread is resolved. Here is a description of the problem and solution.

Problem:
How can we create a View that has a Custom Search for the fields in a Repeatable Field Group we added to our posts?

Solution:
You need to create a View to query the actual "Post type" Repeatable Field Group.
Then you can add Queries to that View like for any other View querying post types, so you can add the actual search for the fields inside of the Repeatable Field Groups like you do it for other post fields in Views searches.

Note that this will display ALL the repeatable Field items, so if you want only fields of a specific post, you need to pass this in the Query of the View (get posts with a parent like...)

This support ticket is created 4 years, 11 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
- - 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 16 replies, has 2 voices.

Last updated by ericK-4 4 years, 11 months ago.

Assisted by: Beda.

Author
Posts
#1518005

Aha, now that's clear.

In this case, though I cannot really treat this as a Toolset issue.

What you'd have to do is enter the database, find (in the posts table) all the posts with the IDs as shown in that View that has NO related parent.
You can easily find them by listing the RFG in a View as I did in the example.

Then delete those posts in the database.
That should solve the issue.

#1520457

My issue is resolved now. Thank you!
I appreciate a lot your help ! Have a good day !