Tex. Elec. Code § 146.028
A declaration of write-in candidacy shall be preserved in the same manner as a candidate's application for a place on the ballot.
Acts 1985, 69th Leg., ch. 211, Sec. 1, eff. Jan. 1, 1986.