1-8-36.1. Primary Election Law; write-in candidates.A. Write-in candidates are permitted in the primary election only for the offices of United States representative, members of the legislature, district judges, district attorneys, public regulation commission, public education commission, magistrates and any office voted upon by all voters of the state.