Select to view content in your preferred language

Set default of integer to NULL

2183
3
Jump to solution
11-13-2017 11:26 AM
BrentKinal1
Frequent Contributor

Is it possible to set the default value of an integer field to NULL? I would like to set the relevance of the following question to show once the integer question is answered with a number >= 0.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
BrandonArmstrong
Esri Regular Contributor

Hi Brent,

By default, if an integer question is left blank, it should be given a value of 'Null'.  Please let us know if you are encountering something different.

Brandon

View solution in original post

0 Kudos
3 Replies
BrandonArmstrong
Esri Regular Contributor

Hi Brent,

By default, if an integer question is left blank, it should be given a value of 'Null'.  Please let us know if you are encountering something different.

Brandon

0 Kudos
BrianWebb3
Occasional Contributor

I have a similar issue. When the user clicks through to the next question using a "yes" or "no", but then backs out of that line of questioning, the blank integers that are in a required field are sent as zeros with the survey instead of staying null.

Is there something that can be done to prevent this from happening?

0 Kudos
BrandonArmstrong
Esri Regular Contributor

Hi Brian,

Where are you experiencing this behavior?  Is it when using the Survey123 field app, or Web Form?  If using the field app, what version?

0 Kudos