Select to view content in your preferred language

Setting a Temperature Range

4157
13
Jump to solution
10-16-2019 10:02 AM
BRYANHERRON
Regular Contributor

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
Occasional Contributor

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

View solution in original post

13 Replies
RobertBorchert
Honored Contributor

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

0 Kudos
BRYANHERRON
Regular Contributor

Easy for you to say. hehe

I am not familiar with setting up a domain.

0 Kudos
JeremyJohnson5
Occasional Contributor

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

0 Kudos
BRYANHERRON
Regular Contributor

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

0 Kudos
RobertBorchert
Honored Contributor

-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
Regular Contributor

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
Honored Contributor

Well at least Gators are not a concern.

0 Kudos
JeremyJohnson5
Occasional Contributor

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

BRYANHERRON
Regular Contributor

Yep, I thought I had tried that as well.

I have Gremlins...

0 Kudos