Hey Craig Gadaloff,
You can use the constraints field and the select function to achieve this. Here is a super simple version:
constraint = ".>selected(${Depth})"
This will display a message if your input is greater than the depth.
Thanks,
Ben Turrell
If this answer has helpful please mark it as helpful. If this answer solved your question please mark it as the answer to help others who have the same question.