Survey123 inbox query expression

893
2
Jump to solution
12-06-2022 11:39 AM
JohnMedema
New Contributor III

Hi,

I want to set up a query expression for inboxing.  I have created an additional select_one question in my survey that will indicate if a survey requires any revisions.  The choices are "Yes" and "No"  what is the correct expression to enable the inbox if the choice is "Yes"

survey form formatting shown below, as well as my attempted query expression

JohnMedema_0-1670355391941.png

JohnMedema_1-1670355405530.png

JohnMedema_2-1670355533573.png

 

0 Kudos
1 Solution

Accepted Solutions
DougBrowning
MVP Esteemed Contributor

The value stored is always the name.  So you need = 'yes' lowercase here.

I strongly suggest you have the case match for both options or it will drive you nuts for years.  I really wish 123 would fix that in the form it is bad practice for sure.  As a general rule have your name and label match if at all possible.

Hope that helps

View solution in original post

0 Kudos
2 Replies
DougBrowning
MVP Esteemed Contributor

The value stored is always the name.  So you need = 'yes' lowercase here.

I strongly suggest you have the case match for both options or it will drive you nuts for years.  I really wish 123 would fix that in the form it is bad practice for sure.  As a general rule have your name and label match if at all possible.

Hope that helps

0 Kudos
JohnMedema
New Contributor III

Thank you