Not sure I understand what you're looking for. You just want the values from a series of select boxes? If so, just use the:
request.form("selectbox"
Or are you trying to iterate through a series of select boxes where you're simply putting in a series of records? If this is the case, the code is a little more difficult, but not much so. Please clarify.
you can loop thru the request object and pull out the form item names and value
(form items start at position 1 not 0)
for i=1 to request.form.count
strValue = SI.Request.Form.Item(iCount) 'value
strName = SI.Request.Form.Key(iCount) 'name
...
next
you can loop thru the request object and pull out the form item names and value
(form items start at position 1 not 0)
for iCount=1 to request.form.count
strValue = SI.Request.Form.Item(iCount) 'value
strName = SI.Request.Form.Key(iCount) 'name
...
next
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.