I wonder whether you could do something like this:

input random
answers = range(1,5)
random.shuffle(answers)
inputlist = CAT()
for a in answers:
    inputlist.append(TR(x['answer{0}'.format(a)],INPUT(_type="radio", _name=
"operation", _value='answer{0}'.format(a))))
form = FORM(TABLE(inputlist))



-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to