[thelist] form not passing variables if focus is in input box

Dunstan Orchard dunstan at 1976design.com
Fri Nov 8 08:24:02 CST 2002


Hi there,

well here's an odd one.

I have this test form:
http://www.1976design.com/testarea/photo/search2.php?

It seems to work perfectly except for when you do this:

If the focus/cursor is IN the 'search terms' input box and you hit RETURN to
submit the form, none of the form variables beyond $searchterms are passed.
And I don't just mean that they arrive at the results page empty, I mean they
are simply not passed on from the form. At all.

There's logic in the results page to deal with empty variable values, but not
if the variable doesn't exist, so the errors appear.


It doesn't matter if you've put in no values or filled out the entire form, if
you then return focus to the 'search terms' input box and hit RETURN the
variables beyond $searchterms are just not passed in the URL (I've made the
form GET so you can see the varibles in the URL).


Any ideas why this is happening and what I can do to stop it?


Thanks very much - dunstan

---------------------------
Dorset, England
http://www.1976design.com/
http://www.orchard.it/
http://www.maccaws.org/



More information about the thelist mailing list