The trick is where you click, not what you type. Here is the sequence.
The reason people get stuck is that the interface does not label the code field. It looks like a dialog with a yes/no choice, so players click yes, or click once on no and assume nothing happened. The double-click is what registers, and the input box that appears at the bottom is where the code goes.
If it still does not take, check that you are in the cheat room specifically rather than the main screen — the field only exists in that one place.