jose schrieb:
> Christopher Arndt wrote:
>>> I expect that validator strips the field before validate it. I tried a 
>>> definition like this one
>>> and I insert some spaces into the field. I supposed validator considered 
>>> it as an empty field, but...
>>>    
>>>
>> ... but? Did it not?
>>
> yes.

Hmm, have to look at the implementation of FancyValidator to see what's
happening there.

>> To be honest, I don't know. I've noticed this effect too, which comes from 
>> the
>> fact that the validator is used as a chained valiadator and as such, 
>> validates
>> the whole form and apparently sets the error message for each field. I have 
>> no
>> idea, how to work around this. Anybody else, maybe?
>>  
>>
> thank you anyway, I solved it thanks to Alberto Valverde.

Would you mind to share the solution with us?

Chris

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to