Support for changing # input groups