From e05f956cc192a443fadb15f1d5d0b0d117d3cc99 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 30 Jul 2025 12:01:19 +0100 Subject: [PATCH] Hide the responses to free text questions --- editions/tiddlywiki-surveys/tiddlers/app/Definitions.tid | 4 ++-- .../tiddlywiki-surveys/tiddlers/app/open-state.multids | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 editions/tiddlywiki-surveys/tiddlers/app/open-state.multids diff --git a/editions/tiddlywiki-surveys/tiddlers/app/Definitions.tid b/editions/tiddlywiki-surveys/tiddlers/app/Definitions.tid index cfe909aee..befa9c102 100644 --- a/editions/tiddlywiki-surveys/tiddlers/app/Definitions.tid +++ b/editions/tiddlywiki-surveys/tiddlers/app/Definitions.tid @@ -26,7 +26,7 @@ tags: $:/tags/Global

<$button class="tc-btn-invisible" style="text-align:left;"> <$action-setfield $tiddler=<> $field="text" $value={{{ [get[text]match[yes]then[no]else[yes]] }}}/> - <%if [get[text]match[yes]] %> + <%if [get[text]else[yes]match[yes]] %> {{$:/core/images/chevron-down}} <%else%> {{$:/core/images/chevron-right}} @@ -35,7 +35,7 @@ tags: $:/tags/Global (<$text text={{{ [tag[Community Survey 2025]getelse[]!match[]] +[count[]] }}}/>)

- <%if [get[text]match[yes]] %> + <%if [get[text]else[yes]match[yes]] %>
    <%if [get[question-type]else[]match[multiple-choice] %> <$list filter="[tag[Community Survey 2025]getelse[]!match[]split[;]unique[]sort[]]" variable="answerText"> diff --git a/editions/tiddlywiki-surveys/tiddlers/app/open-state.multids b/editions/tiddlywiki-surveys/tiddlers/app/open-state.multids new file mode 100644 index 000000000..b70582f2c --- /dev/null +++ b/editions/tiddlywiki-surveys/tiddlers/app/open-state.multids @@ -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