I've now used the following in BaseFormPropel.class.php, which takes
into account if a form field was unset() during your configure()

  public function bind(array $taintedValues = null, array
$taintedFiles = null) {
        $defs = $this->getDefaults();
        $defaults = array();
        foreach ($defs as $field=>$value) {
                if (in_array($field, array_keys($this->widgetSchema-
>getFields()))) {
                        $defaults[$field] = $value;
                }
        }
    $taintedValues = array_merge($defaults, $taintedValues);
    parent::bind($taintedValues, $taintedFiles);
  }

Still working to see if this will actually do what I want to do, but
this seems to allow me to submit only a single value (or certain
values) required in my form, while having all other fields "inherit"
the values they currently have, based on the object the form is
instantiated with.

HTH

Beau
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to