An input with type "button" instead of "submit" should not trigger the form
submit.

On Thu, Sep 28, 2017 at 7:56 PM, fábio andrews rocha marques <
[email protected]> wrote:

> In my template, I have a form. This form has a lot of textfields and a
> submit button. There's another button, lets name it "?", that displays a
> popup window whenever it's clicked.
> I want the "?" button to be on the right side of one of the textfields on
> my form. The problem is: since the form has an action associated with it,
> if i put the button inside the form, whenever the user clicks on it, the
> system computes it's action as if the submit button was clicked too... I
> don't want this to happen.
>
> How can i position my "?" button to the right of a component which is
> inside a <form> even though my "?" button is outside the <form>?
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/96716dc0-19d9-46e0-9c04-f0e644c57b8c%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/96716dc0-19d9-46e0-9c04-f0e644c57b8c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALn3ei3wRdXsV6soirEjqUa7EURQx2w-1XK%3DWdOh1QE%3DhS%2BXFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to