[html-formfu] set non-db column and use in ->update

Stephen Shorrock stephen.shorrock at gmail.com
Mon Feb 3 17:14:16 GMT 2014


Hi,

I'd like to set a non db column value eg;

__PACKAGE__->mk_group_accessors('simple' => qw/filter_update/);
$row->filter_update(1);


before I call $form->model->update($row)

 so that when the $row->update() function is run it acts in a particular
way.

Is this possible?  $row->update() currently doesn't seem to notice that
filter_update has been set, ie when the value is retrieved in the
->update() function it is undefined

Kind regards
Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20140203/01f7f219/attachment.htm>


More information about the HTML-FormFu mailing list