Hide add action to prevent duplicate

I am able to prevent duplicate second entry in the same day by adding valid_if formula:

ISBLANK(
  FILTER(
    "Presence",
    AND(
      ([_THISROW].[Date] = [Date]),
      ([_THISROW].[ID] <> [ID])
    )
  )
)

How to achieve the same purpose before opening the form by hiding add action button instead of the above situation when user filling the form with invalid value error message? I tried similar formula in the Only if this condition is true in Behavior, but do not work.

Solved Solved
0 1 263
1 ACCEPTED SOLUTION

The โ€œOnly if this condition is trueโ€ condition in your action should work. If it isnโ€™t working, please share the expression you used and the error message you got.

View solution in original post

1 REPLY 1

The โ€œOnly if this condition is trueโ€ condition in your action should work. If it isnโ€™t working, please share the expression you used and the error message you got.

Top Labels in this Space