gets autocomplete working in a custom form.