is there a way to dynamically create a for like :

liste = ["titi","toto"]

form=FORM("UserName:", INPUT(_name='Username'),
     "Email : ", INPUT(_name='email',_value=user.email),
)

for l in liste :
      form.add("%s : "%l,INPUT(_name="%s"%l))
# and at the end add the submit button :
form.add(INPUT(_type='submit')) 


Reagrds
Bussiere


Reply via email to