Any person who believes his or her name may be used as a write-in candidate for nomination by the Democratic Party for President of the United States shall, not later than 21 days before the primary election, file for 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 § 6241