support multiple inputs on page