In your custom template file (page-nodetype.tpl.php etc), put something like this:<br>
<br>
<script type="text/javascript" language="JavaScript"><br>
document.forms['myform'].elements['mytextfield'].focus();<br>
</script><br>
<br>
Just inspect the current html of a node before you create it, to get the exact form/field id's for the textfield you want to have first focus. <br>To make it jump to the next fields, you would have to set the "tabindex" attribute on the elements in ascending order. Might want to look at <a href="http://drupal.org/project/nodeformcols">http://drupal.org/project/nodeformcols</a> for an easier way of doing it.<br>
<br><a href="http://www.webcheatsheet.com/HTML/controll_tab_order.php">http://www.webcheatsheet.com/HTML/controll_tab_order.php</a><br>
<br clear="all">Aaron<br><br>\ /<br>Putting the F in BOFH!<br>
<br><br><div class="gmail_quote">2009/8/3 Gustavo Cabral <span dir="ltr"><<a href="mailto:gmcabral@gmail.com">gmcabral@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi!<br>
I have a custom form make whit cck fields, now, I want a module o<br>
something (like code or anything, yes, I'm desesperated), to jump to<br>
the field that I want with the Tab key of course. I hope you<br>
understand my really bad english, anyway I'm sorry by that.<br>
Thanks for your help and time!<br>
<br>
Regards.<br>
<br>
Gustavo.-<br>
<font color="#888888">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br>