ok so have this snippet of code -
<form id="myform" name="myform" action="." method="post">
<a href="javascript: document.forms['myform'].submit();" name="myform">Submit
</a>
</form>
i am submitting a form using an href and some javascript to my django server. on the server i check the post request using the following code -
if 'myform' in request.POST:
'''handle the form submition'''
return True
return False
this returns false. any ideas why?