I'm sorry I don't understand your requirements. When you say: "I would like to create SQLFORM with inserts data to db, but I would like to see values from database there", which "values from database" are you referring to"?
Previous inserted records? then pass a list of records as in the recipes() method of tutorial Values to be used in dropdown lists? then use IS_IN_DB in the model Something else? please specify. When you say: "I have one "template page" in database ( text, html, relations, etc... ) ", what does that mean? Do you have a record in a database table that holds text,html,relations,etc? On Nov 17, 12:44 pm, pigmej <[EMAIL PROTECTED]> wrote: > No, In cookbook there are different things. > > I'll have something different. > I have one "template page" in database ( text, html, relations > etc... ) > Now i would like to create new page based on this template, without > selecting many values again ( checkboxes etc ). > > If I generate SQLFORM() with "values" from database, it generates > update form, without values from database it generates new empty form. > > On 16 Lis, 22:46, billf <[EMAIL PROTECTED]> wrote: > > > Try working through the tutorial in > > >http://mdp.cti.depaul.edu/examples/static/cookbook.pdf > > > It provides code examples that probably cover your needs. > > > On Nov 16, 8:14 pm, Jędrzej Nowak <[EMAIL PROTECTED]> wrote: > > > > So, I would like to create SQLFORM with inserts data to db, but I would > > > like to see values from database there. > > > > I would like to made some kind of template for adding records. > > > > Is it possible to made with SQLFORM, or must I use my own form (custom > > > one) > > > > -- > > > Pozdrawiam, > > > Jędrzej Nowak --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

