[symfony-users] [1.3/1.]How to best implement an address using the Symfony 1.3/1.4 Form Framework?

2010-02-03 Thread Stephen Melrose
I have a database table with the following fields, address_1 address_2 address_3 address_4 Currently in my generated form there are 4 sfWidgetFormInputText widgets, one for each field. These render out in their own rows with their own labels, errors, etc. I'd like to group these 4 fields into 1

Re: [symfony-users] [1.3/1.]How to best implement an address using the Symfony 1.3/1.4 Form Framework?

2010-02-03 Thread Stefan Paschke
Hi Stephen If you don't want to have to write all 4 fields individually in the view, you'd need a custom widget, I don't see how an embedded form would do this. I have written a few custom widgets that represent several correlated values, such as 'clothing size' and 'clothing size key', which