constraints checkbox and expressions
I tried using this type of line for the edit form , but its only for versions 2.8 but i dont know how is for new versiones 3.0 in