unfortunally, it does trigger. I have an input and a button. The button is "?" and the input is my submit form button
On Thursday, September 28, 2017 at 9:19:01 PM UTC-3, Vijay Khemlani wrote: > > 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] <javascript:>> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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/68b2dc94-8026-4bc9-b1f3-f636d76713b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

