Match input fields by name