I have a table with some fields which are required and some which are not. How do I make a field that isn't mandatory by default become mandatory based on the selected value of another field? I am using this in collector and if 'other' is selected then I need a second field which is a free text field to be required to be populated by the user.
Solved! Go to Solution.
Craig,
This isnt currently possible in Collector. You may have seen the announcement for Field Maps. Within the first release later this year there will be included some smart form capabilities; this should include conditional logic such as the situation you describe.
Currently, you can accomplish a similar workflow in Survey123.
Regards,
Colin
Craig,
This isnt currently possible in Collector. You may have seen the announcement for Field Maps. Within the first release later this year there will be included some smart form capabilities; this should include conditional logic such as the situation you describe.
Currently, you can accomplish a similar workflow in Survey123.
Regards,
Colin
Hey Craig,
In Pro you can create and use Attribute Rules. Your example sounds like a constraint attribute rule.
The expression could be something like this:
if ($feature.Field1 == other)
{
If ($feature.Field2 != null)
{ return true; }
else
{ return false; }
}
Else
{ return true; }
-Scott