Our survey involves collecting some point data, and then that at those points, collecting measurements of several individual seed heads. The types of measurements that get done on those is dependent on the species. I'm trying to find a way to have the measurement types needed be automated using the species name. A key point here is that the list of species/measurement types may grow quickly over time so I'm trying to keep the way to accomplish this lightweight and avoid using 'if' statements for every species/measurement combination.
As it stands, I'm using regex(species, ${species}) to filter the choices, so that the select_multiple for the measurement types gets adjusted based on the species, but we want the observers to always do all of the measurements that apply, so an ideal scenario would be where the select_multiple just auto-fills with all of the eligible options and not even be visible to the observer instead of what we have now where they have to select every visible option. We do have a species observation csv where I added a column for the number of measurement types the species needs and used that as a constraint so that the observer doesn't accidently not select all of them, but I'm just posting here in an effort to streamline the process and minimize the amount of columns/data someone needs to maintain on the backend.
Thanks!



