symfony-forms
Using sfDoctrineGuardPlugin. Want to set id field without user choice
I am using Symfony 1.4 and Doctrine 1.2 and sfDoctrineGuardPlugin. I have a article create pa开发者_开发百科ge. On my article table, i have profile_id field for saving which user (author) wrote it.[详细]
2023-02-06 14:12 分类:问答how to avoid storing several times a repeated field of a Symfony form?
I am working with Symfony 1.4 and Doctrine. I have a model A with an email field. The form of A displays an input in which the user should insert the email correctly. But as everybody knows, sometimes[详细]
2023-02-03 21:30 分类:问答symfony forms file upload Validation not working for Ms Word Document
I am using Symfony 1.4 and Propel as ORM. I have created a form using the Symfony Form, which contains some text inputs and file upload elements.[详细]
2023-02-03 04:33 分类:问答update/validate embedded forms before saving in symfony
I would like to validate an embedded form field before it gets saved in the database. Currently it will save an empty value into the database if the form field is empty. I\'m allowing 开发者_JAVA百科e[详细]
2023-02-02 06:04 分类:问答does sfWidgetFormSelect provide a string or an int of the selected item?
I\'m having an annoying problem. I\'m trying to find out what fields of a form were changed, and then insert that into a table. I managed to var_dump in doUpdateObjectas shown in the following[详细]
2023-01-31 13:14 分类:问答Admin form with "extra" fields
I have a form for an object called AccountImport. This form lives in an admin-generated module. In addition to the fields that map directly to this object\'s attributes, I need a couple extra fields.[详细]
2023-01-30 03:10 分类:问答PreValidation in Symfony 1.4 for embedForm with sfValidatorCallback
I have a SymfonyForm which has 1:n embedForm(s). The main form and the embedForm class got their own PreValidation, which implements a conditional validation.[详细]
2023-01-29 12:48 分类:问答Form with embedded relation won't save Symfony 1.4 Doctrine
I have embedded the Mutt form wit开发者_开发知识库hin the Mix form: MixForm.class.php: $this->embedRelation(\'Mutt\');[详细]
2023-01-28 22:32 分类:问答Symfony Forms Start and End Time Widget
I need to have a start and end time widget on a form. i.e. the user selects a date and then selects the start and end time.[详细]
2023-01-28 22:16 分类:问答Symfony forms: display a checkbox (with initial state of unchecked)
I am using开发者_Go百科 Symfony 1.3.x for a project. In the configure() method of one of my forms, I have the following code:[详细]
2023-01-24 07:23 分类:问答
加载中,请稍侯......