Trovato l'inghippo...
avevo scritto

<table>
<form>
...
</form>
</table>

invece il form doveva essere più esterno rispetto alla tabella