http://www.perlmonks.org?node_id=507872

geektron has asked for the wisdom of the Perl Monks concerning the following question:

I've hit a problem very much like, if not identical to Tab index feature added to CGI.pm. I'm using HTML::Template with CGI::Application; some of my form elements are CGI-generated while others are just in the template.

Of the form elements that *don't* have tabindex disabled by using the -no_xhtml pragma, the one I use the most is popup_menu.

I could just throw in a patch that checks for the $XHTML value (within the code for CGI) for popup_menu/ scrolling_list ... but has anyone else found a better workaround?