Hi, i have a large form of data. I think the best way to check this form is to submit the page to another "handling" page. The form has over 20 fields on it. Do i have to go through each field saying:
If Len(strUsername) = 0 then
response.redirect "previous_page?errorcode="
end If
..for each of the 20 fields, as well as checking that passwords match. I've tried using For each Item in Request.Form but it returns them in a strange order and doesn't handle checkboxes easily. Any ideas anyone?
Also is there any better way of displaying an error message to user other than using the Querystring? I CANNOT use Javascript for any checking!!!
Also how will i store extra info that is present on the first page if i have to redirect? How do i set a global that doesn't change but can be passed from page to page? I CANNOT use any SESSION variables either!
Thanks
A
If Len(strUsername) = 0 then
response.redirect "previous_page?errorcode="
end If
..for each of the 20 fields, as well as checking that passwords match. I've tried using For each Item in Request.Form but it returns them in a strange order and doesn't handle checkboxes easily. Any ideas anyone?
Also is there any better way of displaying an error message to user other than using the Querystring? I CANNOT use Javascript for any checking!!!
Also how will i store extra info that is present on the first page if i have to redirect? How do i set a global that doesn't change but can be passed from page to page? I CANNOT use any SESSION variables either!
Thanks
A