here is my view code:
<table class="form-table" id="customFields">
<tr>
<td>Answer Variants</td>
<td>Right Answer</td>
</tr>
<tr>
<td>
<input type="text" value="" data-role="tagsinput" name="data[Answer][answer_name]" required/>
</td>
<td>
<input type="text" value="" data-role="tagsinput" name="data[Answer][right_answer]" required/>
</td>
</tr>
</table>
here is my js code
$('.taginput').tagsinput();
In this, when i write some value in input and press enter for wrinting section second value, it submits the form. Anyone have solution then please share with me.