How To Prevent Duplicated Get Param

I have a form, it’s method is GET. Can’t change to POST, due to several reasons.

So when I pick a value from a combo box (that sorts the products), my address

www.example.com/catalogue/index

becomes

www.example.com/catalogue/index?sort_order=1

Fine.

Because the form is still visible, when I pick another value, the address becomes:

www.example.com/catalogue/index?sort_order=1&sort_order=2

and so on…

www.example.com/catalogue/index?sort_order=1&sort_order=2&sort_order=3

Is there a trick to prevent the accumulation of params?

Seems like your form "action" parameter is empty.

Set it to required value.