Re: Problems with Django Form Processing

2012-02-06 Thread Jason
Your numerical values might be considered strings for that comparison. Try: if int(p) > 2: ... On Jan 16, 11:05 pm, zhyr28 wrote: > Hi all, I want to develop a survey app that has ten radio selects. > After people submit the survey, the data will be processing and then > output the result. I met

Problems with Django Form Processing

2012-01-27 Thread zhyr28
Hi all, I want to develop a survey app that has ten radio selects. After people submit the survey, the data will be processing and then output the result. I met a problem when I was trying to process the data from the form. Here is the code: forms.py: contains the survey questions. QUESTION_ONE= (