Hi, reading this: "Pre-populating the form It is always possible to pre-populate a form using the syntax:
form.vars.name = 'fieldvalue'......" I'm trying this: {{=form.custom.begin}} {{form.vars.f_org_member= auth.user.id}} <div>{{=form.custom.widget.f_org_rep}}</div> <div>{{=form.custom.widget.f_org_member}}</div> <div>{{=form.custom.submit}}<div> <div>{{=form.custom.end}}</div> but it's not doing what I thought it should do, replace the list of users with just the current one which should pick an organization. ( this field should be hidden bty). Any help? Thanks. -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.