Render a different form
or
Render the body tag with a different class or classes that hide some parts
of your grander form and reveal others
or
Render a script tag setting a value in a variable that your JavaScript uses
to decide how to make the form look.
If you want to control how your
I don't care if the page reloads, how do I change the form?
On Sat, Jul 13, 2013 at 1:19 AM, Babatunde Akinyanmi
wrote:
> I'm assuming you want the form to morph on the screen without a page
> reload. If that's the case, you need JavaScript like jQuery. let the view
> you
I'm assuming you want the form to morph on the screen without a page
reload. If that's the case, you need JavaScript like jQuery. let the view
you are submitting your POST to return the data you need in JSON and use
jQuery to remove the form and add the results or url
Sent from my Windows Phone
The code works, I can submit the form and go back to the page I came from
with the HTTP_REFERER , what I need help is getting the form to change, to
be the results.
For the syntax highlighting I submit my code to bpaste and then copy into
the message here.
On Fri, Jul 12, 2013 at 10:43 AM,
Hello Cody,
I would like to help.
1 ) could you please check if POST is going from your browser to django
(I hope yes)
2) First candidate for investigation is function post in
class PollFormMixin
I 'm proposing verify this by adding
print "form status", form.is_valid()
after string
5 matches
Mail list logo