Thank you, that worked. I didn't realize I just had to access it like that.
I changed form.explanation = sanitizeHtml(form.explanation) to form.cleaned_data['explanation'] = sanitizeHtml(form.cleaned_data['explanation']) I don't know if that's the best way to do it but seems to work. On Feb 12, 10:05 am, Shawn Milochik <sh...@milochik.com> wrote: > What are you trying to do? > > If you just want access to the value passed in, try accessing > form.cleaned_data['explanation']. > > The field objects are not directly accessible via form_name.field_name > -- they're in form.fields, like > form_name.fields['explanation']. > > Shawn -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.