tage choices based on database values

The problem remains that I want to save the value in a database.
I am unable to save the value with a filter.