Cool. I did not know about it. On Friday, 27 June 2014 16:32:19 UTC-5, Manuele wrote: > > Il 27/06/14 11:25, Shubham Jain ha scritto: > > I want to create a database table every time a form is submitted. The > > table name would be a data from a the field of form submitted. > > I tried to create the table by writing the db.define_table(....) code > > in the function in which the form is created (by SQLFORM), under the > > condition if form.process().accepted: > > But in this the form is getting submitted but table is not created. > > Please help me over this ? > http://www.web2pyslices.com/slice/show/1491/plugin-lookout > that's how I did it... I suggest you not to use a table for take care of > fields but a field of type list:string inside the meta-table in which > save json strings. > > hope to be of any help > > Cheers > > Manuele >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

