Stateless Fields and push buttons in a Database Form

Stateless Fields and push buttons in a Database Form

Many times you want to use a field to store temporary values that do not need to be stored in a database or to have some push button functions that can perform tasks that will help in filling out fields. 

I know this can be done in a stateless form but it seems more economical to allow this kind of functionality in a form rather than to have all fields saved in a database.