mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-25 06:35:46 +00:00
Hide the responses to free text questions
This commit is contained in:
@@ -26,7 +26,7 @@ tags: $:/tags/Global
|
|||||||
<h1>
|
<h1>
|
||||||
<$button class="tc-btn-invisible" style="text-align:left;">
|
<$button class="tc-btn-invisible" style="text-align:left;">
|
||||||
<$action-setfield $tiddler=<<state>> $field="text" $value={{{ [<state>get[text]match[yes]then[no]else[yes]] }}}/>
|
<$action-setfield $tiddler=<<state>> $field="text" $value={{{ [<state>get[text]match[yes]then[no]else[yes]] }}}/>
|
||||||
<%if [<state>get[text]match[yes]] %>
|
<%if [<state>get[text]else[yes]match[yes]] %>
|
||||||
{{$:/core/images/chevron-down}}
|
{{$:/core/images/chevron-down}}
|
||||||
<%else%>
|
<%else%>
|
||||||
{{$:/core/images/chevron-right}}
|
{{$:/core/images/chevron-right}}
|
||||||
@@ -35,7 +35,7 @@ tags: $:/tags/Global
|
|||||||
(<$text text={{{ [tag[Community Survey 2025]get<answerField>else[]!match[]] +[count[]] }}}/>)
|
(<$text text={{{ [tag[Community Survey 2025]get<answerField>else[]!match[]] +[count[]] }}}/>)
|
||||||
</$button>
|
</$button>
|
||||||
</h1>
|
</h1>
|
||||||
<%if [<state>get[text]match[yes]] %>
|
<%if [<state>get[text]else[yes]match[yes]] %>
|
||||||
<ol>
|
<ol>
|
||||||
<%if [<currentTiddler>get[question-type]else[]match[multiple-choice] %>
|
<%if [<currentTiddler>get[question-type]else[]match[multiple-choice] %>
|
||||||
<$list filter="[tag[Community Survey 2025]get<answerField>else[]!match[]split[;]unique[]sort[]]" variable="answerText">
|
<$list filter="[tag[Community Survey 2025]get<answerField>else[]!match[]split[;]unique[]sort[]]" variable="answerText">
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
title: $:/state/survey-2025/--439398230$:/2025 Community Survey/Questions/
|
||||||
|
|
||||||
|
other-use-cases: no
|
||||||
|
value-of-tw: no
|
||||||
|
diy-backup-info: no
|
||||||
|
wiki-setup-info: no
|
||||||
|
tw-customisations: no
|
||||||
|
project-strengths: no
|
||||||
|
project-weaknesses: no
|
||||||
Reference in New Issue
Block a user