transmit thequery parameter to the input field