Saturday, 12 January 2008

Multiple Submit button issues

Scott Mitchell over at 4 guys from Rolla has just posted a great article on solving multiple submit button issues ( Basically he talks about issues when you have more than one button on a form and a user presses enter (the first button on the page is pressed instead of a the button relating to the controls been filled in).

He didn't cover one technique I normally use however which is to use a panels default button attribute. This specifies the button which will be clicked when enter is pressed when a child component is highlighted.

Nice article though, and well worth a read.


No comments: