I know that if I start my sentence with an adverb such as hardly I must invert the subject and the verb,but do I really need to use only "when" afterwards?.For instance,is
Hardly had I entered the room when the phone rang.
correct and
Hardly had I entered the room that the phone rang.
incorrect?