以下のフォームを作成しました。ユーザーがフィールドの数、たとえば6を入力すると、下のテーブルに6行あるようにすることは可能ですか? 送信ボタンなしで(このアクションのトリガーがテキスト入力ボックスから出るように)作成できれば素晴らしいと思います。
このフォームの html コードは次のとおりです。
<fieldset>
<legend>Student Information</legend>
Number of fields: <input type="text"><br />
Total number of characters: <input type="text">
<br>
<br>
<table border="1">
<th></th>
<th>field</th>
<th>number of characters</th>
<tr>
<td>1</td>
<td><input type="text"></td>
<td><input type="text"></td>
</tr>
<tr>
<td>2</td>
<td><input type="text"></td>
<td><input type="text"></td>
</tr>
</table>
</fieldset>
これが不可能な場合 (送信ボタンなし)、どの方法で同じ結果を達成しますか? 助けや提案をありがとう。