Added IDs and names to two groups of inputs