Yes, I couldn't see why createargs exists. Why not add a few args onto the url, I thought. However, I experienced some trouble with that because the code counts the args backwards, e.g. 'new' is not request.args(0) but request.args(-2)
Anyhow, I think I'm understanding things a little better now. Thanks. On Wednesday, October 10, 2012 12:10:40 AM UTC+1, Niphlod wrote: > > 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? >> > --

