I have a form, SQLFORM.smartgrid (add new record page), containing a drop-down-list connected to a table in the database.
It may be the user does not find a suitable item in the list and in this case I would like to allow the option of adding a new item. Seems like this might be a common requirement so I thought I would seek advice/suggestions before trying to reinvent the wheel. I am a bit conservative so don't really want to get into anything too messy. Currently I have a link next to the drop-down pointing to another page where the user can add a new item and be automatically redirected back. This works but you lose any other fields data already filled in and have to start again. Something less clunky would be nice. -- 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/d/optout.