Does the Asp.Net Request.Form offer any way to see the difference between
<form method="post">
<input type="hidden" name="field" value="a" />
<input type="hidden" name="field" value="a" />
<input type="hidden" name="field" value="a" />
</form>
and
<form method="post">
<input type="hidden" name="field" value="a,a,a" />
</form>
For example is there a way to count how many fields with name="field" have been submitted?
(in Classic ASP that is possible, but I can not find a way to do it in Asp.Net)
you can go trough Request.Form.AllKeys list and see if there multiple "field" keys found.
Open in new window