We found out how to do it yesterday: give the template a name-attribute
(e.g. login) and the body tag an onload attribute
with value: document.nameOfForm.NameOfField.focus()
Regards,
Robby
html
head
titleAccess Control/title
/head
body onload=document.login.id.focus();
cool, just for completeness though:
when upgrading from woody to cforms (which is highly recommended) you
should:
watch out with those on_load thingies, you might be killing the
necessary onload of other widgets in the form (e.g. used by advanced
widgets like calendar or html area and whatnot)