how do i set the number of available text fields to match previous numerical entry?