Any candidate for office in any election, upon conviction of bribing or attempting to influence voter under Section 17-23-3, shall in addition to the fine, be declared ineligible for the office to which he was elected for that term.