(a) If a candidate does not appear on the primary election ballot or is not successful in advancing to the general election and wishes to be a candidate in the general election, the candidate may file as a write-in candidate. Votes for a write-in candidate may not be counted unless that candidate has filed a letter of intent with the director stating
(1) the full name of the candidate;
(2) the full residence address of the candidate and the date on which residency at that address began;
(3) the full mailing address of the candidate;
(4) the political party or political group with which the candidate is registered as affiliated, or whether the candidate would prefer a nonpartisan or undeclared designation;
(5) if the candidate is for the office of state senator or state representative, the house or senate district of which the candidate is a resident;
(6) the office that the candidate seeks;
(7) the date of the election at which the candidate seeks election;
(8) the length of residency in the state and in the house district of the candidate;
(9) the name of the candidate as the candidate wishes it to be written on the ballot by the voter;
(10) that the candidate meets the specific citizenship requirements of the office for which the person is a candidate;
(11) that the candidate will meet the specific age requirements of the office for which the person is a candidate; if the candidacy is for the office of state representative, that the candidate will be at least 21 years of age on the first scheduled day of the first regular session of the legislature convened after the election; if the candidacy is for the office of state senator, that the candidate will be at least 25 years of age on the first scheduled day of the first regular session of the legislature convened after the election; if the candidacy is for the office of governor or lieutenant governor, that the candidate will be at least 30 years of age on the first Monday in December following election or, if the office is to be filled by special election under AS 15.40.230 - 15.40.310, that the candidate will be at least 30 years of age on the date of certification of the results of the special election; or, for any other office, by the time that the candidate, if elected, is sworn into office;
(12) that the candidate is a qualified voter as required by law; and
(13) that the candidate is not a candidate for any other office to be voted on at the general election and that the candidate is not a candidate for this office under any other nominating petition or declaration of candidacy.
(b) If a write-in candidate is running for the office of governor, the candidate must file a joint letter of intent together with a candidate for lieutenant governor.
(c) A letter of intent under (a) of this section must be filed not later than five days before the general election.