Topic: update params from a view

Hi!

I have a view, where i have a form. In the form, of course there is Submit button, but i have an another button, whit what peoples can download a plugin. I generate this plugin, from the form. But if they change the form, and click the generate button, before the submit,  then they will get a not expected/wrong plugin. The generate button is now a link, to a method of the controller. I want to write a JS/Prototype script, which refresh in the params the value of the form. Is it possible? Or any suggestion, how to solve it? Thanks a lot!
Koli