Hi Kerri,
I make the forms in the AGOL environment but different people outside (performing work and registering that via forms) are working with the fieldmaps app. Then I pull the data with an API and use FME to process the data further and send it to my client.
I have people on different locations filling the form. Each feature equals some work to be done on different types. The types are BO, TALI, TARE, WPLI, WPRE. We work in rounds and each feature can have a combination of types. If the round number in Maaironde is in the PER_(type) column the work has to be done. I dont want them to see any other options since they do not have to do that work.
For each type I have an expression that looks like this:
var txt = $feature["PER_BO"];
var maaironde = $feature['maaironde'];
if (Find(maaironde, txt, 0) > -1){
return true
}
The end goal is to prevent workers outside to make mistakes in the registrations because otherwise the FME workflows need to resolve all further possible conflicts instead of the easy fix of preventing it at the start of this process.