travisbrown
Technical User
- Dec 31, 2001
- 1,016
I have a form I need to submit as a multipart enctype. Problem is, I'd usually retrieve all the values from a checkbox group as a comma-delimited array. When i use multipart, I only get the first value (using Upload.Form with Persists ASP Upload)
With ASPUpload, after changing the enctype, I only get the first value
Is there a way to collate the values so i can process them with a loop?
The BinaryRead on the post looks like this
Code:
Request.form(“ingredient_id”)
ingredient_id = 2,3,5,8,7,33
Code:
Upload.Form("ingredient_id")
ingredient_id = 2
The BinaryRead on the post looks like this
Code:
7d7d0301065e Content-Disposition: form-data; name="ingredient_id" 1 -----------------------------7d7d0301065e Content-Disposition: form-data; name="ingredient_id" 3 -----------------------------7d7d0301065e Content-Disposition: form-data; name="ingredient_id" 4 -----------------------------7d7d0301065e Content-Disposition: form-data; name="ingredient_id" 8 -----------------------------7d7d0301065e Content-Disposition: form-data; name="ingredient_id" 5 -----------------------------7d7d0301065e Content-Disposition: form-data; name="ingredient_id" 6 -----------------------------7d7d0301065e Content-Disposition: form-data; name="ingredient_id" 7 -----------------------------7d7d0301065e Content-Disposition: form-data; name="ingredient_id" 9 -----------------------------7d7d0301065e Content-Disposition: form-data; name="ingredient_id" 36 -----------------------------7d7d0301065e Content-Disposition: form-data; name="ingredient_id" 85 -----------------------------7d7d0301065e Content-Disposition: form-data; name="ingredient_id" 105 -----------------------------7d7d0301065e Content-Disposition: form-data; name="ingredient_id" 126 -----------------------------7d7d0301065e--