symfony-forms
Add CSS attributes to Symfony form labels?
I try to add some css attributes to labels in my custom sfForm but I can\'t achieve it. In my custom class myForm extends sfForm, I create all textfields dynamically:[详细]
2023-01-05 02:00 分类:问答Rendering same form repeated in Symfony for bulk insert
I been trying all day to do multiple insert for the same form based on a number and i couldn\'t go any where with it. I hope someone here would be help me out...[详细]
2023-01-04 10:32 分类:问答How can I create an "array" element with sfForm?
With Zend_Form I could just set an element as an array and it would render with brackets. Can I achieve the same thing using sf开发者_如何学运维Form in symfony?What if you simply set the name of the f[详细]
2023-01-01 17:18 分类:问答Symfony - Several form on the same page -> ID issue
I have an issue while displaying several forms of the same model on the same page. The problem is that with the NameFormat, the fields have the same ID :[详细]
2023-01-01 04:44 分类:问答Edit primary keys in Symfony auto-generated admin
I need to edit primary keys in several tables. By default, symfony hides primary keys in New/Edit forms.[详细]
2022-12-31 00:26 分类:问答Pass a variable to a Symfony Form
I am building a web application using Symfony 1.4 and Doctrine for a school and I want to make a very simple form to add a course to a student.[详细]
2022-12-30 21:01 分类:问答Symfony forms - remembering a previously selected file
I am using Symfony 1.3.2 on Ubuntu and I have a form that contains several widgets. One widget is the sfWidgetFormInputFile, which allows a user to select a picture.[详细]
2022-12-29 03:31 分类:问答symfony doctrine:insert-sql - "Couldn't locate driver named mysql" error
hey, I am a newbie in symfony. I am following this joobet tutorial on symfony-project.com, I am on there day 3 http://www.symfony-project.org/jobeet/1_4/Doctrine/en/03[详细]
2022-12-28 16:00 分类:问答Can't get custom error rendering to work in symfony 1.4
I\'m tring to customize error rendering in my form according to this example. Here is my code: if ($this[\'message\']->hasError()) {[详细]
2022-12-27 13:22 分类:问答Unique IDs for Symfony select_tag() helper
With the select_tag() helper, is there a way to avoid passing an id to the generatedelement? If not, what do you do when you have th开发者_StackOverflow社区e same form several times on a page and you[详细]
2022-12-23 03:34 分类:问答