Saturday, March 22, 2014

Re: submit buttons in django


On Mar 20, 2014 9:19 AM, "Harjot Mann" <harjotmann1992@gmail.com> wrote:
>
> I have a form in my app and after entering data into that form I
> submit that form
but I want an another submit button like "Submit and
> Add Event", so that after clicking on it it can redirect to an another
> form. Please help me that how can I do this?
>
What you exactly wish to do, as you submit the first form, it saves the data to database, you simply need another button, which can redirect to the same form, or to any another form.

But if you need not to submit the data from first form and wishes to redirect the other form then you have to follow another approach.

--
Satinderpal Singh

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BiK19KvBfb5bwpoAr30i1Ww%3DRKmiJGKFzmR2ESOQLyEcXAfpw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment