autocomplete text restrictions