I went through some code, and I found some code snippet as follows. Here I see, an array is assigned to name attributes like name="item[] and name="item[{0}]". I think this is an array assigning to add, items values again and again. I am not sure about that since I have not been using this before. Is this an array assignment or how is it used?
This is the first part in which the form displays a field to add items.
<input type="text" class="form-control item" name="item[]" required="required" placeholder=" Item Name">
The JavaScript code is there to add a new field to enter items once Add Another Item button clicks
<script type="text/html" id="addChild">
<input type="text" class="form-control item" name="item[{0}]" required="required" placeholder="Item Name">
</script>
Once the button clicks this above section add a new field to add items.