the createargs, editargs, etc are passed directly to the corresponding SQLFORM as in SQLFORM( **createargs)
If you need to customize the view, intercept the add form inspecting request.args(0) (as in 'new', 'edit', etc....) and there you can do whatever you prefer. On Tuesday, October 9, 2012 11:47:44 PM UTC+2, villas wrote: > > I would like to customize the default Add form. For example I would like > to pass some CSS or JS code. > > I see that there are now createargs, but cannot see how createargs are > exposed in the Add form. > > Might the createargs be useful to me for this purpose? > If so, how do they work? If not, does anyone have other suggestions? > --