Property name: Export position

From Catglobe Wiki
Jump to: navigation, search

Property name: Export position

Question types applied

All except Page question

Business logic

When the export position value is specified, the export length will be generated automatically when the user skips the Export position field. This length is generated based on the question type.

5081.jpg

The first question has the export position value = pos1 (pos1 > 61) and the export length value = len1.
The second one has the export position value = pos2 (pos2 = pos1 + len1) and the export length value = len2.
The third one has the export position value = pos3 (pos3 > pos2 + len2) and the export length value = len3.

If the fourth question has:
- The export position value (pos4) is in the area which has the blue color
- The sum of pos4 and its export length value must be also in this area.
It means that:
- pos4 >= 61 and len4 + pos4 <=pos1 or
- pos4 >= pos2 + len2 and len4 + pos4 <= pos3 or
- pos4 >= pos3 + len3
If its export position does not satisfy one of these condition above, the error message is "The export position of this question is invalid. Please type the valid export position value".

The export position value and the export length will be deleted when the user does one of the following actions:
- Change the question type
- Copy a question and paste more multiple-paste it
- Copy questions
- Import a question
- Press one of these buttons Add, or Remove, or Clear or Paste in the sub questions area or answer options area.
- Change the value of answer options and the length of all answer options' highest values is not equal to the export length value.
- Change the Maximum value of Scale (or Scale Grid) question and the length of the maximum value (or the highest value of all maximum values) is not equal to the export length value.

Formatting

Number larger than or equal to 61

Screen examples

In the Question properties dialog:

5084.jpg

If the export position value is invalid, the error message will be shown when the user clicks the OK button on the Question properties dialog.

5085.jpg