In an action affecting the title or the right of possession of real property, the plaintiff at the time of filing the complaint, and the defendant at the time of filing his answer, when affirmative relief is claimed in such answer, or at any time afterward, may file for record with the recorder of the county in which the property or some part thereof is situated, a notice of the pendency of the action, containing the names of the parties, the object of the action or defense, and a description of the property in that county affected thereby. From the time of filing such notice for record only shall a purchaser or incumbrancer of the property affected thereby be deemed to have constructive notice of the pendency of the action, and only of its pendency against parties designated by their real names.
Idaho Code § 5-505