set autofocus in form