Survey123 2 choices one question

185
1
10-03-2018 01:08 PM
EricS
by
Occasional Contributor

I have the same question that I would like to have different dropdown list appear depending on what type of email the user logs in as. 

example

select_one question:  Does survey need review?

I want "needs review; under review" as an option if they have gmail account

I want "none; reviewed" as an option if non gmail account

Right now I have a hidden status question that tells me valid, not valid

if(regex(${email},'gmail.com') and regex(${email}, 'gmail.com'),'Valid','Not Valid')

Then I have to repeat the question Does survey need review? with select one option as gmail and the other select one option as nongmail.  This obviously creates two sets of the same question with one being blank and the other populated.  

Is this possible to do without repeating the question and having two entries in the feature service?

0 Kudos
1 Reply
JamesTedrick
Esri Esteemed Contributor

Hi Eric,

You might be able to do this with a choice filter to break apart the results.  That being said, I'm confused a bit by your formula - why do you have the same regex function in twice?

0 Kudos