Forum Academy Marketplace Showcase Pricing Features

How to select StateType while creating custom states

I am trying to build a simple page where I have a list of videos in a RG and a checkbox against each video to select and add to cart and finally persist in the database.

I went through the discussion on how to use checkboxes in repeating groups but am lost on choosing the state type.

What should be the type of “State Type” while creating a custom state? I tried various states that appear in the state type dropdown but can’t seem to get the :plus item option.

Please advise.


@ashish - your custom state should be a list of videos…did you create a thing in your database in which you house the information of the videos? Title, URL, etc?

bingo, got it working.

That was the missing piece in the puzzle…had to select the right state type and everything else worked like a charm!

1 Like