Upon loading a survey, I am trying to make an answer for a select_one question default to either 'new' or 'existing' based on whether or not another value in my table is null or not null. What would be the code for this, and would it be entered in the default or calculation column? Can this be done with an if/then statement?
Am I at least in the ballpark with this or is there an easier way?
if(${Location} = null),select_one = 'new') or if(${Location} = notnull),select_one = 'existing')
Thanks!
Solved! Go to Solution.
Hi @JoeDahlen
I think something like this should work for you:
Place this in your calculation field
Hope this helps
Hi @JoeDahlen
I think something like this should work for you:
Place this in your calculation field
Hope this helps
Thank you @Richard_Purkis!
Formula worked great. The only thing I had to add was under bind::esri:parameters, calculationMode=always