Re: QuickForm_Controller setDefaultAction not working

From: Date: Fri, 19 Aug 2005 07:39:59 +0000
Subject: Re: QuickForm_Controller setDefaultAction not working
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20476@lists.php.net to get a copy of this message
Hi, Andrew Zahra wrote:
There was a thread recently about this. I assume that you have a "previous" button and it comes before the "next" button? Well, the standard says that the first button found should act as if it was clicked. So either you switch the order of the buttons (not a great solution) or add a hidden "next" button somewhere before the "previous" button.
i c, so the wizard example in the docs is a tad misleading then.
In fact the behaviour of whether to mark the button pressed (and what button exactly) is browser-dependent (and the browser name was not mentioned here at all) . If you can provide a complete cross-browser solution for this, I'll be extremely grateful.

« previous php.pear.general (#20476) next »