Maybe try: 'mygroup%s' % mygroup_id

Does SQLFORM.factory return a form.vars.id? I thought only happened when 
there was a DB insert?

Reply via email to