You are using the same form class for backend and frontend? I think you probably do..
1) I think you can create two form classes - one for backend one for frontend. 2) Or you can create some parameter for your form class - to let the form know if it's frontend or backend and then decide to show/not show the boolean as a checkbox On 2 bře, 21:29, Diego Bello <[email protected]> wrote: > Hi guys, > > I have a form hidden field defined in the Form.class.php. This is a > boolean field that indicates whether the entry is public or not. What > I want to do is to set in the backedn if an entry is published or not. > This field is not shown in the frontend but I need it to be shown in > the backend, but because of the hidden attribute set the field is not > shown in the backend. > > Where can I specify where to show or hide the field? > > Regards, > > -- > Diego Bello Carreño -- 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
