Okay, sorry, I found the solution it was super simple.
For future reference in case anyone else has the same question:
On the Duration/Input tab, click Advanced and set the Max Count to the number of button presses you need per trial (3 in my case - two digits plus the ENTER), and you can also set the Termination Response there (ENTER, in my case).