autofocus form, and trim input whitespace
autofocus form, and trim input whitespace