Hello, Is there an easy way to add a filter function to specific fields defined in a newforms Form? I have some large forms with lots of textareas. I am using tinymce to add some basic formatting capabilities to the textareas, and I need to use a filter function to "sanitize" the value of the textarea in case the users just copy-paste some content there from a website / Word doc ( they always do that for some reason... )
Anyway, currently I see 2 solutions: 1. The longer way is to use the filter in the clean_ functions - tedious job... 2. Create a custom TextArea widget and implement the cleaning feature there I think I wills tick with option #2 but maybe I missed some undocumented attribute / function somewhere. Thanks, Roodie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---