If a vacancy occurs in the office of any member of the local board of education, unless otherwise provided by charter or special act, such vacancy shall be filled by the remaining members of said board until the next regular town election, at which election a successor shall be elected for the unexpired portion of the term, the official ballot specifying the vacancy to be filled.