We are collecting samples from both harvested deer and opportunistic deer. When Method = Check station, Headbox or Taxidermist, we want to populate the Acquisition Type field with "Hunter harvested" without exposing it to the user. When Method = Other, then the Acquisition Type field is exposed to the user with a list of choices (e.g., road kill, found dead) that does not include "Hunter harvested". I've tried every combination of the default, relevant and calculation fields I can think of, but I'm stumped. Please see attached. Any help would be greatly appreciated!
Try using pulldata. See this post https://community.esri.com/message/883863-re-survey123-somewhere-between-if-then-and-cascading-selec...
Thanks for the suggestion Doug. I ended up creating a temp attribute and passing that to the attribute of interest. See below. If there is a more efficient approach I would still appreciate hearing about it.
type
name
label
required
relevant
calculation
select_one acquisitions
acquis_temp
Other Type
$='Other' $='Other'
calculate
sample_acquisition
if(selected($, ''), 'Hunter harvested', $)