How do you currently render your form?

You can call each part of a widget separately and wrap into whatever HTML
you prefer.

$form['widget_name']->renderError(); //Renders errors if any
$form['widget_name']->renderLabel(); // Render the field label
$form['widget_name']->render(); //Renders the actual form widget itself

Take a read of this for all the info:
http://www.symfony-project.org/gentle-introduction/1_4/en/10-Forms


On Fri, Oct 1, 2010 at 12:19 PM, fatearthling <[email protected]>wrote:

> Hi all,
>
> We have to create a form with several checkboxes which work like a
> multiple-choice dropdown menu.  How can we change the default html
> code so that it doesn't render the html with <li> elements?  Same with
> form field error messages.  We could, of course, create several single
> checkbox widgets, but that is just awkward.  Thanks very much.
>
> --
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to