Copy params from button to form