Display Condition for required question following unanswered Advanced Question

Hi,
I’d like to require the responses to advanced questions for all my
application users, but I have the issue whereby “Commcare shuts down” or
app issues emerge.

For example:
I take a photo or choose image: Commcare has unfortunately stopped.
I scan a barcode: No barcode reader available! You can install one from
the android market.

Thus, I would like to unrequire the questions, whereby if the photo or
barcode is not taken, then we coordinate for a required follow-up question
whereby they type in the barcode number OR if the photo cannot be taken, we
create a label requesting that a picture be sent to our office via other
means.

Is there a display condition I can have for if the previous advanced
question is not answered? I’m just trying to eliminate employee situations
whereby they are unable to finish forms because of these technical
difficulties.

Best,
Jodie

Hi Jodie,

In most cases, people approach this pattern (a question that is hopefully
included, but may not be possible) by using question list with three
elements

  1. The barcode question
  2. A label question which has the validation condition “false()” and says
    the user needs to scan a barcode
  3. A Checkbox question with only one checkbox that says “This device has no
    barcode scanner”

You can then make the label disappear if the user checks the checkbox to
signal that they can’t complete the question normally.

The app definitely should not be crashing if you try to take a photo,
though. Can you submit a issue from your CommCare HQ project space with the
details of your device so we can look into that?

-Clayton

··· On Thu, Sep 8, 2016 at 5:34 AM, Jodie Wu wrote:

Hi,
I’d like to require the responses to advanced questions for all my
application users, but I have the issue whereby “Commcare shuts down” or
app issues emerge.

For example:
I take a photo or choose image: Commcare has unfortunately stopped.
I scan a barcode: No barcode reader available! You can install one from
the android market.

Thus, I would like to unrequire the questions, whereby if the photo or
barcode is not taken, then we coordinate for a required follow-up question
whereby they type in the barcode number OR if the photo cannot be taken, we
create a label requesting that a picture be sent to our office via other
means.

Is there a display condition I can have for if the previous advanced
question is not answered? I’m just trying to eliminate employee situations
whereby they are unable to finish forms because of these technical
difficulties.

Best,
Jodie


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.

Thanks, Clayton. I will set up the barcode question as you proposed and
follow-up on our photo issues.

··· On Thu, Sep 8, 2016 at 6:34 PM, Clayton Sims wrote:

Hi Jodie,

In most cases, people approach this pattern (a question that is hopefully
included, but may not be possible) by using question list with three
elements

  1. The barcode question
  2. A label question which has the validation condition “false()” and says
    the user needs to scan a barcode
  3. A Checkbox question with only one checkbox that says “This device has
    no barcode scanner”

You can then make the label disappear if the user checks the checkbox to
signal that they can’t complete the question normally.

The app definitely should not be crashing if you try to take a photo,
though. Can you submit a issue from your CommCare HQ project space with the
details of your device so we can look into that?

-Clayton

On Thu, Sep 8, 2016 at 5:34 AM, Jodie Wu jodiezwu@gmail.com wrote:

Hi,
I’d like to require the responses to advanced questions for all my
application users, but I have the issue whereby “Commcare shuts down” or
app issues emerge.

For example:
I take a photo or choose image: Commcare has unfortunately stopped.
I scan a barcode: No barcode reader available! You can install one
from the android market.

Thus, I would like to unrequire the questions, whereby if the photo or
barcode is not taken, then we coordinate for a required follow-up question
whereby they type in the barcode number OR if the photo cannot be taken, we
create a label requesting that a picture be sent to our office via other
means.

Is there a display condition I can have for if the previous advanced
question is not answered? I’m just trying to eliminate employee situations
whereby they are unable to finish forms because of these technical
difficulties.

Best,
Jodie


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 a topic in the
Google Groups “commcare-users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/commcare-users/fPB-YcD_luI/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.