Exactly what I was wondering! Thank you! Is there a way to add extra arguments to be stored in Field without extending it? This is so that I can append extra formatting. I suppose I can also do this using lambda functions.
On Friday, July 5, 2013 11:29:23 PM UTC-4, Anthony wrote: > > Yes, you can create a completely custom formstyle (everything that goes > inside the <form> element) by specifying the "formstyle" argument as a > callable. Here is an example of the formstyle function for the "bootstrap" > formstyle: > https://code.google.com/p/web2py/source/browse/gluon/sqlhtml.py#763. > > Anthony > > On Friday, July 5, 2013 8:32:02 PM UTC-4, Mark Finkelstein wrote: >> >> formstyles are great and all, but I was wondering if it was possible to >> create a custom formstyle without waiting until the form is generated and >> then setting necessary changes with elements or using custom form styling. > > -- --- 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/groups/opt_out.

