QFC, ITStatic, and $page->setDefaultAction()

From: Date: Mon, 15 Mar 2004 21:25:04 +0000
Subject: QFC, ITStatic, and $page->setDefaultAction()
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11308@lists.php.net to get a copy of this message
Hello, I'm developing a form with QFC and ITStatic renderer. In the classes for each of my pages, I have a line that calls $this->setDefaultAction('name') where name is of course one of the action names ('next' for all but the last page, 'submit' on the last page). In my templates for each of the pages, right after the form tag, I place: {pagename__qf_default_html} Which gets replaced with a hidden field. Here's the funny part - the form still does not behave correctly when you hit 'enter' from within one of the form fields. On the first page, I go to the second page as I expect. So far so good. On the second page, which should go 'next' (to the third page), I go back to the first page. On the third page, which should 'submit', I go back to the second page. Can anyone help me? Is this just a bug in the package? It sure seems like it. . . Jeff Schmidt

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