addrequirements
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| addrequirements [2024/02/25 12:19] – admin | addrequirements [2024/02/25 12:32] (current) – [CSS] admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== addRequirements - Automatically format force response, request response, or optional questions | ====== addRequirements - Automatically format force response, request response, or optional questions | ||
| - | The addRequirements adds CSS classes to questions to specify if they are force response, request response, or optional. The classes can be used to format or add text to the questions. | + | The addRequirements adds CSS classes to questions to specify if they are force response, request response, or optional. The classes can be used to format or add text to the questions. |
| Since constant sum questions don't have a force response option, they are considered to be forced if 'Must Total' is greater than zero. | Since constant sum questions don't have a force response option, they are considered to be forced if 'Must Total' is greater than zero. | ||
| Line 23: | Line 23: | ||
| </ | </ | ||
| ===== Turn off/on ===== | ===== Turn off/on ===== | ||
| - | By default, addRequirements applies to all answerable questions in a survey. To turn addRequirements off for a block or block of question, set the embedded data field ' | + | By default, addRequirements applies to all answerable questions in a survey. To turn addRequirements off for a block or blocks |
| ===== CSS ===== | ===== CSS ===== | ||
| Use the CSS classes **force**, **request**, | Use the CSS classes **force**, **request**, | ||
| < | < | ||
| - | /* Force response - asterisk before question text*/ | + | /*Force response - asterisk before question text*/ |
| .force .QuestionText:: | .force .QuestionText:: | ||
| - | // Optional response - optional label after question text*/ | + | /*Optional response - optional label after question text*/ |
| .optional .QuestionText:: | .optional .QuestionText:: | ||
| content:" | content:" | ||
addrequirements.1708881565.txt.gz · Last modified: by admin
