Setting a Temperature Range

3529
13
Jump to solution
10-16-2019 10:02 AM
BRYANHERRON
New Contributor III

I have a Survey question that is simply the temperature. Our field guys won't be working on days that are -200 degrees or 200 degrees, but I can't figure out how to force there answers to the question between a certain range. How do you do this?

1 Solution

Accepted Solutions
JeremyJohnson5
New Contributor III

In the constraints field try the following: .>-20 and .<120

View solution in original post

13 Replies
RobertBorchert
Frequent Contributor III

Set up a domain for the question that has a ranged value.  You can set the minimum and the maximum.

0 Kudos
BRYANHERRON
New Contributor III

Easy for you to say. hehe

I am not familiar with setting up a domain.

0 Kudos
JeremyJohnson5
New Contributor III

If you are using Survey123 Connect you could set up a Constraint that would limit the values to be entered.

0 Kudos
BRYANHERRON
New Contributor III

I can't get the constraint's syntax correct for a range of -20 to 120.

0 Kudos
RobertBorchert
Frequent Contributor III

-20 to 120 goodness I wish.  We have a range of -40 to 110.   But for safety concerns we don't send out crews when it is that cold.

0 Kudos
BRYANHERRON
New Contributor III

The work our guys do usually can't be done when the ground is frozen, so -20 may be giving them a lot of leeway.

0 Kudos
RobertBorchert
Frequent Contributor III

Well at least Gators are not a concern.

0 Kudos
JeremyJohnson5
New Contributor III

In the constraints field try the following: .>-20 and .<120

BRYANHERRON
New Contributor III

Yep, I thought I had tried that as well.

I have Gremlins...

0 Kudos