-
Notifications
You must be signed in to change notification settings - Fork 2
Extended metadata details
mofya1 edited this page Sep 7, 2021
·
4 revisions
The metadata field includes some extra fields that can be useful for those looking to tweak and extend this field plug-in. These are list here below:
- 0 - Space separated list of time remaining in milliseconds, the page number and time left when swiping away from the page. The page number keeps track paging on smaller screens where the test is displayed over a number of screens. The time left allows to keep track of time away from the field and continue the timer at the right point when getting back to the field.
- 1 - Space separated list of positions of selected items. Note that in the context of the test, these are the items marked as incorrect. This a list related to the position of the item on the grid or choice list, rather than the label or value of the item in the choice list. That list is used to keep track of:
- Which items have been selected (so we can mark them as selected when we return to the field)
- What is the position of the last selected item - so we look at its position in the grid rather than the value.
- 2 - Boolean value marking whether the test has been completed or not.
true
means the test is complete.false
means the test is not complete and on returning to the field, the test will revert to the state it was in before the user left the field. - 3 - Value of
pause
used to keep track of whether the test was paused when swiping forward and backwards.