Date picker icon and tab sequence - InfoPath Dev
in

InfoPath Dev

Date picker icon and tab sequence

Last post 02-13-2009 12:41 AM by diggerla. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-11-2009 01:34 AM

    Date picker icon and tab sequence

    Hi,

    I have a question about the tab sequence in preview mode versus in a browser. I have a form with several controls, including a date picker. Each control has the tab index 0. When tabbing through the form in preview the tab sequence doesn't include the date picker icon, but when I publish the form to Forms Server it does. Why is that? Thanks!
  • 02-11-2009 05:06 AM In reply to

    Re: Date picker icon and tab sequence

    Hi,

     

    When you add a date picker to the form, by default the tab index for the icon is set as -1. That is why you are not pointer is not going to that field. Go to view.xsl, open in any editor and search for the following.

    <button class="xdDTButton" title="" xd:xctname="DTPicker_DTButton" xd:innerCtrl="_DTButton" tabIndex="-1">

     

    Here replace -1 with 0. So that the pointer will go to icon also.

    Swathip
    www.ggktech.com
  • 02-11-2009 05:20 AM In reply to

    Re: Date picker icon and tab sequence

    Thank you for your quick reply.

    The thing is, I would like it the other way around. I don't want the pointer to go to the icon. Any suggestions?

     

     

  • 02-11-2009 09:38 AM In reply to

    Re: Date picker icon and tab sequence

    So what you are saying is that you want the browser form to NOT tab to the icon, right? 

    Either way, it is difficult to compare browser form behavior to native form behavior as they are two different beasts. Its possible it was an oversight when the browser form engine was developed, or it could have been intentional. I would not plan on having behavioral changes to the date picker.

    My guess is that it was intentional. In the native form you can use Alt+DownArrow to open the date picker using they keyboard and that this is not an option on browser forms, and so for accessibility reasons, they included the icon in the tab lineup.

  • 02-13-2009 12:41 AM In reply to

    Re: Date picker icon and tab sequence

    In other words, there is no solution??
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.