Hi,
I have this forms contortion where a default value in the form varies
based on the initial use choice, and I'm looking to see what's the
sanest way to support it in django. It goes like this:
User on any page can from a selection state a type of feedback ("this
page", "this site", "other", whatever) and hit a go button. That POSTs
to the view which then primes the feedback form template with the page
URL they came from, if appropriate.
So after catching the source URL off the POST request, and before
forwarding to the template, I seem to have two choices:
- write the link into the FormWrapper/AddManipulator configuration's
data.
- pass the link along as another param to the template
Is there any support for the former way (had a look, no mutators jumped
out at me) or should I just send the link param along?
cheers
Bill
* I know this is prime ajax territory, to submit 1-5 stars "in page",
but there are specific reasons why I can't use that stuff here and have
to jump page (namely AAA :).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users
-~----------~----~----~----~------~----~------~--~---