のを忘れてた

forgot to

→ の
phrase Rare #25,236
forgot to の turns the preceding phrase into something that can be forgotten. 忘れてた is a casual form of 忘れていた. Depending on what comes before の, it can also mean “forgot that.”
JA: 鍵を持ってくるのを忘れてた。
EN: I forgot to bring the key.

トムにさよならを言うのを忘れてた。

I forgot to say goodbye to Tom.

犬がいるのを忘れてた

I forgot there was a dog.

— ファニーゲーム (1997)

教科書を買うのを忘れてた。

I forgot to buy the textbook.

宿題があるのを忘れてた。

I forgot I had homework.

言うのを忘れてた

I forgot to mention it.

— 暗殺の森 (1971)

友達に年賀状を出すのを忘れてた。

I forgot to send my friends New Year's cards.

エルフィーこれを渡すのを忘れてた

Elfie, I forgot to give you this.

— ウィキッド ふたりの魔女 (2024)

トムに聞くのを忘れてたよ。

I forgot to ask Tom.