Note that there are some explanatory texts on larger screens.

plurals
  1. POIE8 won`t submit on enter when you have multiple forms
    primarykey
    data
    text
    <p>if you have 3 forms (shown below) and you set two of forms to not to display (display:none;) and you use javascript to toggle through each form, the forms that were set to hidden, when you set them to visible and you try to submit a form by pressing enter, it won`t submit. </p> <p>the only form that will submit if the first form that is visible by default.</p> <p>this works in ie7 and ie6, but not ie8 (go figure)</p> <p>i am using jquery to hide and show my forms, but this should not be an issue. i have as well tried using different css rules (like visibility:hidden) and still the same problem;</p> <pre><code>&lt;a href="" onclick="$('#form1').show();$('#form2').hide();$('#form3').hide();"&gt;form1&lt;/a&gt; &lt;a href="" onclick="$('#form1').hide();$('#form2').show();$('#form3').hide();"&gt;form2&lt;/a&gt; &lt;a href="" onclick="$('#form1').hide();$('#form2').show();$('#form3').hide();"&gt;form3&lt;/a&gt; &lt;div id="form1"&gt; &lt;form method="get" action="test1/" &gt; &lt;input type="text" name="text1" id="text1" /&gt; &lt;input type="text" name="text2" id="text2" /&gt; &lt;input type="text" name="text3" id="text3" /&gt; &lt;input type="submit" name="submit1" value="submit1"/&gt; &lt;/form&gt; &lt;/div&gt; &lt;div id="form2" &gt; &lt;form method="get" action="test2/" style="display:none" &gt; &lt;input type="text" name="text4" id="text4" /&gt; &lt;input type="text" name="text5" id="text5" /&gt; &lt;input type="text" name="text6" id="text6" /&gt; &lt;input type="submit" name="submit2" value="submit2"/&gt; &lt;/form&gt; &lt;/div&gt; &lt;div id="form3" &gt; &lt;form method="get" action="test3/" style="display:none" &gt; &lt;input type="text" name="text7" id="text7" /&gt; &lt;input type="text" name="text8" id="text8" /&gt; &lt;input type="text" name="text9" id="text9" /&gt; &lt;input type="submit" name="submit3" value="submit3"/&gt; &lt;/form&gt; &lt;/div&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload