Jump to content

Using the selector fieldtype within a repeater


ZionBludd
 Share

Recommended Posts

Hi guys, I'd really appreciate some help from you. I am wondering how I would about using the Selector field type within a repeater.

It seems kinda bad design to have multiple selectors (e.g. Grid 1, Grid 2, Grid 3) when I could use a repeater for it.

Using Ryan's example, I have managed to get my repeater to work

foreach($page->grid_repeater as $grids) {
  echo "<h2>{$grids->grid_type}</h2><p>";
echo "

}

 

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

×
×
  • Create New...