Forms Questions

I need to create a loca form, do some checking and comparing in the
controller action and then commit to the database. What methods do I
need to make a local form that would save all it's data to an instance
variable that does not get saved to the database?
Also, all the variables at the exit of the view, after the are saved in a params?