On Jun12, 12:47pm, leone <handja...@gmail.com> wrote: > I coded a widget to use with a Field object. > Because I need some javascript actions i wrote pure html-javascript > code that my widget returns. > It runs, but when I accept the form values are in request.vars, but > not in form.vars. > How can i store values in form.vars without using input widgets > defined by  SQLFORM.widgets...? > Thanks in advance > leone
You'd better let your widget derive from the default widgets, or you need to make sure yours contain proper _id and _name etc. See also http://web2py.com/book/default/section/7/5?search=widgets