On Wed, 2011-05-11 at 14:55 +0100, Mike Hobbs wrote: > When page content includes something like this: > <form method="POST" action="some.cgi"> ... > <input ....> > <input type="submit" value="Go"> ... > <input type="submit" value="Clear"> > </form> > and the user presses Return, > every other browser will send the post request with the > various arguments from the input elements (i.e. they > default to doing the submit as if the user clicked the Go > button), but NS seems to default to actioning the Clear > button.
The example you give above will submit nothing for either submit button, as neither have name attributes. If they do have names, however, NetSurf will pick the first one it sees, which is "Go", if the above example is modified so the submit buttons are given names. Do you have a real example that displays the problem you describe, given I'm unable to reproduce it? John.
