Question about multiple input-"submit" or input="image" buttons

Philip A. Prindeville (philipp@ntex.com)
Thu, 30 Jan 1997 10:12:55 -0800 (PST)


Date: Thu, 30 Jan 1997 10:12:55 -0800 (PST)
From: "Philip A. Prindeville" <philipp@ntex.com>
Message-Id: <199701301812.KAA12519@ntex.com>
To: www-html@www10.w3.org
Cc: cknight@metricom.com
Subject: Question about multiple input-"submit" or input="image" buttons

Hi.

I haven't followed this list in more than a year, so forgive me if this
question has already come up.  A cursory look at the archives didn't turn
up anything so here goes...

I've designed a form for administering UNIX accounts that contains text
fields for things like: username, password, fullname, and home dir.
The shell is a menu, and there are several type=image buttons:

	"Add User" - submit the form as is;

	"New Password" - generate another random password;

	"Cancel" - abort creation of new account and go back to main
		menu

The problem is this: the last button always seems to be the default
if the operator types ENTER anywhere in the form.  Unfortunately, this
is seldom the button he wants to type.  Typically it is the first.

My question then is, how can we either select which button we want
ENTER to select, or how do we turn off defaulting all together so that
an explicit click is required?

We are using Netscape 2.02 or 3.0 typically, though some people
report seeing identical behaviour with other browsers as well.

Please reply directly to me (or at least copy me on your posting).

Thanks,

-Philip