QFC/QF submitting form to itself

From: Date: Tue, 04 Nov 2003 10:36:37 +0000
Subject: QFC/QF submitting form to itself
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8753@lists.php.net to get a copy of this message
Hi, I'm trying to get a check box on a form to re-submit to itself - to enable changing content of a select list. Currently I have two problems. The check box has an onclick='submit()' which submits back to the controller script. How should I go about sorting out actions attached to the checkbox? At the moment I just attached a 'display' for when people click the submit checkbox. Also when they later uncheck the box (forcing a submit & 'display' action) it causes the QFController to go to the previous page. :-/ When the form displays I do: $values = $this->controller->exportValues(); var_dump($values); The $values never contains information about the checkbox just selected. What stages am I missing here? Regards, -- Mike Carter [Senior Web Developer] ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________

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