On Jun 23, 8:23 am, AsmanCom <[email protected]> wrote: > Hi, > > i can make a hidden Field by: > > form = SQLFORM.factory(Field("field_name", type="hidden", > default="Off")) > > Now the Form is hidden, but the Fieldname is still there, how can I > hide this?
If you don't want a field in form factory, simply don't define the field; If you don't want to include a field from an existing table, before SQLFORM or SQLFORM.factory set that field's readable and writable attributes both to False. (You can do this for an SQLFORM.factory Field too, if you're simply doing things programatically, and just want to dynamically include the field in a form). Note: you can also make a memory database, and define a table in memory Hope this is helpful. - Yarko > > THX

