move query string param to input's attributes