compute= works for me once, when I create a record (or when Field==None).
And that is exactly what you write in documentation.
But I need calculated field which updates always when source fields will
change.
Maybe proper way is to use default=(or compute=)+update= ?
I'm sorry for late response.
I am pretty sure this works:
Field('html', compute = lambda row: MARKMIN(row.markmin).xml()).
I cannot reproduce the problem you refer mention.
On Monday, 27 February 2012 04:10:23 UTC-6, Mirek Zvolský wrote:
>
> I think the behaviour of "compute=" is not good. Most people need
>> calculated f
yes
On Wednesday, 28 December 2011 15:50:58 UTC-6, Richard wrote:
>
> Hello,
>
> I would like to compute a field on update, but I think all the
> request.vars needed to my lambda compute function are not passed to
> form.vars...
>
> What I should do to make sure all the needed vars are available
>
> I think the behaviour of "compute=" is not good. Most people need
> calculated field which ALWAYS follow the source values and not just ONCE.
> So I have found in google group, lot of people fall through the time in
> same problem and there is still no clear solution.
>
> I now need this fo
I think the behaviour of "compute=" is not good. Most people need
calculated field which ALWAYS follow the source values and not just ONCE.
So I have found in google group, lot of people fall through the time in
same problem and there is still no clear solution.
I now need this for Markmin sour
Ping!
computed field not compute on update... What should I check?
Thanks
Richard
On Wed, Dec 28, 2011 at 4:50 PM, Richard Vézina wrote:
> Hello,
>
> I would like to compute a field on update, but I think all the
> request.vars needed to my lambda compute function are not passed to
> form.var
Hello,
I would like to compute a field on update, but I think all the request.vars
needed to my lambda compute function are not passed to form.vars...
What I should do to make sure all the needed vars are available to the
lambda compute function?
form.vars.varname = request.vars.varname ??
Than
7 matches
Mail list logo