の忘れた

forgot to …

→ の
phrase Rare #21,377
forgot to … の nominalizes the action that comes before it, making it the thing someone forgot to do.
JA: 宿題をするの忘れた。
EN: I forgot to do my homework.

本持ってくるの忘れたから暇だ。

I forgot to bring a book, so I have nothing to do.

あ、日焼け止め塗ってくるの忘れた。

Oh, I forgot to put on sunscreen.

誰だ、またシートを上げるの忘れたの?

Who forgot to put the seat up again?

ガスを止めるの忘れた!

I forgot to turn off the gas!

電気消すの忘れたかも。

I might have forgotten to turn off the lights.

トムったら、水着を持ってくるの忘れたんだよ。

Tom forgot to bring his swimsuit, of all things.

トム、メアリーにクリスマスカード送るの忘れたんだって。

Tom says he forgot to send Mary a Christmas card.

目覚ましセットするの忘れた。

I forgot to set my alarm.

自分の名前消すの忘れたでしょ。

You forgot to remove your name, didn't you?