PDA

View Full Version : Tab press should stay in the same form



rakesh.h
23 Jun 2014, 11:16 PM
Hi,

I have a form with controls. On pressing tab key, focus on controls change, focus will also shift to browser url address bar. I want tab press should focus only in the form itself.

Please help me.

Thanks & regards
Rakesh

Gary Schlosberg
30 Jun 2014, 6:51 AM
You could try using a fieldset.
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.form.FieldSet

You might also try overriding the tab key event on your last field to send focus back up to the top of the form.