Hey MS,

I would just create a new Widget class that renders those 2 fields.
Since it is one widget, it would have 1 label, but output whatever
controls you teach it to. Look at the date widget for inspiration, as
it renders 3 select inputs.

Daniel



On Jul 6, 6:28 pm, "master.soccer" <master.soc...@gmail.com> wrote:
> Hi:
>
> How to display 2 fields from a table in one row???. Must
> have a common label.
>
> For example:
>
> DNI : [number_digit] - [dv_digit]
> FIRST NAME: [first_name]
> LAST NAME: [last name]
>
> [number_digit] - [dv_digit] show in one line.
>
> I am using the:
>
> <?php echo $form ?>
>
> in the _form.php view of de module.
>
> Thanks
>
> MS
--~--~---------~--~----~------------~-------~--~----~
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