MarmotBlog

2/18/2004

Things to discuss

Filed under: — tim @ 2:45 pm

Anything we feel we need to discuss before the roll-out of 1.2

2 Responses to “Things to discuss”

  1. Tim Says:

    Finalize and clarify any wording in the documentation or changelog regarding the Win/IE hidden element added for a default action. Which action is default? How can the developer specify or force a default?, etc. (Within our ability to understand browser default behavior.)

  2. dirk Says:

    Actually, I think the “default” method in Marmot ignores any browser issues (or should). Rather than relying on what the browser may happen to pick as a default, Marmot sets the “default” as a hidden form item. Since PHP doesn’t cumulatively build values, any clicked button overwrites the hidden element of the same name, leaving us with the value of the button the user clicked.

    If the user presses enter and the browser doesn’t submit a button name, the default value is used.

Powered by WordPress