Thanks for reply:)
On Feb 13, 3:03 pm, mdipierro <[email protected]> wrote: > Not yet. > > On Feb 13, 6:59 am, pigmej <[email protected]> wrote: > > > that's an example table: > > db.define_table("test", > > SQLField("test1",'string'), > > SQLField("test2","string"), > > ) > > > Could I define default value of "test2" field based on content of > > "test1" field of the same record ? > > > Something like this ( but it doesn't work, I know ): > > db.define_table("test", > > SQLField('test1','string'), > > SQLField('test2','string', default=db.test.test2), > > ) > > > Any way to define it on model side ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

