{{if form.record:}} <input name="id" type=hidden value="{{=form.record.id}}/> {{pass}}
record is the second argument of SQLFORM(table,record) Massimo On Nov 11, 10:59 am, "Wes James" <[EMAIL PROTECTED]> wrote: > I have this: > > <input name="id" type=hidden value="{{form.latest.id}}> > > but the value comes out "None" > > I did put in value="1" and it updated fine. Now to just get the id > for the record.... > > thx, > > -wj > > On Tue, Nov 11, 2008 at 9:55 AM, mdipierro <[EMAIL PROTECTED]> wrote: > > > Yes, update forms must have a INPUT id (the id of the record being > > modified). This field can be hidden or readonly. Up to you. > > > Massimo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---