If more than one person qualifies, the party chairman shall promptly certify their names to the State Board and the appropriate electoral boards as having qualified under the provisions of this section. The electoral boards having charge of the printing of the official ballots for the primary election shall either:
In the event that only one person qualifies as a candidate in accordance with the provisions of this section, the person so qualifying shall be declared the nominee of his party for that office and his name shall not be printed on the primary ballot.
In the event that no person qualifies as a candidate pursuant to the provisions of this section, or that the death or withdrawal or setting aside of candidacy of any such party nominee should occur at a time which is less than 45 days prior to any such primary, the appropriate committee of the political party shall determine the time and method of nominating its candidate for the office.
Va. Code § 24.2-537