src/FormHandler.php
public function setDefaultValues(array $defaultValues)
    {
        foreach ($defaultValues as $name => $value) {
            if (isset($this->fields[$name])) {
                $this->data[$name] = $value;
            }
        }
    }
public function setDefaultValues(array $defaultValues)
    {
        foreach ($defaultValues as $name => $value) {
            if (isset($this->fields[$name])) {
                $this->data[$name] = $value;
            }
        }
    }
public function setDefaultValues ( array $ defaultValues ) { foreach ( $ defaultValues as $ name => $ value ) { if ( isset ( $ this -> fields [ $ name ] ) ) { $ this -> data [ $ name ] = $ value ; } } }
Set the default values of matching fields

@param array $defaultValues
Set the default values of matching fields