Your written sentence must have been "
A Alex se le olvid
ó poner..."
I think
this thread will help you with the structure of "olvidar"/"olvidarse".
There are verbs that need a pronominal construction to indicate the action that happens to a certain subject.
Maybe
this thread will give you an idea on this kind of verbs.