Handling of input and select elements.