[Formsess-devel] Feedback
Status: Beta
Brought to you by:
mrkatana
|
From: Philipp K. <pk...@pr...> - 2004-11-01 19:28:50
|
Hi there,
just short feedback:
assign with force=3Dtrue parameter doesn't work for me.
I need to _save_fields with empty values (checkboxes in html forms)
so I had to adapt this method:
<code>
function _save_fields($fields) {
if (!is_array($fields)) settype($fields, 'array');
foreach ($fields as $field) {
if($this->wasSubmitted())
{
// only save non empty values
$value =3D $this->_read_field_value($field);
$fieldkeys =3D $this->_parse_field_name($field);
$target =3D &$this->_dig_into_array($this->_sess_space['values'],
$fieldkeys, true);
$target =3D $value;
}
}
}
</code>
some for the method to read a value.
Do you mind to exclude the .svn folders in your releases?
I really like formsess - a great project. Looking forward
to have a next stable release.
Cheers, fips
--=20
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
|