How do you enter Action Replay codes?

you have to click on the pencil and then enter the name then enter the code!