Re: using Sigma_Template with Quick_Form_Renderer_ITStatic

From: Date: Tue, 08 Jun 2004 11:05:57 +0000
Subject: Re: using Sigma_Template with Quick_Form_Renderer_ITStatic
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13003@lists.php.net to get a copy of this message
Alexey Mirkulove wrote:
I'm checked the example on HTML_Template_ITX and all other exapmples incliding Sigma template, but i couldnot locate how i should call form before placeholders! Cold you please give an example, of some kind.
I meant: if you called your form 'Model1', then you need to put <form {Model1_attributes}> into your template instead of <form {form_attributes}> Clearer now?
"Alexey Borzov" <borz_off@cs.msu.su> ???????/???????? ? ???????? ?????????: news:40C59561.9090108@cs.msu.su...
Hi! Alexey Mirkulove wrote:
$form = new HTML_QuickForm('Model1','post','new.php'); This is template new.html: <form {form_attributes}> Nothing is happening, i cannot see even {form_attributes}! Probably i missed something???
Yes, you missed the fact that placeholders should be prefixed by form's name, not the word 'form'. Or else how do you expect to output two forms on the page?


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