On Tuesday, August 23, 2011 4:52:26 PM UTC-4, mweissen wrote:
>
> Hi Anthony,
> it works! Thank you very much! And I think I can a little bit more 
> understand what form.accepts does.
>
> By the way - "*There's probably a more elegant way to handle this,"  *
> Could you give me a hint about another way?
>  
>
For example, maybe the form could be loaded in a component, and the form 
could then be submitted via Ajax back to the component that generated it. 
See http://web2py.com/book/default/chapter/13#Components. Note, if you need 
to load/reload a component from the client side (e.g., via a user action), 
you can directly call the web2py_component() function via Javascript.
 
Anthony

Reply via email to