Re: Question about multiple input-"submit" or input="image" buttons
Peter Flynn (pflynn@curia.ucc.ie)
04 Feb 1997 00:49:41 +0000 (GMT)
Date: 04 Feb 1997 00:49:41 +0000 (GMT)
From: Peter Flynn <pflynn@curia.ucc.ie>
Subject: Re: Question about multiple input-"submit" or input="image" buttons
In-reply-to: <199701301812.KAA12519@ntex.com> (philipp@ntex.com)
To: philipp@ntex.com
Cc: www-html@w3.org, cknight@metricom.com
Message-id: <199702040049.AAA19286@curia.ucc.ie>
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:
[...]
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?
I don't think you can: it's a browser implementation problem. You
could try an attribute like SELECTED or CHECKED in the relevant INPUT
start-tag, just to see if browsers react, but your best bet is to
rearrange the image buttons to the order you suspect is the one they
want, or (better) don't use images for form submission.
///Peter