のを忘れました

forgot to …

→ の
phrase Rare #36,322
forgot to … Follows a verb in its dictionary form; の turns the action into the thing that was forgotten.
JA: 宿題を出すのを忘れました。
EN: I forgot to turn in my homework.

トムは冷蔵庫に牛乳を入れるのを忘れました。

Tom forgot to put the milk in the refrigerator.

昨夜、彼女に電話をかけるのを忘れました。

I forgot to call her last night.

私は彼に伝言するのを忘れました。

I forgot to give him the message.

出かけるとき、電気を消すのを忘れました。

I forgot to turn off the lights when I left.

傘を持ってくるのを忘れました。

I forgot to bring an umbrella.