very odd... I do not think that ever existing else it would have been a breaking of backward compatibility. Must be a typo.
Massimo On May 12, 11:31 am, carlo <[email protected]> wrote: > Thank you, but in my book (pdf version) at page 167 I have id_label > among SQLFORM parameters, maybe a known misprint ? > > carlo > > On 12 Mag, 18:25, mdipierro <[email protected]> wrote: > > > there is no id_label. > > > You can do > > > form=SQLFORM(db2[table],records[0],fields=flds,\ > > submit_button='Salva',labels={'id':'N.'}) > > > or > > > db2[table].id.label='N.' > > form=SQLFORM(db2[table],records[0],fields=flds,\ > > submit_button='Salva') > > > On May 12, 10:37 am, carlo <[email protected]> wrote: > > > > Is the id_label parameter working? > > > I have: > > > > table=request.vars.table > > > if len(request.args)>1: > > > flds=[v for v in request.args[1:]] > > > > records=db2(db2[table].id==request.args[0]).select() > > > > form=SQLFORM(db2[table],records[0],fields=flds,\ > > > submit_button='Salva',id_label='N.') > > > > I get everything correct except for the id_label which stays 'id' > > > > Something wrong in my syntax? > > > > carlo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

