Closed (fixed)
Project:
Autocomplete Node Finder
Version:
5.x-3.9
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2010 at 04:29 UTC
Updated:
19 Jul 2010 at 05:50 UTC
I'd like for the autcomplete form to have a tabindex=1, but I have no idea how to add this into the form. I tried copying the code out via source from Firefox and then adding it there but that just results in the form not working.
Hopefully someone can help me for this very simple addition?
Thanks
Comments
Comment #1
danielb commentedYou would have to use a Drupal API form hook and add to the #attributes property array. This feature is not supported through the interface of this module, you have to write your own code to do it. It might also be possible to do it via jQuery. I would recommend in developing any site to have a custom module and jquery scripts available for manipulating your site.
Comment #2
mangailk commentedThank you very much for replying however, I have absolutely no idea how to do what you said. I simply just want to have to press tab and jump to the autocomplete field. :(
Can't we just add some code into it? So it's not as simple as adding a few lines of code into the module, for something as small as (or similar to) " tabindex=1 " ??
Comment #3
mangailk commentedstatus opened for more feedback
Comment #4
danielb commentedYou are asking for a very specific thing, and it is not as simple as it may first seem. If you use the forms API and create your own module to alter the form and make this change, you will be able to achieve this. If you do not have the skills or patience to learn how to do this then you have to accept that your website will not be 100% to your liking.
Comment #5
mangailk commentedI may not have the skills, but then this is why this question is here in the first place. I will look into what you said, but to be honest it's not a very helpful.