Select to view content in your preferred language

Survey123 Required Column on Text and Select_one

4890
18
Jump to solution
04-11-2019 01:22 PM
ReneAubut
Regular Contributor

the first line will not respect the REQUIRED condition while the third will. The first line is a select_one, the third line is a Text. Both have the Required column at YES and both have conditions in the Relevant column. Any clues why the select_one causes the Required to fail?

0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable

Hi @HaroldHerrera1,

BUG000120023 was fixed in the 3.5 release. It is possible the issue you are seeing above is a slight variation of this issue, or there is another cause.

Can you please share your xlsxform so we can take a closer look - also if you use any CSV or media folder files, also please provide them too.

Regards,

Phil.

View solution in original post

0 Kudos
18 Replies
by Anonymous User
Not applicable

Hi Rene,

What version of Survey123 Connect and App are you using? We currently have a few known issues with required fields in version 3.3 release which we are aiming to resolve for 3.4. It is likely the issue you are seeing coudl be related to these known bugs.

Can you please provide a copy of your xlsx file so we can take a closer look?

Thanks,

Phil.

0 Kudos
ReneAubut
Regular Contributor

Hi Phil,

am using the latest release of Connect (3.3.51) and App (3.3.64). How can I include a copy of my Excel file here?

Thanks

0 Kudos
by Anonymous User
Not applicable

Hi Rene,

Open this post in a new window, not in the Inbox, and then hit reply and use the advanced editor link which is in top right hand corner of reply, there is option in editor to attach files:

 then

Phil.

0 Kudos
ReneAubut
Regular Contributor

Thanks Phil. Here is the Excel file

René A

0 Kudos
by Anonymous User
Not applicable

Thanks Rene, I got your xlsx file and did some tests.

See my response below to Mohamad, there are two known issues affecting your survey to do with required fields and expressions/validation not currently working correctly.

https://community.esri.com/message/845482-re-survey123-required-column-on-text-and-selectone?comment... 

Phil.

0 Kudos
MohamadChibli
Esri Contributor

Hi Philip,

Rene logged a case with Esri Canada. I'm working with him to investigate this issue.

I was able to replicate on my end as well. It seems to occur when the question is a select_one question and it has an expression in the 'Relevant' column. Regardless whether the required column is set to 'yes' or an expression, you will always be able to send the survey without selecting an answer for the required question. I was able to replicate the behavior in another survey as well.

Connect 3.2.196

by Anonymous User
Not applicable

Hi Mohamad,

This is a known issue with required expressions on select one questions, currently only input questions (text, decimal, integer) are supported with required expressions due to a regression bug, which we are aiming to resolve this in the 3.4 release update.

There is also another known issue in play with Rene's survey, it has already been logged as BUG-000120023 - The required select_one questions with a 'relevant' field do not validate in Survey123 for ArcGIS. This is related to any required question which uses relevant not validating correctly, regardless of whether it uses a simple yes configuration or expression. We are also aiming to resolve this in the 3.4 release.

Phil.

ReneAubut
Regular Contributor

Thanks Phi! Any known date for the release of v 3.4?

0 Kudos
by Anonymous User
Not applicable

Hi Rene,

At this stage we are targeting the next release for mid-May, but this could change depending on how many issues are still outstanding and required to be included in this next release.

Phil.