That worked great!
session.languages = self.request.get_all('language')
Database model defines column:
languages = db.StringListProperty() #stores multiple
languages
Now - I have the data stored, and I want to display it back on the
form (the form is spread across 5 pages, and the user can move
backward and forward between the 5 pages). I have stored the data in
a "Session" table and using Session objects to tie it together.
The list of languages might contain for example: English, Spanish,
French.
The form needs to set the checkboxes as "checked" if the appropriate
language is in my list, something like this:
<img src="
http://3wcloud.com/images/flags/english.jpg">
<input type="checkbox" name="language" value="English" />
{% ifequal Session.languages 'English' %}
checked
{% endifequal %}
>English<br />
In the above, the keyword "ifequal" will do the job.
Is there some keyword like "iflistcontains"? Do I have to do a
forloop and test myself?
Thanks,
Neal Walters