An officer required by law to give an official bond who fails to execute the bond when the bond is available and transmit the bond to the proper officer for approval within thirty (30) days from the time the bond becomes available for execution, forfeits the office and a vacancy in the office occurs, whether or not the officer has taken an oath of office. It is the duty of the officer who is to receive the executed official bond to certify the failure to execute and transmit the bond in the time required by this section to the official or body who has the power to elect or appoint a successor to the office.