NYCPHP Meetup

NYPHP.org

[nycphp-talk] PEAR: HTML_QuickForm

John Lacey jlacey at att.net
Fri Apr 16 16:19:30 EDT 2004



Christopher R. Merlo wrote:

> On 2004-04-16 15:22 -0400, David Sklar <sklar at sklar.com> wrote:
> 
> 
>>You're right -- normally QuickForm wants to be the generator and 
>>processor all at once. You can change the action of the form by passing 
>>a new action as the third argument to the HTML_QuickForm constructor, 
>>though. For example:
>>
>>$form = new HTML_QuickForm('myform','POST','/cgi-bin/phorm');
>>
>>This makes "/cgi-bin/phorm" the action of the form printed by 
>>$form->display().
> 
> 
> That's a huge hint, especially considering how sparse the
> documentation is on the PEAR site.  Thanks, David.
> 

Chris,

just for curiousity, I looked your question up in David's new 
Essential PHP Tools book -- chapter 3 is dedicated to 
html_quickform...

as it turns out, the answer to that question is on the top of 
page 60 :)

John




More information about the talk mailing list