a-ok Posted July 15, 2016 Share Posted July 15, 2016 I'm wondering if anyone has had any success with putting a PageTable within a Repeater? I want to create a template that has a text field followed by a flexible layout that can exist multiple times, so for example, Featured title 1 PageTable field 1 PageTable field 2 PageTable field 3 Featured title 2 PageTable field 1 PageTable field 2 I created a Repeater field with a text field, then added in the PageTable field so it looks like the screenshot attached, but upon saving a PageTable entry, it doesn't seem to do anything. I'm guessing I could just create each 'repeater' as a page (child pages) rather than a repeater but was just curious otherwise. Link to comment Share on other sites More sharing options...
Robin S Posted July 15, 2016 Share Posted July 15, 2016 As you found, PageTable does not work inside a repeater. See this post for a handy summary of what works and what doesn't with page-type fields. Can you work around this by getting rid of the repeater and adding a PageTable option that consists of just a title field? The UI would probably be nicer with RepeaterMatrix. 1 Link to comment Share on other sites More sharing options...
a-ok Posted July 15, 2016 Author Share Posted July 15, 2016 1 minute ago, Robin S said: As you found, PageTable does not work inside a repeater. See this post for a handy summary of what works and what doesn't with page-type fields. Can you work around this by getting rid of the repeater and adding a PageTable option that consists of just a title field? The UI would probably be nicer with RepeaterMatrix. OH! When did RepeaterMatrix happen??? And yep, thanks again, Robin. I could add a title field but felt like it would add extra complexity as all other content would be collapsed within the title field on the front end and what's stopping them adding two or more title fields which would break the functionality. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now