The ‘search’ will be performed on the server (obviously) - unless the relevant data is already on the page, in which case it won’t be performed again….

But the response to that search (in this case it’s an agg search, so it’s just a number) is returned to the client, where the condition is checked and applied to the action or trigger.

If the response returns 0 it’s trivial to change that to 1 and therefore bypass the condition on the client - but obviously any server actions will be checked on the server and can’t be bypassed.

Btw it’s easy to test this type of thing for yourself, and takes way less time than massive long forum posts and getting chatGPT to rewrite the manual.

I know everyone has different ways of learning, and the manual is a useful reference - but for me, actually doing, and testing things for yourself is a much more reliable and effective way to learn how things work than relying on what other people say (including AI)

1 Like