how to pass params from url and form both