Carousel/Form Wizard with Slices

Hi. I'm hoping someone can point me in the right direction here.

I have a page that has slices that represent "slides" on a multi-part form (form wizard).

Is there a way to tell that I only want to display one slice (like an element index for an array) out of the group? Then, presumable, I could create a state with that index in order to show one "slide" at a time.

1 Like

Hello Drew,

Thanks for reaching out to us.

If I understood your question correctly, you can add a boolean field to the slice, for example, "show," and mark it by default as true. Check on the front end; if the value is true, then only show the slide.

Let me know if you are looking for something else. I'd be happy to help you.

Thanks,
Priyanka