add extra parameters to form submit and to query string on links