In the example from the title, is it mandatory to use that?
The original sentence I picked up was from a checkbox marked
Confirm you are not a spammer
which I thought should be
Confirm that you are not a spammer
though I have seen a lot of usage without that after searching around.