Adjusting parameters of action and submit functions.