Hi,
I have a infopath 2007 browser enabled form with c# code behind . The Infopath form is embeded\hosted in to a custom layouts page (.aspx) on MOSS 2007. The issue is when users use keyboard to fill the form, they often use <TAB> & <Enter> keys. So when they are using the tabbing at one location in the form, I have a "Contact selector" field, I enter a name & then hit <TAB> key the focus now comes to "name cheker" I then hit <Enter> key, I hit <TAB> again, the focus now comes to a button named "Accept", I hit <Enter> key & a filed below is populated with the values from user profile service. Now when I hit <TAB> I expect the focus should now come to that automatically populated field below the "Contact selctor". Because Infopath assings the tab order by default form top to bottom & left to right and I havent changed that default tab order.
But, the focus moves to top of the webpage with a clickable link to "Turn on more accessible mode" I hit tab one more time & the link on top changes to "Skip to main content". This bheaviour does not seem to be happning in other form controls when they hit <Tab>, <Enter>. There are couple of areas on the infopath form where I have such a controls (layed out in the exact same fashion as Depicted below by text) & this bheaviour seems to be happning in those couple of areas.
I am unable to upload image file/screen shot here because Inser\edit image is not allowing me to upload from my drives, it asks for URL, theres no browse button to navigate my local files. So I am depicting the layout of controls in the form of text below ( I have "contact picker contol & accept button in the same row, Text box control in the row below):-
Contact selctor control (contains a text box to type names followed by 'name checker' button) ; "Accept" button
Text box
How can I Prevent this bheaviour, so that I can give better user experince when user tries to fill the form using keyboard?. Any help or Sugesstions are appreciated.
Thanks in advance,