Use a text response and submit only when something is typed

if actualKeys[i] == ‘return’ and inputText3 != ‘’: