Any person who believes his or her name may be used as a write-in candidate for President of the United States shall, not later than 21 days before the primary election, file his or her endorsement of his or her write-in candidacy with the Secretary of State, or no votes shall be counted for him or her.
Ca. Elec. Code § 6621