> From: Glanville, Jay [mailto:[EMAIL PROTECTED] > The situation: a form with two submit buttons, and the user > doesn't use > either of them, but instead submits the form by pressing > enter/return in > one of the text fields. > Question: how does the form get submitted?
Anecdotally, I'd say the first submit button-- that's why I have a hidden submit button at the top of my form that only causes Struts to redisplay the page. They have to actually click "Finish" for anything to happen. Prior to that, the first submit button on the form deleted a row. So, type in a date, accidentally hit enter, and the first row of data would disappear! Took me a bit to figure out what was happening. That said, I don't think this behavior is guaranteed. I won't go so far as to say they're invalid HTML because I don't know for sure, but I get the impression that multiple submit buttons are frowned on by HTML purists. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

