Adding an mInputIndex attribute to select an element to map into the input value