Can we consolidate `inFormField` and `inTypingField` into a single variable? Do we need to distinguish between the two?