Section 21B. No mayor, city manager, or town manager shall require a prospective appointee to a board, commission or position under his jurisdiction to submit as a condition precedent to said appointment an undated resignation from said board, commission or position. Whoever violates the provisions of this section shall be punished by a fine of not more than five hundred dollars.