User Tools

Site Tools


addrequirements

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
addrequirements [2024/02/25 12:25] – [addRequirements - Automatically format force response, request response, or optional questions] adminaddrequirements [2024/02/25 12:32] (current) – [CSS] admin
Line 23: Line 23:
 </code> </code>
 ===== 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 'addRequirementsOff' to 1 in the survey flow.+By default, addRequirements applies to all answerable questions in a survey. To turn addRequirements off for a block or blocks of questions, set the embedded data field 'addRequirementsOff' to 1 in the survey flow. Set it to 0 to turn it back on.
 ===== CSS ===== ===== CSS =====
 Use the CSS classes **force**, **request**, and **optional** to format or add text to questions as needed. For example: Use the CSS classes **force**, **request**, and **optional** to format or add text to questions as needed. For example:
 <code> <code>
-/* Force response - asterisk before question text*/+/*Force response - asterisk before question text*/
 .force .QuestionText::before { content:"* " }; .force .QuestionText::before { content:"* " };
-/Optional response - optional label after question text*/+/*Optional response - optional label after question text*/
 .optional .QuestionText::after { .optional .QuestionText::after {
   content:"(Optional)";   content:"(Optional)";
addrequirements.1708881913.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki