If you're using Webapp, you can retrieve these parameters like so:

    def post(self):
      name = self.request.POST["form[name]"]
      sex = self.request.POST["form[sex]"]

Other frameworks such as Django have Form abstractions for dealing with form
input that will also provide helpers for things such as data validation.

On Fri, Nov 20, 2009 at 10:07 AM, Tomiwa Adefokun <[email protected]
> wrote:

> Good evening,
>
> I am Tomiwa from Nigeria. I have been working with appengine for a
> couple of weeks, on the python platform and I need to get something
> done hope you could help.
>
> If I have a form input element such as:
>
> <input name="form[name]" />
> <input name="form[sex]" />
>
> How can I read this into a dictionary such as form = {'name': '',
> 'sex': ''} and then be able to have form['name'] and form['sex']
>
> Such can be done in PHP by just using $_form = $_POST['form'].
>
> I will be so happy to hear from you.
>
> Thank you.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=.
>
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=.


Reply via email to