Input handler for sets of data, typically to be used with html forms