i have this simple snippet inside a PHP Foreach statement:
<div class="modal fade" id="modale-articoli2-<?= $ordine->id; ?>" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Ordine # <?= $ordine->id; ?></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<h6>Acquirente : <span class="font-weight-bold"><?= $ordine->acquirente; ?></span></h6>
<hr>
<form method="" action=""><input type="text" name="form-test" id="form-input"/><button type="submit">Send</button></form>
</div>
<div class="modal-footer">
<h5><?= $totale; ?> <small> €</small></h5>
</div>
</div>
</div>
</div>
In the dev tab inside Chrome it is shown as
<form method="" action=""></form>
<input type="text" name="prova" id="form-name">
<button type="submit">send</button>
What could be the cause?