RE: Woody question (how to give certain field focus at onload of document) Solution provided

2004-09-08 Thread robby . pelssers
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();

Re: Woody question (how to give certain field focus at onload of document) Solution provided

2004-09-08 Thread Marc Portier
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)