Optionally allow autocomplete forms to be submitted via the enter key. [#2338923]