Archive: how do i make the first component a toggle?


how do i make the first component a toggle?
i want every component to be a toggle, so the 'solution' i've come up with is to have an empty component called 'main section', a divider, and then my 4 components. i would like the user to be able to select 0-4 components if that's the way it must be - i would prefer that they have to select at least 1, but that's not imperative.


Make this your first section

Section -
nop
SectionEnd


awesome, thanks! is there any way to force that they pick at least 1?


Use the .onNextPage function. After the componentspage, use SectionGetFlags to determine if a user selected any section. If not, display a warning and use Abort to return to the components page again.

Good luck,
-Hendri.