5👍
✅
Could you explain what exactly you mean by “Django accepts and works with form button in format”? As far as I know the difference in the behaviour of <input type="submit" .../>
and <button type="button">...
has nothing to do with Django. Django does not care how a form is submitted from the browser.
This previously posted question might be of interest.
1👍
Add the following to the button to submit the form: (“myform” is the id of your form)
onClick=”javascript.document.myform.submit();”
Source:stackexchange.com