it is dhtml/javascript onload function in the body tag that sets focus on a particular form element form.fieldname
<BODY onload="document.formname.fieldname.focus()"> HTH Etienne Kevin Harwood wrote: > > Is there a way to place the cursor in a text field automatically upon > loading a cgi form? > > Here is the field and some of the code: > > print $query->start_form(); > > print "<p align=center>"; > print "<BR><b>Tool Name</b><BR>"; > print $query->textfield('name'), "\n"; > print "<br><br>"; > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Etienne Marcotte Specifications Management - Quality Control Imperial Tobacco Ltd. - Montreal (Qc) Canada 514.932.6161 x.4001 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]