You either have an multi select select item in the form or then you need to make as many field as the is e-mail addresses.

Either:
form.factory(
Field('addresses', requires = IS_IN_SET=[[u'John Doe', u'john_...@gmail.com'], [u'Mary Doe', u'mary_...@gmail.com']]))

form.factory(
    Field('address1',
    Field('address2',
and so on.


Kenneth

My values are not in a database but in a list:

[[u'John Doe', u'john_...@gmail.com'], [u'Mary Doe', u'mary_...@gmail.com']]

how to get them from there?

I want names to show up next to the check boxes, when selected to know which email address is corresponding in order to send a message to this email address.

Reply via email to