Hi,
how i could add a label to an form field?

I'am sitting here for a couple of hours trying to find out how to do this 
but i must capitulate.


        $this->add(new TextField('title', array(
            'max_length' => 64,
        )));

I want to add a label to this field sth. like this:

        $this->add(new TextField('title', array(
            'max_length' => 64,
            'label' => 'bla'
        )));

But this only produces an exception. In the template it uses the field name.
I donÄt  know what to do exactly.

Thanks

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to