required and autocomplete