http://www.leginfo.ca.gov/cgi-bin/displaycode?section=elec&group=15001-16000&file=15340-15342"Any name written upon a ballot for a qualified write-in candidate, including a reasonable facsimile of the spelling of a name, shall be counted for the office, if it is written in the blank space provided and voted as specified below:
(a) For voting systems in which write-in spaces appear directly below the list of candidates for that office and provide a voting space, no write-in vote shall be counted unless the voting space next to the write-in space is marked or slotted as directed in the voting instructions.b) For voting systems in which write-in spaces appear separately
from the list of candidates for that office and do not provide a
voting space, the name of the write-in candidate, if otherwise
qualified, shall be counted if it is written in the manner described
in the voting instructions.
(c) The use of pressure-sensitive stickers, glued stamps, or any
other device not provided for in the voting procedures for the voting
systems approved by the Secretary of State to indicate the name of
the write-in candidate are not valid, and a name indicated by these
methods shall not be counted.
(d) Neither a vote cast for a candidate whose name appears on the
ballot nor a vote cast for a write-in candidate shall be counted if
the voter has indicated, by a combination of marking and writing, a
choice of more names than there are candidates to be nominated or
elected to the office.
(e) All valid write-in votes shall be tabulated and certified to
the elections official on forms provided for this purpose, and the
write-in votes shall be added to the results of the count of the
ballots at the counting place and be included in the official returns
for the precinct."
The key here may be in the instructions and whether they were given. I still need to go home to see if I have my original guide.