I'm trying to set a value in my form, before validation, and running into problems.
The value I'm setting is an account_id, which should never be known to the user, thus I don't use a hidden_input form value. I want to preserve the form validation (a sfValidatorDoctrineChoice validator that ensures that the account_id exists in the database), and therefore haven't overriden the updateObject method on the form. I recognize that I could simply set the validator to sfValidatorPass(), and insert the value either in the controller or in $form->updateObject() but that seems hacky. Any suggestions? -- 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.
