AnsweredAssumed Answered

Conditional (if) Statement Documentation

Question asked by btkinal_SyrUniv on May 11, 2017
Latest reply on Dec 13, 2018 by mbrueningesi

I can't seem to find any good documentation on using if() statement in Survey 123,  I am fine with a creating a simple conditional statement but I'm having troubles with more complex conditional statements. If anyone has a link to some good documentation on using conditional statements in S123 please share.


I am trying to get at something like this:


if(selected${listA}), ''}) or if(selected${listA}), 'notlisted'}),'None', ${listA})

Basically I want to display this contents from "listA" in a note unless it's blank or the option "notlisted" was selected, otherwise I want the note to read "None"


Also wondering if there is a way to have a "not equal to" in an if() statement?