In a valid manner.
From valid + -ly.
Practice speaking and memorizing "validly" and many other words and sentences in English.