Currently you cannot add an image through the inbox of Survey123 using an image question. The image question is also disabled in the Inbox. However, validations against image questions (i.e. 'required') are not disabled!
If i want a photo to be required in my (original) survey, it will not allow me to submit updates (e.g. to mark an outstanding issue as 'completed'), due to the validation issue of having a required photo.
It would be good if the 'required' condition was disabled along with the image question.
The alternatives currently seem to be:
So, until editing of photos through the Inbox is supported, can the 'required' condition be disabled along with the image question in the Inbox? Thanks.
Jamie.
I have come up with a workaround for this issue using the pulldata("@property", 'mode') function. From the Survey123 documentation (Formulas), "This has three possible values, returning new if the user is producing a new survey response (including one copied from an existing survey), returning edit if the user is editing an existing response, and returning view if the user is viewing an existing response in read-only mode."
Using this function, you can set the photo question/s to 'required' and use the value returned from pulldata("@property", 'mode') for the question relevance (see image below). A new survey will return 'new', so using 'new' as the relevant response will show a required photo question for a new survey, and will not show the photo question when the survey is opened via the Inbox, therefore the required condition will not stop you from submitting a survey.
You can set the question with the pulldata function to 'null' so you don't store it in your dataset. All-in-all not a difficult workaround to implement, and you can keep the required setting for new surveys.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.