Add field group and sub field to input.