I think it would be wise to combine sfWidgetFormDiv with sfValidatorReadOnlyField from the snippet.
On 1 čvn, 23:34, Tarjei Huse <[email protected]> wrote: > Hi again, after looking further on the issue, I ended up with a widget > that does this. > > See:http://trac.symfony-project.org/attachment/ticket/8726/sfWidgetFormDi... > On 06/01/2010 03:41 PM, Tarjei Huse wrote: > > > > > > > On 06/01/2010 02:54 PM, Thibault Jouannic wrote: > > >> Hi, > > >>http://snippets.symfony-project.org/snippet/387 > > > Jolly good! > > > Have you asked for it's inclusion into sfForm main? IMHO it deserves to > > be there :) > > Tarjei > > >> You're welcome :) > > >> Thibault. > > >> On Jun 1, 11:16 am, Tarjei Huse <[email protected]> wrote: > > >>> Hi, > > >>> This is something I quite often miss and therefore I would guess there > >>> is a solution for it. Quite often I want a field from an object shown in > >>> my form in a read only fashion. I.e the user sees the field but cannot > >>> edit it. > > >>> Also, has someone created a simple widget for adding HTML elements into > >>> a form? > > >>> Kind regards, > >>> Tarjei > > >>> -- > >>> Regards / Med vennlig hilsen > >>> Tarjei Huse > >>> Mobil: 920 63 413 > > -- > Regards / Med vennlig hilsen > Tarjei Huse > Mobil: 920 63 413 -- 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
