只在所有问题都回答完毕后弹出。

huangapple go评论47阅读模式
英文:

Only Having a Pop-up After All Questions Are Answered

问题

我有一个REDCap调查中的三个是/否问题,我正在尝试使得如果他们对这三个问题中的任何一个回答“否”,那么在他们填写完所有三个问题之后,会弹出一个弹出窗口。是否有不必使用所有是/是/否组合的分支逻辑来实现这一点的方法?

我已经查找了类似的问题,但没有找到与我的要求相似的内容。

英文:

I have three Y/N questions in my REDCap survey and I'm trying to make it so that if they say no to any of the three questions, a pop-up shows after they fill out all of the three questions. Is there any way to do this without having to use branching logic for all the combinations of Y/Y/N?

I've looked up similar problems and haven't found anything that was similar to my requirements.

答案1

得分: 1

假设:

  1. 通过“弹出”您指的是由分支逻辑显示/隐藏的描述性文本字段。
  2. 您的三个是/否字段编码为 1, 是 | 0, 否
  3. 您的字段在此示例中被命名为 [q1][q2][q3]

当这三个问题都有响应,并且至少有一个是“否”时,分支逻辑将显示描述性文本字段,如下所示:

[q1]<>'' and [q2]<>'' and [q3]<>'' and sum([q1],[q2],[q3])<3
英文:

Assuming

  1. By "pop-up" you're referring to a descriptive text field shown/hidden by branching logic
  2. Your three y/n fields are coded 1, Yes | 0, No
  3. Your fields are named (for the purpose of this example) [q1], [q2], [q3]

Branching logic to have the descriptive text field displayed when all three questions have a response, and at least one is "No", would be this:

[q1]<>'' and [q2]<>'' and [q3]<>'' and sum([q1],[q2],[q3])<3

huangapple
  • 本文由 发表于 2023年3月4日 05:40:59
  • 转载请务必保留本文链接:https://go.coder-hub.com/75632119.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定