Autofocus directive implemented for sale and stock forms