If a statute requires a pleading to be sworn to, and it is not, or requires a pleading to be accompanied by an affidavit, and it is not, but contains all the allegations required, objection on either ground must be made within seven days after the pleading is filed by a motion to strike; otherwise the objection is waived. At any time before the court passes on the motion or within such time thereafter as the court may prescribe, the pleading may be sworn to or the affidavit filed. In an Electronically Filed Case, verification is subject to the provisions of Rule 1:17.
Va. Sup. Ct. 1:10