Hi,
I have a web2py app that sits as a WSGI application within a Wordpress site.
All works well, but I need to have a form in the WP home page that
submits to an (essentially identical) SQLFORM within the web2py app, and
displays its errors as if submitted on the web2py page as opposed to the
WordPress version.
At the moment, the form submits, and I can see all the values in the
request (including "_formname", but excluding "_formkey" of course), but
is not processed.
Is there a straightforward and safe way to accept input from this
external form on the home page and have it processed in the normal way,
or am I better off scripting the input with validate_and_insert using
the post_vars, and if necessary writing the errors out to form.errors so
that they are displayed in the webb2py version?
--
Regards,
PhilK
'a bell is a cup...until it is struck'
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.