2 questions

From: Date: Wed, 07 Mar 2007 20:26:32 +0000
Subject: 2 questions
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26765@lists.php.net to get a copy of this message
Hello, I would have 2 questions if i may 1) I saw two examples on the net using HTML Quickform and HTML Ajax I was curios ,what does the following line do? $form =& new HTML_QuickForm('frmTest', 'post',$_SERVER['PHP_SELF'],'', "onsubmit=\"return !HTML_AJAX.formSubmit(this, 'target');\""); the "onsubmit=\"return !HTML_AJAX.formSubmit(this, 'target');\"" i don't understand. 2) All the examples i've seen using Quickform validate the form on the same page,because the actions is the same page. But what if i send the data to another page? How can i validate the form there. I mean if i have a $form object created as above when i go to another page(the action page) this object is destroyed right?should i use sessions???I hope you understood what i was trying to say...Thanks! ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html

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