"jerojasro" <[EMAIL PROTECTED]> writes:

> w.MultipleSelectField(name="opt",label="Options",size=5,options=[(i,str(i))
> for i in range(5) ],validator=v.Int(not_empty=True,if_empty=-45))

You can't say "not_empty" and "if_empty" at the same time.  There's no sense
in that.  From the above I presume you'd like to have just "if_empty", so that
this becomes a default value.


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to