Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Using a Password field in testing with Skip Logic

I’m trying to use skip logic based on a field name created in the Password Fields tab under the Start question.  The field name is UID.  I would like to skip the question named Q10 if the user entered 100 or higher for the UID when they started the survey.   I can’t seem to find the correct syntax to make this work.  Is it even possible?

On the skip logic tab, I’ve tried the following so far and failed:
[% UID %] < 100
UID < 100
Start_UID < 100
asked Jan 18, 2012 by Greg Bronze (890 points)
retagged Jun 29, 2014 by Walter Williams

1 Answer

+1 vote
Try UID >=100 and make it a pre skip. The from question should be Q10 and I'm not sure about the to question as you didn't mention it?

There is no need for [%UID%], just use UID in the skip logic condition area.
answered Jan 18, 2012 by Paul Moon Platinum (98,670 points)
Well, that is embarrassing.   First of all, I did have the incorrect operator.  Yes, it should be the > not the < symbol.  I can’t believe I made that mistake, but I did.

The error I am getting with the syntax in the skip logic is “The binary operator ‘>’ requires the same type on both the left and right sides.”
In the password fields setup area, make sure UID is marked as a "Number" data type and not a "Text" data type.
Thanks Gary that fixed it.