Can MIGX have two levels of form switching?

Starting with this tutorial here:

That sets up a form switcher where you can choose 1, 2, 3 column page and it displays 1,2,3 tabs in the MIGX form.

Is it possible to have another form switcher in each of those tabs?

So on each separate tab I’d like to let my editors choose for example:

  • Image: and have just an image picker with a few configuration options like width or border.
  • Rich Text: shows just a rich text editor with configuration options like a white or black background.
  • Video: shows a file selector with some configuration options for autoplay, muted, loop, etc.

MIGX or MODx would of course then build out the proper HTML depending on what options were chosen.

I don’t think this is possible.


If you want more flexibility for the resource content, maybe take a look at other possible solutions like ContentBlocks, PageBlocks or Fred.

This sounds more like a use case for Content Blocks or Fred. Neither is simple and it’s not a direct replacement for MIGX but both do handle optional layouts that are based on custom layouts you define and associated with templates.