title: Add multiple fields to form
body: <p>I would like to add a function that generates multiple fields to my form.</p>
  
  <p>This is how my form looks like: </p>
  
  <pre><code>&lt;form action="form_sent.php" method="post"&gt;
      &lt;input name="name" type="text" placeholder="Name"&gt;&lt;br&gt;
     &lt;input name="phone" type="text" placeholder="Phone"&gt;&lt;br&gt;
     &lt;input name="email" type="text" placeholder="E-Mail"&gt;&lt;br&gt;&lt;br&gt;
     &lt;button&gt;Add more fields&lt;/button&gt;&lt;br&gt;&lt;br&gt;
     &lt;input type="submit"&gt;   
  &lt;/form&gt;
  </code></pre>
  
  <p>In my case I want 3 new fields (name, phone, email) when clicking on "Add more fields".</p>
  
  <p>How can I do this?</p>
  
  <p><a href="https://jsfiddle.net/374cxt5s/" rel="noreferrer">https://jsfiddle.net/374cxt5s/</a></p>