Re: using Sigma_Template with Quick_Form_Renderer_ITStatic
| From: | Alexey Mirkulove | Date: | Tue, 08 Jun 2004 12:52:44 +0000 |
| Subject: | Re: using Sigma_Template with Quick_Form_Renderer_ITStatic | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13006@lists.php.net to get a copy of this message | ||
Thanks for help!
Now it is moving, i still got some more questions if you wish.
Could i make a loop of group element using ITStatic renderer?
I need a loop to add different images in each <select> for example.
"Alexey Borzov" <borz_off@cs.msu.su> ???????/???????? ? ???????? ?????????:
news:40C59D95.1040804@cs.msu.su...
> 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?