[Zope] form action with python script

Geir Bækholt Geir Bækholt <geirh@funcom.com>
Mon, 6 Aug 2001 14:14:55 +0200


Yes, you can use a python script as the action of the form and do
calculations there.

do the redirect-thing with:
context.REQUEST.RESPONSE.redirect(url)


on or about, Monday, August 06, 2001, we have reason to believe that Sabrin=
a wrote something along the lines of :
S> Hi,

S> I'm working with a Python Script in Zope but I'm having some problems. I=
'm trying to call a python script in a "form action" because I have to make=
 some calculations with some values of this form.
S> I call like this: <form name=3D"form1" action=3D"a_python_script">
S> but normally a form action calls another page.
S> So, the question is: I'd like to call a python script and, in this scrip=
t, make a redirect to another page(url). Can I do that=3F=3F

S> I hope you can help me :)
S> Sorry if I'm not being clear!

S> Sabrina Araujo.


--=20
Geir B=E6kholt                   web-developer/zopatista
geirh@funcom.com             funcom oslo | webdev-team

            <!-- PGPid : 0x90B47B20 -->