I'm new to Toolset. I want to merge and format a list of dates inside a repeated field group.
I have a CPT Events that has a repeated field group containing Dates and Venue pairs. I would like to take the list of dates from rows of a view (ex Dec 29 2025, Dec 30 2025, Dec 31 2025, Jan 1 2026) and merge them into a text string for output that looks something like Dec 29 - 31, 2025 <br> Jan 1, 2026.
This would be simple to do if I could add custom PHP code in the loop editor, but it seem that this isn't possible? Can you point me in the right direction to be able to rewrite the results of a view? Thank you!
Thanks for your response. The information would need to be displayed both in the single event listing page and also nested in a view that is a list of events.
The current site is basically an empty testing ground for proof of concept.
Hi, I am able to generate the nested view. The issue is that I would like to take those results from that view and manually reformat those repeated results (multiple rows) entirely into one custom formatted result.
In the legacy version of Toolset Views, I can see where the loop displays each row of the results. It would be easy to do what I want to do if I could inject some PHP code there - is there a way to do that?