From What I’ve read on FR. They do not allow write ins
Definitely no write-ins allowed.
There was a lot of argument about it last night at HA. Section 24-2.644 of the VA Code of Law (24.2-644) says that write-ins must be accepted (’shall be lawful’) but left an exception for primary elections. By my reading the law didn’t require them in a primary but didn’t explicitly prohibit them either. There seemed to be wiggle room to allow write-ins in a primary if the party wanted to accept them.
http://leg1.state.va.us/cgi-bin/legp504.exe?000+cod+24.2-644
Steve Eggleston found some other language at 24.2-529 that trumps 24.2-664. It unequivocally prohibits write-in votes in primaries: “No write-in shall be permitted on ballots in primary elections.”
http://leg1.state.va.us/cgi-bin/legp504.exe?000+cod+24.2-529