Yeah thanks, I guess I wasn't clear. I realize I don't have access to
cleaned_data but I want to validate my url the same way as django does
by default on a form - any pointers on how to accomplish that?

Also how do I access the form submission if not through
cleaned_data.get?



On Sep 30, 10:49 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On Wednesday 01 October 2008 01:35:55 am Merrick wrote:
>
> > All is not lost if a user enters an invalid code I still want to do
> > something with just the url, but I cannot get
> > form.cleaned_data.get('url'). Any ideas how to get the url inputted
> > and to clean it inside the ValueError branch of code above
>
> cleaned_data only gets produced if is_valid is true - so if you want
> cleaned_data, do validation on the code after that.
>
> --
> regards
> KGhttp://lawgon.livejournal.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to