Do more with
dim fieldCount as integer = 0
For Each key As String In Request.Form.AllKeys
if key = "field" then fieldCount= fieldCount+1
Next
For each form control in someContainer
If control type is input Then
if control.uniqueID ends with 'field' Then
controlCount += 1
End if
End If
End For
Premium Content
You need an Expert Office subscription to comment.Start Free Trial