Hi there,
I am trying to design a field that will automatically calculate an answer and be hidden, except in one scenario. So, when the user answers the question for "nest_type" (select_one), if they select "brood" or "inactive" then I would like the answer to the exclosure field to be calculated as "no". I also want it to be able to provide the user with a choice between "yes" or "no" if they select a nest_type of "nest".
I am trying to write an if statement in the calculate field, but I'm not sure how to provide the "choice" if the conditions are false. So I'm trying: if(${nest_type} = "brood", "no", if(${nest_type} = "inactive_knownfate", "no", )) ... but I need to know what to put in the blank for that last question to essentially leave the question open to be answered.
I have my relevant field set to another field: ${Nest_Present} = 'yes'
And I have it set in body::esri:visible as: ${nest_type} = 'nest'.
I realize I could just have the question default to no and using the body::esri:visible field have the question not show up unless the nest type was nest, but I don't want to have the "no" already selected.
Can someone help me get that "blank question" situation from an if statement? Thanks!