episphere / quest

experimenting with the idea of a questionnaire markup
https://episphere.github.io/quest/
2 stars 11 forks source link

Multiple check boxes with asterisk not working #375

Closed joshid-ims closed 2 years ago

joshid-ims commented 2 years ago

for a question like this:

[TEST?] check

 Year moved out |__|__|__|__|id=CHILDADD6_1_YEAR max=#currentYear|

[0*] I still live there
[77*] Don't know

User can check both checkboxes and also can enter in the text box. It should be that only one of the three can entered.

danielruss commented 2 years ago

Is this ok?


[TEST?] check

(1) moved out  Year: |__|__|__|__|id=CHILDADD6_1_YEAR max=#currentYear|
(0) I still live there
(77) Don't know
``
joshid-ims commented 2 years ago

This will be a question for NCI I guess. How they want this to work.

From: danielruss @.> Sent: Tuesday, February 8, 2022 4:59 PM To: episphere/quest @.> Cc: Joshi, Deepti (IMS) @.>; Author @.> Subject: Re: [episphere/quest] Multiple check boxes with asterisk not working (Issue #375)

Is this ok?

[TEST?] check

(1) moved out Year: |||||id=CHILDADD6_1_YEAR max=#currentYear|

(0) I still live there

(77) Don't know

``

— Reply to this email directly, view it on GitHubhttps://github.com/episphere/quest/issues/375#issuecomment-1033102778, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APPZ44YWJPUXGOVACVS4DW3U2GG3ZANCNFSM5N3WKTJA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>


Information in this e-mail may be confidential. It is intended only for the addressee(s) identified above. If you are not the addressee(s), or an employee or agent of the addressee(s), please note that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender of the error.

danielruss commented 2 years ago

This is expected functionality for quest. When you add an asterisk, it clears all the other choices and text boxes associated with the choices. Additional items are not affected. This is the desired outcome.

If you want to choose 1 of many, you should use a radio button, not a check box.

danielruss commented 2 years ago

@joshid-ims Oddly enough. Quest can handle what you want.

[TEST?] check

 Year moved out |__|__|__|__|id=CHILDADD6_1_YEAR max=#currentYear name=TEST|

[0*] I still live there
[77*] Don't know

It was not designed to do it, but it can

¯\(ツ)

joshid-ims commented 2 years ago

Never knew about this Name function. Thanks!

From: danielruss @.> Sent: Tuesday, February 8, 2022 5:27 PM To: episphere/quest @.> Cc: Joshi, Deepti (IMS) @.>; Mention @.> Subject: Re: [episphere/quest] Multiple check boxes with asterisk not working (Issue #375)

@joshid-imshttps://github.com/joshid-ims Oddly enough. Quest can handle what you want.

[TEST?] check

Year moved out |||||id=CHILDADD6_1_YEAR max=#currentYear name=TEST|

[0*] I still live there

[77*] Don't know

It was not designed to do it, but it can

¯(ツ)/¯

— Reply to this email directly, view it on GitHubhttps://github.com/episphere/quest/issues/375#issuecomment-1033125963, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APPZ4432MJSDFLNW2B72CKDU2GKELANCNFSM5N3WKTJA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>


Information in this e-mail may be confidential. It is intended only for the addressee(s) identified above. If you are not the addressee(s), or an employee or agent of the addressee(s), please note that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender of the error.

danielruss commented 2 years ago

ok to close???

joshid-ims commented 2 years ago

This particular issue with CHILDADD 5 and 6 is in testing after adding name function. It should work but I am not sure about closing this issue with https://github.com/episphere/quest/issues/347 still open.

boyd-mj commented 2 years ago

@joshid-ims @danielruss we can close this issue. We'll reopen if anything comes up during testing. And yes, please leave #347 open.

danielruss commented 2 years ago

Please dont reopen #347. There are multiple issues in #347, please create a new issue. And keep an issue to 1 bug.

joshid-ims commented 2 years ago

Hey Daniel, we saw a weird thing with this. When we were testing this two checkboxes with asterisk and a text box issue with code for whole module, Gwen had not entered AGE value which comes from outside module and she usually adds it in json memory. The checkboxes did not work as expected at that time. But they did when she added AGE value to json memory.

From: danielruss @.> Sent: Thursday, February 10, 2022 2:42 PM To: episphere/quest @.> Cc: Joshi, Deepti (IMS) @.>; Mention @.> Subject: Re: [episphere/quest] Multiple check boxes with asterisk not working (Issue #375)

Closed #375https://github.com/episphere/quest/issues/375.

— Reply to this email directly, view it on GitHubhttps://github.com/episphere/quest/issues/375#event-6045291636, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APPZ44YT4GMYVWVQTA3XJWDU2QIJZANCNFSM5N3WKTJA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>


Information in this e-mail may be confidential. It is intended only for the addressee(s) identified above. If you are not the addressee(s), or an employee or agent of the addressee(s), please note that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender of the error.