Stream: questionnaire
Topic: enableWhen on display item
Yunwei Wang (Apr 07 2020 at 20:59):
Can a enableWhen.question be a display type? I barely remember enableWhen.question could not be display type but I could not find where says that.
Paul Lynch (Apr 07 2020 at 21:10):
We have a form that shows/hides display type items based on entered values, so I would think so. It is useful for warnings or range error messages.
Lloyd McKenzie (Apr 07 2020 at 23:49):
I don't think that would make sense - given that enableWhen is predicated on either the presence or value of an answer - and display items can't have answers at all.
Paul Lynch (Apr 07 2020 at 23:54):
Oh, right. I was thinking he was asking whether enableWhen could be on a display item, but he was asking about enableWhen.question. Yes, I agree that would not make sense as a display item.
Yunwei Wang (Apr 09 2020 at 14:18):
Is it stated in the spec? Is it need to be stated in the spec?
Lloyd McKenzie (Apr 09 2020 at 14:40):
I think it should be pretty obvious, but we can tighten up the wording a little to make clear that it must be a question. Can you submit a change request?
Last updated: Apr 12 2022 at 19:14 UTC