title: AutoNumeric Multiple - Append Rows With TextBox On Click Add Button
body: <p>I'm having an issue with <a href="http://autonumeric.org/" rel="nofollow noreferrer">http://autonumeric.org/</a>  plugin.
  When click on add button, it will append a row with some input fields. those fields are integer and decimal fields.
  once row has appended it then it will initialize autonumeric with multiple fields. appended multiple rows with text fields then getting issue with input fields.</p>
  <pre><code> - inputting the value, it's showing multiple textboxes and inputted value showing
   - inputted 5 at third textbox: showing as 555
  
  
      &lt;div class='container'&gt;
    &lt;div class='row mt-4'&gt;
      &lt;div class='col-12'&gt;
        &lt;h3&gt;AutoNumeric Append Text Box with AutoNumeric&lt;/h3&gt;
      &lt;/div&gt;
      &lt;div class='col-12 pl-4'&gt;
        &lt;button type='button' class='btn btn-danger' onclick='doAppendRow()'&gt;Add&lt;/button&gt;
      &lt;/div&gt;
      &lt;div class='col-12' id='dvappend'&gt;&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;```
  
  
      ```var row = 1;
  const autoNumericOptions = {
    allowDecimalPadding: &quot;floats&quot;,
    decimalCharacter: &quot;,&quot;,
    digitGroupSeparator: &quot;&quot;,
    emptyInputBehavior: &quot;zero&quot;,
    decimalPlaces: 2
    // watchExternalChanges: true //!!!
  };
  function doAppendRow() {
    var output =
      &quot;&lt;div class='row' id='row_&quot; +
      row +
      &quot;'&gt;&lt;div class='col-12'&gt;&lt;div class='form-group'&gt;&lt;label&gt;Qty&lt;/label&gt;&lt;input type='text' name='txtqty[]' class='form-control' /&gt;&lt;/div&gt;&lt;div class='form-group'&gt;&lt;label&gt;Amount&lt;/label&gt;&lt;input type='text' name='txtamount[]' class='form-control' /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&quot;;
  
    $(&quot;#dvappend&quot;).append(output);
    new AutoNumeric.multiple(&quot;input[name^=txtqty]&quot;, autoNumericOptions);
    new AutoNumeric.multiple(&quot;input[name^=txtamount]&quot;, autoNumericOptions);
    row++;
  }
  
  
  
  Please help!
  </code></pre>
  <p>CodePen Link: <a href="https://codepen.io/muruganrsm/pen/eYVqqZY" rel="nofollow noreferrer">https://codepen.io/muruganrsm/pen/eYVqqZY</a></p>
  <p><a href="https://i.stack.imgur.com/gD6gA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gD6gA.png" alt="enter image description here" /></a></p>