Hi everybody!!!

How could I make an auto submit with a dropdown???

I have this:


 def index():

form =
SQLFORM.factory(Field("project",label="Project",requires=IS_IN_DB(db(db.project.id>0),'project.id','project.name',error_message="Please
pick a project from the list")))
    if FORM.accepts(form,request.vars, keepvalues=True):
#populate powertable

   return dict(form=form)


So with that I have a dropdown and a submit button, I need to submit
the selected value from dropdown when a user changes it. How could I
do this?? I'm thinking about javascript with the event OnChange but
how could I use it??


Thanks!

Reply via email to