save value of text_field in the view

Could you please elaborate a little bit more?

What do you mean by "saving in the same view"?

If it is inside a form and that form points to the right action then
that field will be passed in via the params hash