I would like to make a series of questions 'required' in a form, but still
allow the individual to advance past the questions, however if they have
not been completed then are unable to submit the form. Is this possible?
Thanks
Will
I would like to make a series of questions 'required' in a form, but still
allow the individual to advance past the questions, however if they have
not been completed then are unable to submit the form. Is this possible?
Thanks
Will
Hi Will. There's no standard way of doing this in CommCare, but I can think
of 1 way to get sort of what you're looking for:
-Make those questions not required
-Add a "Label" question type to the end of the form that says something
like "Please go back and answer the following questions before submitting
the form: {list the questions}" and then set the display condition of the
label so that it shows up if any of the questions are unanswered.
This will not stop the user from going ahead and submitting the form anyway
if they choose to, but hopefully it would serve as a reminder/nudge for
them to do so.
I would like to make a series of questions 'required' in a form, but still
allow the individual to advance past the questions, however if they have
not been completed then are unable to submit the form. Is this possible?Thanks
Will
--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I am looking to do something similar. Has a solution been created in
CommCare for this, or is this still the only way to implement this? Thanks!
Hi, I think another way of doing this, if it works for you, is to keep all
the required questions as required but put the whole form into a single
question list. The form would appear as a long scrolling page on mobile, I
believe the user can then pass questions without filling them but won't be
able to submit the form without answering.
Best
Jordan
I am looking to do something similar. Has a solution been created in
CommCare for this, or is this still the only way to implement this? Thanks!On Tuesday, January 17, 2017 at 6:27:49 PM UTC-5, astone wrote:
Hi Will. There's no standard way of doing this in CommCare, but I can
think of 1 way to get sort of what you're looking for:-Make those questions not required
-Add a "Label" question type to the end of the form that says something
like "Please go back and answer the following questions before submitting
the form: {list the questions}" and then set the display condition of the
label so that it shows up if any of the questions are unanswered.This will not stop the user from going ahead and submitting the form
anyway if they choose to, but hopefully it would serve as a reminder/nudge
for them to do so.On Thu, Jan 12, 2017 at 9:55 PM, William Elson willia...@gmail.com wrote:
I would like to make a series of questions 'required' in a form, but
still allow the individual to advance past the questions, however if they
have not been completed then are unable to submit the form. Is this
possible?Thanks
Will
--
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Jordan Levinson
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
t: +91 11.46704670 | m: +91 9599692119
- We're hiring! Find out more here http://www.dimagi.com/about/careers/.
-
My form has probably 40 questions, so this won't really work. Any other
suggestions? Can I include on last question on the form that is equal to a
1 only if all questions are answered, and missing if any questions are
missing, and then make that one question required? Would something like
that work?
Hm, I'm not totally sure what you mean, I'm sorry. Is there a reason you
can't re-order the questions or break into some different groupings, if you
find that people need to answer out of order and have problems skipping
requireds? Maybe you can solve the issue by tweaking your workflow a bit,
rather than an app hack. If not, I think Aliza's idea is your best option
if the question list isn't realistic.
Good luck!
Jordan
My form has probably 40 questions, so this won't really work. Any other
suggestions? Can I include on last question on the form that is equal to a
1 only if all questions are answered, and missing if any questions are
missing, and then make that one question required? Would something like
that work?On Thursday, August 3, 2017 at 3:29:40 PM UTC-4, jlevinson wrote:
Hi, I think another way of doing this, if it works for you, is to keep
all the required questions as required but put the whole form into a single
question list. The form would appear as a long scrolling page on mobile, I
believe the user can then pass questions without filling them but won't be
able to submit the form without answering.Best
JordanOn Thu, Aug 3, 2017 at 2:48 PM, Alexandra Hinton acmas...@gmail.com wrote:
I am looking to do something similar. Has a solution been created in
CommCare for this, or is this still the only way to implement this? Thanks!On Tuesday, January 17, 2017 at 6:27:49 PM UTC-5, astone wrote:
Hi Will. There's no standard way of doing this in CommCare, but I can
think of 1 way to get sort of what you're looking for:-Make those questions not required
-Add a "Label" question type to the end of the form that says something
like "Please go back and answer the following questions before submitting
the form: {list the questions}" and then set the display condition of the
label so that it shows up if any of the questions are unanswered.This will not stop the user from going ahead and submitting the form
anyway if they choose to, but hopefully it would serve as a reminder/nudge
for them to do so.On Thu, Jan 12, 2017 at 9:55 PM, William Elson willia...@gmail.com wrote:
I would like to make a series of questions 'required' in a form, but
still allow the individual to advance past the questions, however if they
have not been completed then are unable to submit the form. Is this
possible?Thanks
Will
--
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
Jordan Levinson
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
t: +91 11.46704670 <+91%2011%204670%204670> | m: +91 9599692119
<+91%2095996%2092119>
www.dimagi.com- We're hiring! Find out more here
http://www.dimagi.com/about/careers/. ---
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Jordan Levinson
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
t: +91 11.46704670 | m: +91 9599692119
- We're hiring! Find out more here http://www.dimagi.com/about/careers/.
-
Hi Will, et al,
As Jordan mentioned, it may be a good idea to examine the workflow of
the form, since it seems the user could get quite frustrated swiping back
and forth through a question set, trying to find that one un-answered
question.
If your workflow is set in stone as you described though, perhaps you
could do the following:
Again, this definitely feels hacky, but if you're absolutely unable to
make questions required in the form, then maybe this will help. Probably my
biggest concern here would be maintainability because you're setting
yourself up for a lot of cascading changes needed behind the scenes for a
single change in any one question (or if questions are added/deleted).
Oh, and I've written out "null" here for legibility, but do remember
that a check for value = null is actually value = '' (two quotes with no
space between them).
Best,
Derek
Hm, I'm not totally sure what you mean, I'm sorry. Is there a reason you
can't re-order the questions or break into some different groupings, if you
find that people need to answer out of order and have problems skipping
requireds? Maybe you can solve the issue by tweaking your workflow a bit,
rather than an app hack. If not, I think Aliza's idea is your best option
if the question list isn't realistic.Good luck!
Jordan
On Thu, Aug 3, 2017 at 3:38 PM, Alexandra Hinton acmaschino@gmail.com wrote:
My form has probably 40 questions, so this won't really work. Any other
suggestions? Can I include on last question on the form that is equal to a
1 only if all questions are answered, and missing if any questions are
missing, and then make that one question required? Would something like
that work?On Thursday, August 3, 2017 at 3:29:40 PM UTC-4, jlevinson wrote:
Hi, I think another way of doing this, if it works for you, is to keep
all the required questions as required but put the whole form into a single
question list. The form would appear as a long scrolling page on mobile, I
believe the user can then pass questions without filling them but won't be
able to submit the form without answering.Best
JordanOn Thu, Aug 3, 2017 at 2:48 PM, Alexandra Hinton acmas...@gmail.com wrote:
I am looking to do something similar. Has a solution been created in
CommCare for this, or is this still the only way to implement this? Thanks!On Tuesday, January 17, 2017 at 6:27:49 PM UTC-5, astone wrote:
Hi Will. There's no standard way of doing this in CommCare, but I can
think of 1 way to get sort of what you're looking for:-Make those questions not required
-Add a "Label" question type to the end of the form that says
something like "Please go back and answer the following questions before
submitting the form: {list the questions}" and then set the display
condition of the label so that it shows up if any of the questions are
unanswered.This will not stop the user from going ahead and submitting the form
anyway if they choose to, but hopefully it would serve as a reminder/nudge
for them to do so.On Thu, Jan 12, 2017 at 9:55 PM, William Elson willia...@gmail.com wrote:
I would like to make a series of questions 'required' in a form, but
still allow the individual to advance past the questions, however if they
have not been completed then are unable to submit the form. Is this
possible?Thanks
Will
--
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
Jordan Levinson
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
t: +91 11.46704670 <+91%2011%204670%204670> | m: +91 9599692119
<+91%2095996%2092119>
www.dimagi.com- We're hiring! Find out more here
http://www.dimagi.com/about/careers/. ---
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
Jordan Levinson
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
t: +91 11.46704670 | m: +91 9599692119
www.dimagi.com- We're hiring! Find out more here
http://www.dimagi.com/about/careers/. ---
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Derek Lane
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
m: +91 959 933 2445
Thank you!! This is what I am looking for. We are interviewing people who
have had a recent suicidal behavior so often times they do not want to
answer questions in the sequence outlined on the form, but would rather
just tell their story, so our staff listen and fill in as they can, often
times having to skip around to fill in everything. On our existing paper
form this isn't really problematic, but would be on the tablets. I agree
that its a bit cumbersome to do it this way --- maybe CommCare can build
this option into a future version
Hi Will, et al,
As Jordan mentioned, it may be a good idea to examine the workflow of
the form, since it seems the user could get quite frustrated swiping back
and forth through a question set, trying to find that one un-answered
question.
If your workflow is set in stone as you described though, perhaps you
could do the following:
- put a hidden value "form_complete" at the end of your form that is
set to false while any of the questions in your form are = null. This
would be a rather unwieldy formula, although using the cond statement
https://confluence.dimagi.com/display/commcarepublic/CommCare+Functions#CommCareFunctions-cond might
help a little- write a final required single-select question with only one
option "done" at the end of your form. The question would say something
like "You've reached the end of the form, please select "done" and swipe
forward, if you've answered all the questions then the form will close and
submit, otherwise you'll get warning and need to go back and find the blank
answer" Then make the value of "form_complete" your validation condition.
I THINK (but am not positive) this will then throw a validation warning if
form_complete = false and will force the user to go back through the form
to find their unanswered questions.- It also seems like you could set up a list of labels before this
final question, each of them with a display condition such that if
question_1 = null display a label that says "You still need to answer
question 1", if question_2 = null display a label that says "You still need
to answer question 2" etc. If you put all these labels under a
question_list group, I think they'd show up on a single screen (with
scrolling down probably necessary).Again, this definitely feels hacky, but if you're absolutely unable to
make questions required in the form, then maybe this will help. Probably my
biggest concern here would be maintainability because you're setting
yourself up for a lot of cascading changes needed behind the scenes for a
single change in any one question (or if questions are added/deleted).
Oh, and I've written out "null" here for legibility, but do remember
that a check for value = null is actually value = '' (two quotes with no
space between them).Best,
Derek
On Fri, Aug 4, 2017 at 3:02 AM, Jordan Levinson jlevinson@dimagi.com wrote:
Hm, I'm not totally sure what you mean, I'm sorry. Is there a reason you
can't re-order the questions or break into some different groupings, if you
find that people need to answer out of order and have problems skipping
requireds? Maybe you can solve the issue by tweaking your workflow a bit,
rather than an app hack. If not, I think Aliza's idea is your best option
if the question list isn't realistic.Good luck!
Jordan
On Thu, Aug 3, 2017 at 3:38 PM, Alexandra Hinton acmaschino@gmail.com wrote:
My form has probably 40 questions, so this won't really work. Any other
suggestions? Can I include on last question on the form that is equal to a
1 only if all questions are answered, and missing if any questions are
missing, and then make that one question required? Would something like
that work?On Thursday, August 3, 2017 at 3:29:40 PM UTC-4, jlevinson wrote:
Hi, I think another way of doing this, if it works for you, is to keep
all the required questions as required but put the whole form into a single
question list. The form would appear as a long scrolling page on mobile, I
believe the user can then pass questions without filling them but won't be
able to submit the form without answering.Best
JordanOn Thu, Aug 3, 2017 at 2:48 PM, Alexandra Hinton acmas...@gmail.com wrote:
I am looking to do something similar. Has a solution been created in
CommCare for this, or is this still the only way to implement this? Thanks!On Tuesday, January 17, 2017 at 6:27:49 PM UTC-5, astone wrote:
Hi Will. There's no standard way of doing this in CommCare, but I can
think of 1 way to get sort of what you're looking for:-Make those questions not required
-Add a "Label" question type to the end of the form that says
something like "Please go back and answer the following questions before
submitting the form: {list the questions}" and then set the display
condition of the label so that it shows up if any of the questions are
unanswered.This will not stop the user from going ahead and submitting the form
anyway if they choose to, but hopefully it would serve as a reminder/nudge
for them to do so.On Thu, Jan 12, 2017 at 9:55 PM, William Elson willia...@gmail.com wrote:
I would like to make a series of questions 'required' in a form, but
still allow the individual to advance past the questions, however if they
have not been completed then are unable to submit the form. Is this
possible?Thanks
Will
--
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
Jordan Levinson
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
t: +91 11.46704670 <+91%2011%204670%204670> | m: +91 9599692119
<+91%2095996%2092119>
www.dimagi.com- We're hiring! Find out more here
http://www.dimagi.com/about/careers/. ---
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
Jordan Levinson
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
t: +91 11.46704670 <+91%2011%204670%204670> | m: +91 9599692119
<+91%2095996%2092119>
www.dimagi.com- We're hiring! Find out more here
http://www.dimagi.com/about/careers/. ---
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
Derek Lane
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
m: +91 959 933 2445 <+91%2095993%2032445>
www.dimagi.com--
You received this message because you are subscribed to a topic in the
Google Groups "commcare-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/commcare-users/vUenXozv5vQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hey all,
Great discussion here. I'll just add that Web Apps
https://confluence.dimagi.com/display/commcarepublic/Web+Apps displays
all questions in a form on a single page so if you're not constrained to
Android devices (or have a tablet large enough to display Web Apps nicely
in a mobile browser) this could be a viable option.
Cheers,
Will
Thank you!! This is what I am looking for. We are interviewing people who
have had a recent suicidal behavior so often times they do not want to
answer questions in the sequence outlined on the form, but would rather
just tell their story, so our staff listen and fill in as they can, often
times having to skip around to fill in everything. On our existing paper
form this isn't really problematic, but would be on the tablets. I agree
that its a bit cumbersome to do it this way --- maybe CommCare can build
this option into a future versionOn Fri, Aug 4, 2017 at 12:30 AM, Derek Lane dlane@dimagi.com wrote:
Hi Will, et al,
As Jordan mentioned, it may be a good idea to examine the workflow of
the form, since it seems the user could get quite frustrated swiping back
and forth through a question set, trying to find that one un-answered
question.
If your workflow is set in stone as you described though, perhaps you
could do the following:
- put a hidden value "form_complete" at the end of your form that is
set to false while any of the questions in your form are = null. This
would be a rather unwieldy formula, although using the cond statement
https://confluence.dimagi.com/display/commcarepublic/CommCare+Functions#CommCareFunctions-cond might
help a little- write a final required single-select question with only one
option "done" at the end of your form. The question would say something
like "You've reached the end of the form, please select "done" and swipe
forward, if you've answered all the questions then the form will close and
submit, otherwise you'll get warning and need to go back and find the blank
answer" Then make the value of "form_complete" your validation condition.
I THINK (but am not positive) this will then throw a validation warning if
form_complete = false and will force the user to go back through the form
to find their unanswered questions.- It also seems like you could set up a list of labels before this
final question, each of them with a display condition such that if
question_1 = null display a label that says "You still need to answer
question 1", if question_2 = null display a label that says "You still need
to answer question 2" etc. If you put all these labels under a
question_list group, I think they'd show up on a single screen (with
scrolling down probably necessary).Again, this definitely feels hacky, but if you're absolutely unable
to make questions required in the form, then maybe this will help. Probably
my biggest concern here would be maintainability because you're setting
yourself up for a lot of cascading changes needed behind the scenes for a
single change in any one question (or if questions are added/deleted).
Oh, and I've written out "null" here for legibility, but do remember
that a check for value = null is actually value = '' (two quotes with no
space between them).Best,
Derek
On Fri, Aug 4, 2017 at 3:02 AM, Jordan Levinson jlevinson@dimagi.com wrote:
Hm, I'm not totally sure what you mean, I'm sorry. Is there a reason you
can't re-order the questions or break into some different groupings, if you
find that people need to answer out of order and have problems skipping
requireds? Maybe you can solve the issue by tweaking your workflow a bit,
rather than an app hack. If not, I think Aliza's idea is your best option
if the question list isn't realistic.Good luck!
Jordan
On Thu, Aug 3, 2017 at 3:38 PM, Alexandra Hinton acmaschino@gmail.com wrote:
My form has probably 40 questions, so this won't really work. Any other
suggestions? Can I include on last question on the form that is equal to a
1 only if all questions are answered, and missing if any questions are
missing, and then make that one question required? Would something like
that work?On Thursday, August 3, 2017 at 3:29:40 PM UTC-4, jlevinson wrote:
Hi, I think another way of doing this, if it works for you, is to keep
all the required questions as required but put the whole form into a single
question list. The form would appear as a long scrolling page on mobile, I
believe the user can then pass questions without filling them but won't be
able to submit the form without answering.Best
JordanOn Thu, Aug 3, 2017 at 2:48 PM, Alexandra Hinton acmas...@gmail.com wrote:
I am looking to do something similar. Has a solution been created in
CommCare for this, or is this still the only way to implement this? Thanks!On Tuesday, January 17, 2017 at 6:27:49 PM UTC-5, astone wrote:
Hi Will. There's no standard way of doing this in CommCare, but I
can think of 1 way to get sort of what you're looking for:-Make those questions not required
-Add a "Label" question type to the end of the form that says
something like "Please go back and answer the following questions before
submitting the form: {list the questions}" and then set the display
condition of the label so that it shows up if any of the questions are
unanswered.This will not stop the user from going ahead and submitting the form
anyway if they choose to, but hopefully it would serve as a reminder/nudge
for them to do so.On Thu, Jan 12, 2017 at 9:55 PM, William Elson willia...@gmail.com wrote:
I would like to make a series of questions 'required' in a form,
but still allow the individual to advance past the questions, however if
they have not been completed then are unable to submit the form. Is this
possible?Thanks
Will
--
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
Jordan Levinson
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
t: +91 11.46704670 <+91%2011%204670%204670> | m: +91 9599692119
<+91%2095996%2092119>
www.dimagi.com- We're hiring! Find out more here
http://www.dimagi.com/about/careers/. ---
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
Jordan Levinson
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
t: +91 11.46704670 <+91%2011%204670%204670> | m: +91 9599692119
<+91%2095996%2092119>
www.dimagi.com- We're hiring! Find out more here
http://www.dimagi.com/about/careers/. ---
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
Derek Lane
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
m: +91 959 933 2445 <+91%2095993%2032445>
www.dimagi.com--
You received this message because you are subscribed to a topic in the
Google Groups "commcare-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/to
pic/commcare-users/vUenXozv5vQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Ally,
I think the "Go To Prompt" functionality will solve your problem without
much of the workarounds described here. When filling out a form click the
menu (three dots) and choose "Go To Prompt". This shows all the questions
in a list format and actually does allow a user to skip a required question
and navigate to any question in the form. CommCare would still prevent
submission until you fill out the required questions. So if they are
jumping around a lot, this would be a great solution for you while still
making sure everything is filled out.
Notice also there is a *Save Form *option in that menu which would allow
them to save partially filled out forms.
-Nick
Nick Nestle
Technical Project Manager | Dimagi Inc.
Hey all,
Great discussion here. I'll just add that Web Apps
https://confluence.dimagi.com/display/commcarepublic/Web+Apps displays
all questions in a form on a single page so if you're not constrained to
Android devices (or have a tablet large enough to display Web Apps nicely
in a mobile browser) this could be a viable option.Cheers,
WillOn Fri, Aug 4, 2017 at 8:49 AM, Ally Maschino acmaschino@gmail.com wrote:
Thank you!! This is what I am looking for. We are interviewing people who
have had a recent suicidal behavior so often times they do not want to
answer questions in the sequence outlined on the form, but would rather
just tell their story, so our staff listen and fill in as they can, often
times having to skip around to fill in everything. On our existing paper
form this isn't really problematic, but would be on the tablets. I agree
that its a bit cumbersome to do it this way --- maybe CommCare can build
this option into a future versionOn Fri, Aug 4, 2017 at 12:30 AM, Derek Lane dlane@dimagi.com wrote:
Hi Will, et al,
As Jordan mentioned, it may be a good idea to examine the workflow
of the form, since it seems the user could get quite frustrated swiping
back and forth through a question set, trying to find that one un-answered
question.
If your workflow is set in stone as you described though, perhaps
you could do the following:
- put a hidden value "form_complete" at the end of your form that
is set to false while any of the questions in your form are = null. This
would be a rather unwieldy formula, although using the cond statement
https://confluence.dimagi.com/display/commcarepublic/CommCare+Functions#CommCareFunctions-cond might
help a little- write a final required single-select question with only one
option "done" at the end of your form. The question would say something
like "You've reached the end of the form, please select "done" and swipe
forward, if you've answered all the questions then the form will close and
submit, otherwise you'll get warning and need to go back and find the blank
answer" Then make the value of "form_complete" your validation condition.
I THINK (but am not positive) this will then throw a validation warning if
form_complete = false and will force the user to go back through the form
to find their unanswered questions.- It also seems like you could set up a list of labels before this
final question, each of them with a display condition such that if
question_1 = null display a label that says "You still need to answer
question 1", if question_2 = null display a label that says "You still need
to answer question 2" etc. If you put all these labels under a
question_list group, I think they'd show up on a single screen (with
scrolling down probably necessary).Again, this definitely feels hacky, but if you're absolutely unable
to make questions required in the form, then maybe this will help. Probably
my biggest concern here would be maintainability because you're setting
yourself up for a lot of cascading changes needed behind the scenes for a
single change in any one question (or if questions are added/deleted).
Oh, and I've written out "null" here for legibility, but do remember
that a check for value = null is actually value = '' (two quotes with no
space between them).Best,
Derek
On Fri, Aug 4, 2017 at 3:02 AM, Jordan Levinson jlevinson@dimagi.com wrote:
Hm, I'm not totally sure what you mean, I'm sorry. Is there a reason
you can't re-order the questions or break into some different groupings, if
you find that people need to answer out of order and have problems skipping
requireds? Maybe you can solve the issue by tweaking your workflow a bit,
rather than an app hack. If not, I think Aliza's idea is your best option
if the question list isn't realistic.Good luck!
Jordan
On Thu, Aug 3, 2017 at 3:38 PM, Alexandra Hinton acmaschino@gmail.com wrote:
My form has probably 40 questions, so this won't really work. Any
other suggestions? Can I include on last question on the form that is equal
to a 1 only if all questions are answered, and missing if any questions are
missing, and then make that one question required? Would something like
that work?On Thursday, August 3, 2017 at 3:29:40 PM UTC-4, jlevinson wrote:
Hi, I think another way of doing this, if it works for you, is to
keep all the required questions as required but put the whole form into a
single question list. The form would appear as a long scrolling page on
mobile, I believe the user can then pass questions without filling them but
won't be able to submit the form without answering.Best
JordanOn Thu, Aug 3, 2017 at 2:48 PM, Alexandra Hinton acmas...@gmail.com wrote:
I am looking to do something similar. Has a solution been created in
CommCare for this, or is this still the only way to implement this? Thanks!On Tuesday, January 17, 2017 at 6:27:49 PM UTC-5, astone wrote:
Hi Will. There's no standard way of doing this in CommCare, but I
can think of 1 way to get sort of what you're looking for:-Make those questions not required
-Add a "Label" question type to the end of the form that says
something like "Please go back and answer the following questions before
submitting the form: {list the questions}" and then set the display
condition of the label so that it shows up if any of the questions are
unanswered.This will not stop the user from going ahead and submitting the
form anyway if they choose to, but hopefully it would serve as a
reminder/nudge for them to do so.On Thu, Jan 12, 2017 at 9:55 PM, William Elson <willia...@gmail.com wrote:
I would like to make a series of questions 'required' in a form,
but still allow the individual to advance past the questions, however if
they have not been completed then are unable to submit the form. Is this
possible?Thanks
Will
--
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
Jordan Levinson
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
t: +91 11.46704670 <+91%2011%204670%204670> | m: +91 9599692119
<+91%2095996%2092119>
www.dimagi.com- We're hiring! Find out more here
http://www.dimagi.com/about/careers/. ---
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
Jordan Levinson
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
t: +91 11.46704670 <+91%2011%204670%204670> | m: +91 9599692119
<+91%2095996%2092119>
www.dimagi.com- We're hiring! Find out more here
http://www.dimagi.com/about/careers/. ---
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
Derek Lane
Dimagi India | Field Manager
D - 1/28 Vasant Vihar | New Delhi 110057, India
m: +91 959 933 2445 <+91%2095993%2032445>
www.dimagi.com--
You received this message because you are subscribed to a topic in the
Google Groups "commcare-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/to
pic/commcare-users/vUenXozv5vQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes, tha's a great solution! I had no idea that existed. Thank you!