NYCPHP Meetup

NYPHP.org

[nycphp-talk] PEAR: HTML_QuickForm

Christopher R. Merlo cmerlo at ncc.edu
Fri Apr 16 15:53:35 EDT 2004


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.

-- 
  cmerlo at ncc.edu             http://turing.matcmp.ncc.edu/~cmerlo

There is no spoon.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20040416/bf4b7d22/attachment.sig>


More information about the talk mailing list