title: Second tab not showing in form boostrap
body: <p>This my code
  I have a form with bootstrap and 2 tabs, when I display the form shows the first tab, but when I click on the second tab nothing happens.<br>
  I dont know what I missing.......................................<br>
  ...............................................................<br></p>
  <pre><code>&lt;div class=&quot;container&quot; style=&quot;margin-top:70px&quot;&gt;
   &lt;div class =&quot;card bg-light col-8&quot;&gt;
    &lt;div class=&quot;card-header&quot;&gt;
      &lt;ul class=&quot;nav nav-tabs card-header-tabs pull-left&quot;&gt;
        &lt;li class=&quot;nav-item&quot;&gt;
          &lt;a class=&quot;nav-link active&quot; href=&quot;#contactos&quot;&gt;Contactos&lt;/a&gt;
        &lt;/li&gt;
        &lt;li class=&quot;nav-item&quot;&gt;
          &lt;a class=&quot;nav-link&quot; href=&quot;#domicilio&quot;&gt;Domicilio&lt;/a&gt;
        &lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;
    &lt;form action=&quot;&lt;?php echo htmlspecialchars($_SERVER[&quot;PHP_SELF&quot;]).&quot;?opc=&quot;.$opc.&quot;&amp;id=&quot;.$id;?&gt;&quot; method=&quot;post&quot; id =&quot;formulario&quot; class=&quot;tab-content&quot;&gt;
    &lt;div class=&quot;tab-pane fade show active&quot; id=&quot;contactos&quot;&gt;  
     &lt;div class=&quot;form-row&quot; &gt; &lt;!--linea1--&gt;
      &lt;div class=&quot;col-3&quot;&gt;
        &lt;div class=&quot;form-group&quot;&gt;
          &lt;label for=&quot;text1&quot;&gt;ID&lt;/label&gt; 
          &lt;input id=&quot;text1&quot; name=&quot;text1&quot; type=&quot;text&quot; class=&quot;form-control&quot; value=&quot;&lt;?php echo $campo1?&gt;&quot; readonly&gt;
        &lt;/div&gt;
      &lt;/div&gt;
     &lt;/div&gt; &lt;!--linea1--&gt;
    &lt;/div&gt; &lt;!--tab contacto--&gt;
  
    &lt;div class=&quot;tab-pane fade&quot; id=&quot;domicilio&quot;&gt;
     &lt;div class=&quot;form-row&quot; &gt; &lt;!--linea5--&gt;
      &lt;div class=&quot;col&quot;&gt;  
        &lt;div class=&quot;form-group&quot;&gt;
          &lt;label for=&quot;text11&quot;&gt;Calle&lt;/label&gt; 
          &lt;input id=&quot;text11&quot; name=&quot;text11&quot; type=&quot;text&quot; class=&quot;form-control&quot; value=&quot;&lt;?php echo $campo11?&gt;&quot; required &lt;?php if ($opc == 'C'){echo &quot;readonly&quot;;}?&gt;&gt;
          &lt;span class=&quot;error&quot;&gt;&lt;?php echo $error_text11;?&gt;&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt; &lt;!--linea5--&gt;
   &lt;/div&gt; &lt;!--tab domicilio--&gt;
     &lt;div class=&quot;form-row&quot;&gt; &lt;!--linea9--&gt;
      &lt;div class=&quot;col-6&quot;&gt;
        &lt;div class=&quot;form-group&quot;&gt;
          &lt;a href=&quot;contactos.php&quot; id=&quot;cancel&quot; name=&quot;cancel&quot; class=&quot;btn btn-primary&quot;&gt;Cancelar&lt;/a&gt;
          &lt;button name=&quot;submit&quot; type=&quot;submit&quot; class=&quot;btn btn-primary&quot;&gt;Confirmar&lt;/button&gt;
        &lt;/div&gt;
      &lt;/div&gt;
     &lt;/div&gt; &lt;!--linea9--&gt;
    &lt;/form&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>