|
Answer» Here's ONE that's got me foxed -ANYONE know the reason for this? I've noticed on several pretty ordinary forms I've designed that if you hit 'Enter' rather than clicking on the submit button, none of the POST VARIABLES are handed on. There's honestly nothing unusual about the forms. This ONLY happens with IE (I'm using IE6 on WinXPSP2). Firefox behaves properly.
Any clues?This http://ppewww.ph.gla.ac.uk/~flavell/www/formquestion.html has some interesting things to say on the topic.Brilliant link, thank you! Looks like what is happening is that the form is being submitted, but without the name/value pair from my submit button - and those are the very things I use to check whether or not the form has been submitted. Doh! Not logical Captain.When I first saw your post (a good while back) I had nothing to offer. Forms usually post their values, and I couldn't think of any reason why they wouldn't, APART from a browser bug.
..but you're talking about the name/value on the submit button. I was surprised too, when I first found out about this. Often, the name/value is only sent when the button is directly clicked on. Ever since, I have considered the submit button far too unreliable for such things, and use a hidden field instead.This old DOG is not too old to learn a new trick.
|