The page_every
and page_by_group
tags automatically split table rows across multiple survey pages. page_every
displays a set number of rows on each page while page_by_group
specifies exactly which rows should be shown on which page.
set list: RETAILERS
1. Walmart
2. Amazon.com
3. Costco Wholesale
4. The Kroger Co.
5. The Home Depot
6. CVS Health Corporation
7. Target
8. Walgreens
9. Lowes
10. Albertsons
11. Apple Store
12. Royal Ahold
13. Publix
14. Aldi
15. TJX Companies
2. How familiar are you with the following retailers?
type: radiotable
1. Not at all
2. Somewhat
3. Very
rowsfrom: RETAILERS
page every: 5
The page_every
tag on the example above splits the table into groups of 5 rows so that the table will be seen 3 times, each time with 5 rows.
Note: The page_every
tag can accept a number that does not divide evenly into the total number of rows. In this case, the system will attempt to evenly distribute the rows, rather than leave a smaller remainder for the final page.
Additional examples
page by group
The use of the page_by_group
tag allows group IDs to be assigned using option data decorators to determine the page on which they should be shown.
set list: GROCERS
1. Walmart {{PAGE: 1}}
2. Target {{PAGE: 1}}
3. Costco Wholesale {{PAGE: 1}}
4. Albertsons {{PAGE: 2}}
5. Publix {{PAGE: 2}}
6. Aldi {{PAGE: 2}}
7. Price Chopper {{PAGE: 2}}
8. Wegmans {{PAGE: 2}}
3. How familiar are you with the following grocers?
type: radiotable
1. Not at all
2. Somewhat
3. Very
rowsfrom: GROCERS
page by group: [PAGE]
In the example above, the table will be shown twice, the first time showing the first 3 rows and the second time showing the other 5.
Comments
0 comments
Please sign in to leave a comment.