Very simple!!!
Thanks.
leone

On 2 Gen, 17:09, mdipierro <mdipie...@cs.depaul.edu> wrote:
> Invece di
>
> form=crud.update(table,record_id)
>
> Try this:
>
> record=table[record_id]
> record.fieldname = 'newvalue'
> form=crud.update(table,record)
>
> On Jan 2, 9:51 am, leone <handja...@gmail.com> wrote:
>
>
>
> > When SQLFORM is called with record parm valorized,  a row is loaded to
> > be updated.
> > I want set the value of a column by code BEFORE submit it so that it
> > is visible in input field.
> > Default doesn't work (it is not a new row...). How can I do? Is it
> > possible?
> > Thanks
> > leone
>
> > On 2 Gen, 16:37, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > Sorry, I do not understand. Can you make an example?
>
> > > On Jan 2, 5:44 am, leone <handja...@gmail.com> wrote:
>
> > > > Good morning.
>
> > > > Using SQLFORM I must update a row with defined values that i want push
> > > > in the input tags programmatically.
> > > > There is a way?
>
> > > > Thanks.
> > > > leone

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to