form action with python script
Hi, 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. I call like this: <form name="form1" action="a_python_script"> but normally a form action calls another page. So, the question is: I'd like to call a python script and, in this script, make a redirect to another page(url). Can I do that?? I hope you can help me :) Sorry if I'm not being clear! Sabrina Araujo.
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 Sabrina 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="form1" action="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 script, make a redirect to another page(url). Can I do that?? S> I hope you can help me :) S> Sorry if I'm not being clear! S> Sabrina Araujo. -- Geir Bækholt web-developer/zopatista geirh@funcom.com funcom oslo | webdev-team <!-- PGPid : 0x90B47B20 -->
participants (2)
-
Geir B�kholt -
Sabrina