Jump to content

PageTable inside a Repeater


a-ok
 Share

Recommended Posts

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.

Screen Shot 2016-07-15 at 09.39.43.png

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...