Hi Rupert,

I had the same issue. I seems the only way to make file upload
optional is to not use this (or any other?) validator.

Steve


On Feb 13, 7:48 am, Rupert Redington <[EMAIL PROTECTED]> wrote:
> 'Lo,
>
> I bet the answer to this will make me kick myself...
>
> I have a form which contains a FileField widget which uses the
> FieldStorageUploadConverter.
>
> I'd like users to have the choice of whether to include a file or not,
> but the FieldStorageUploadConverter raises Invalid() if no file has been
> specified.
>
> Passing not_empty=False to the validator seems to have no effect.
>
> What am I missing?
>
> Cheers,
>
> Rupert


--~--~---------~--~----~------------~-------~--~----~
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