Hi all,

One question to you GAE experts. I'm using the python version by the
way.

I'd like to create a form in Google App Engine with 2 fields, say A
and B, and the choices of field B is restricted by A.  For example, A
have choices ['a', 'b'], and B have choices ['a-a','a-b','b-c','b-d'].
and if A is selected to be 'a', then the choices for B will only have
['a-a','a-b'], while if A is selected to be 'b', then the choices for
B will only have 'b-c', 'b-d'.

I've tried searching for some possible solutions [1,2,3], and they all
require use of python AND javascripts, where javascripts are used to
filter out the choices of a field (whatever that means... I only have
2 months experience in this GAE/django-like framework, and no
experience in javascripts).

As of now, I am planning to use the method provided in [1], but I was
hoping if there is any other way to implement this sort of dynamically
changing forms without using javascripts?

[1] 
http://bradmontgomery.blogspot.com/2008/11/simple-django-example-with-ajax.html
[2] 
http://www.nerdydork.com/dynamic-filtered-drop-down-choice-fields-with-django.html
[3] 
http://stackoverflow.com/questions/796466/how-to-limit-choice-field-options-based-on-another-choice-field-in-django-admin

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

Reply via email to