View source: R/demo-show-item-list.R
This is a demonstration of an adaptive test with a variable number
of pages for each item.
This is achieved by using a show_item argument corresponding
to a list of test elements.
The crucial trick is using a while_loop function to
repeat a 'reactive page' until the item is complete,
and a local variable counter to keep track of the iteration number.
1  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.