symfony-forms
Outputting required field indicator for symfony forms
I have a few forms configured in symfony. One things I need is to have an asterisk (*) or other indicator next to fields that are required. The fields are a开发者_运维百科ll set to required int he for[详细]
2023-02-14 04:43 分类:问答sfValidatorDoctrineUnique in an update/edit context
I\'m using a form class in two separate contexts: both to create a new record and also to edit that record. I\'ve set up a post-validator as follows to check that the URL field is unique.[详细]
2023-02-13 02:06 分类:问答Symfony Embedded Relation Many2Many - linking unique fields or creating new fields
I\'m using an embedded relation to allow the user to edit/add books to a library and in the same form to add/remove n authors who wrote the book within the auto generated admin.[详细]
2023-02-12 17:29 分类:问答symfony 1.4 process file after upload in form, doesn't sends data to DB, but it saves file in disk
I have a form with a sfWidgetFormInputFile field. I\'m uploading images, and after the upload, I would like to do some processing to the file just uploaded.[详细]
2023-02-12 13:28 分类:问答Symfony - embedding forms in Propel
I have an admin module, that has a file input filed, where I\'d like to upload a file. I am looking to upload the file to the database as a blob, as this is what I am restricted to. I am aware this is[详细]
2023-02-12 03:15 分类:问答symfony executing multiple queries to populate repeated form field
My symfony project has an object A which has a one-to-many relationship with object(s) B, i.e. A B B B[详细]
2023-02-10 18:37 分类:问答Symfony Embedded form relation
I\'m using Symfony 1.4.8 The Problem is in saving embedded form relation to database. I have child and parent; child is embedded form, when I\'m using embedded form parent is always connected with th[详细]
2023-02-09 09:42 分类:问答How to "effectively" set default error messages of sfValidatorInteger etc.?
I just rumbled into a problem that I assume to be some kind of \'bug\' of the symfony framework: I want to set default error messages for different types of validators (e.g. sfValidatorInteger). For t[详细]
2023-02-07 21:03 分类:问答symfony - custom multiple checkbox widget - help
I\'m trying to create a custom multiple choicecheckbox widget, that displays all items of a model. My model is named \'Tag\', which is a list of tags in my DB table.开发者_如何学编程[详细]
2023-02-07 14:07 分类:问答in Symfony, Frontend App, Using one of Module's form on another Module
I am building a project with Symfony. Its blog-like web site. I need to implement: Writing comment for every article. Every comment must be moderationed by editors etc.[详细]
2023-02-07 05:51 分类:问答