California Elections Code
Any group of individuals, equal in number to the number of presidential electors to which this state is entitled, who desire to be write-in candidates for presidential electors pledged to a particular candidate for President and Vice President of the United States shall file a declaration of write-in candidacy.
The declaration of write-in candidacy for presidential elector shall contain the following information:
(a) Candidate's name.
(b) Residence address.
(c) A declaration stating that he or she is a write-in candidate for the office of presidential elector.
(d) Oath or affirmation as set forth in Section 3 of Article XX of the California Constitution.
(e) The date of the general election.
(f) The names of the candidates for President and Vice President of the United States for which the group of presidential electors are pledged.
The declaration of write-in candidacy shall be filed with the Secretary of State no later than the 14th day prior to the general election.
Only those names written on the ballot at the general election for the office of President and Vice President of the United States for which a group of presidential electors are pledged on the declaration of write-in candidacy filed pursuant to Section 8650 shall be counted as votes.