QuickForm - display result s in a new page

From: Date: Mon, 14 Feb 2005 08:42:46 +0000
Subject: QuickForm - display result s in a new page
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17523@lists.php.net to get a copy of this message
Hi, We are trying to build Quickform( using QFC) that will take input and create a report (in pdf, csv, whatever). Our ideal mode is to have the user select submit, use the regisitered processing class and display the results in a new page. It seemed from our readiung that setting the page up with a constructor as follows <code> class hpfmPage extends HTML_QuickForm_Page { ... function we like to share amongst ourselves } class reportPage extends hpfmPage //Extend HTML_ { ... add elements etc } $reportPage = &new reportPage('report','post',$PHP_SELF,'_blank'); </code> Should do the job, but it doesn't. When we look at the generated HTML we get a form tag like <html> <form _blank="_blank" action="/slsa/SLSA_Members/forms/memberDetailsReport.php" method="post" name="report" id="report" > </html> What did we miss? Thanks in advance Barry -- Stay happy, stay well ... get involved Barry Steele www.hpfm.com.au mob: +61 413 947980 off: +61 2 99816520 fax: +61 2 9981 7806

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