Rotating Grids
You cannot rotate grids with a simple rotate statement. Below is a simple example of how to rotate 3 grids. This can be as simple or complex as needed. You can also have nested rotating grids.
Example:
{ PREGRIDCHK: !GOTO }''SET UP A HIDDEN QUESTION TO CONTROL WHICH SECTION GETS ASKED NEXT{ GRIDCHK: HIDE!FIELD,,31 Q1 Section2 Q2 Section3 Q3 Section }''ROTATE AND CHOOSE EACH SECTION RANDOMLY TO ASK{!ROTATE,SCRAMBLE }>REPEAT $A=1,2,3{!IF GRIDCHK(<>$A)!GOTO, PREQ$A }>ENDREPEAT{!ENDROTATE }''CREATE AN ENDPOINT WHEN ALL SECTIONS HAVE BEEN ASKED{!GOTO, ENDGRIDROT }>REPEAT $A=1,2,3{ PREQ$A: !GOTO }{ Q$AGRID: !GRID }{ Q$A:Q$A Text!FIELD1 Item 1 }{!ENDGRID }''GEN GRID CODE BACK INTO THE HIDDEN QUESTION''DO A BACKWARDS GOTO TO RUN THROUGH THE LOGIC AGAIN''DO NOT USE A RESET OR ELSE CODES ALREADY GENERATED WILL BE BLANKED OUT { Q$AGEN: !GENERATE,ADD_CODE,GRIDCHK,$A }{ Q$AGOTO: !GOTO, PREGRIDCHK }>ENDREPEAT''ENDING POINT FOR WHEN ALL SECTIONS ARE ASKED{ ENDGRIDROT: !GOTO }