This chapter applies to all elections held in this state except as otherwise provided by law.