legacy support for HTMLForm::autocomplete