Actually, that block prevents the query from running when the page loads.
On Nov 16, 2010, at 8:58 , Kostas M wrote: > It seems I don't understand what is the problem. Isn't the intended > action the form to have errors if nothing is selected? > This is checked with the: if form.accepts(request.vars, session): ... > >> My app throws an error if you click the submit button without selecting an >> item from the list in the form. >> >> I have tried adding 'zero=T('Choose one')', both with and without adding the >> string 'Choose one' to the list 'options'. What would the best way to >> validate this be? -- Lorin Rivers Mosasaur: Killer Technical Marketing <http://www.mosasaur.com> <mailto:lriv...@mosasaur.com> 512/203.3198 (m)