Forums › Forums › Search & Filter Pro › acf field, repeater and grouped
- This topic has 14 replies, 5 voices, and was last updated 1 year, 2 months ago by Trevor.
-
Anonymous(Private) December 22, 2020 at 5:24 pm #270788
thx,
i have make some test, the plugin read single direct field its not important if is repeater or group ecc and it may also be fine in my specific case, for the moment. BUT
https://ibb.co/kHgY9cj
(this is the first row of a repeater and contain address information)if i want select only the postal code and try to select the plugin forces me to select ALL the postal CODE of all posts one at a time. could you enter some system to tell it to select that data and all data equal to that or have the same array key?
Ross Moderator(Private) December 23, 2020 at 2:19 pm #270949Hi Edoardo
Essentially, while we do support grouped fields by accessing them like you said:
nameofgroup_fieldnameid
we don’t support repeater fields (we are hoping to add this).I think you only option (I’m not actually sure it would work) is if you created the options yourself (manual entry) and controlled the visible options you want.
The only alternative would be to create the options for the field programmatically –
https://searchandfilter.com/documentation/action-filter-reference/#filter-input-objectBut my suspicion is, that the search mechanism doesn’t even work correctly for this data?
I think you won’t be able to progress with this kind of functionality until we make some updates.
Best
Anonymous(Private) December 23, 2020 at 5:30 pm #270973what I currently need to get (for now) is to search for the meta post_code within the first row of the repeater. I can select it using groupname_repeatername_numberofrow_fieldname, selecting the manual option I can choose the post_code in the address field I selected.
the problem is that I have to choose it for every single existing post. is there no way or if you can add it, to select that one parameter and automatically the plugin fetches it from all posts?
if I choose the automatic setting it takes me all the meta of the address field, therefore also longitude, latitude and other data that are not of interest. it would be very useful if you could enter something that automatically fetches meta from the field but can choose which parameter. a hybrid between automatic and manual mode. I don’t know if I made myself clear.
PS: the best thing ever would be to fetch that parameter from all repeater rows but already being able to fetch it from a specific row for the moment can go.
Anonymous(Private) December 23, 2020 at 5:39 pm #270977and for answer your question yes access directly to the field with complete name though the field is a address field and have a lot of meta inside, all work perfectly.
https://ibb.co/8mfGbfS
https://ibb.co/4YfGWN7
https://ibb.co/56NwD7K
https://ibb.co/4MdfN29 -
AuthorPosts