[Answered ]-Send table contents in a form on submit through request.POST in django

2πŸ‘

βœ…

<td is not part of the form, it’s for the styling. When submitting a form the fields in it will be submitted, nothing else. You can use hidden inputs if you want <input type="hidden" name="test" value="2"> will not be visible but submitted.

Try reading a bit about how forms works in HTML.

If you really want it in this way you can it to work with JavaScript instead.

πŸ‘€olofom

Leave a comment