I am looping through the request.form collection to collect the data the user has entered. This data is then validated.
However, if there is a select (listbox) element, which hasn't been changed from the default "please select" (no value), it does not appear in the collection. Part of the validation is to make sure all these select elements have been selected.
Is this behaviour by design? Any idea's how I can get around this.
'Loop through form elements and save data into session
For Each Item in Request.Form
ItemValue = Request.Form(Item)
Session(Item) = ItemValue