Home > Archive > PHP Pear > April 2006 > Re: [PEAR] Re: DB_Table QuickForm rules
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PEAR] Re: DB_Table QuickForm rules
|
|
| Charlie van de Kerkhof 2006-04-20, 7:01 pm |
| On 20 Apr 2006, at 14:16, Mark Wiesemann wrote:
> Hi Charlie,
>
> I only had a quick look at your code -- but:
>
>
> Instead of using the second line of the code snippet from above
> $G_FORM =& $oBet->getForm(null, null, array('formName' => 'lab'));
The downside (as I experienced) is that this call doesn't do anything
with my renderer (Template).
It is the whole form wrapped around with a standard table.
What I want is a form with fields where sometines the label is on a
seperate row.
Or do yo have some hints and tips on this?
Thanx!
Regards,
- Charlie (...still trying) ;)
| |
| Mark Wiesemann 2006-04-21, 4:01 am |
| Charlie van de Kerkhof wrote:
> On 20 Apr 2006, at 14:16, Mark Wiesemann wrote:
> The downside (as I experienced) is that this call doesn't do anything
> with my renderer (Template).
> It is the whole form wrapped around with a standard table.
Then you're doing something wrong. getForm() returns a normal QuickForm
instance, nothing else does a call to "new HTML_QuickForm(...)".
Regards,
Mark
| |
| Charlie van de Kerkhof 2006-04-21, 4:01 am |
| On 21 Apr 2006, at 09:55, Mark Wiesemann wrote:
> Charlie van de Kerkhof wrote:
>
>
> Then you're doing something wrong. getForm() returns a normal
> QuickForm instance, nothing else does a call to "new HTML_QuickForm
> (...)".
Sorry I meant after toHtml() function call. getForm() itself returns
an object.
Thanx again.
|
|
|
|
|