[ic] Form field auto focus
danb at berganconsulting.com
Fri Jan 11 13:17:26 EST 2008
On Jan 11, 2008 11:20 AM, DB <DB at m-and-d.com> wrote:
> >> I want to have the cursor automatically positioned into a certain form
> >> field when my page loads. I've found that this can be done using
> >> <body onLoad="FormName.FieldName.focus();">
> >> where FormName is the name of the form and FieldName is the name of the
> >> desire field.
> >> I'm having trouble getting this to work in my IC page where my form's
> >> name is [area search]. Does anyone have a suggestion?
> >> DB
> > Hi DB,
> > Is your form name [area search] or is that the target of the form?
> Hi - my page uses:
> <form action="[area search]" method=post>
> thanks for any hints....
It looks like you are missing the form name.
<form name="myform" action="[area search]" method=post>
More information about the interchange-users