How to automatically set default value after submit

How to automatically set default value after submit

Hello.

I would like when I submit something (e.g a lookup dropdown) then the form to keep as default value the last record. What I mean,
If I have a lookup dropdown with:
-select-
food
drink

If I choose 'food' and click submit then I want to have food as default (for adding new record). The same if I choose 'drink'. In general I want when I choose something and click submit then this choice to be a default value. Is it possible to do that?