PoppapumpJ
Programmer
OK, my first page asks for the number of items in a package.
The next page dynamically builds title and description input boxes for the number of items.
on The next page, I want to validate that they are not empty. Is there a way to dynamically generate the ASP.
Example
_________________________________________
iCounter = 1
While iCounter <= cInt(Request.Form("NumOfItems")
if Request.Form("ItemTitle" & iCounter) = "" then
Response.Write "You must input a Title"
Response.End
end if
iCounter = iCounter + 1
WEnd
___________________________________________________
I guess the problem is that there needs to be a " after iCounter.
anybody got any suggestions?
Thanks
The next page dynamically builds title and description input boxes for the number of items.
on The next page, I want to validate that they are not empty. Is there a way to dynamically generate the ASP.
Example
_________________________________________
iCounter = 1
While iCounter <= cInt(Request.Form("NumOfItems")
if Request.Form("ItemTitle" & iCounter) = "" then
Response.Write "You must input a Title"
Response.End
end if
iCounter = iCounter + 1
WEnd
___________________________________________________
I guess the problem is that there needs to be a " after iCounter.
anybody got any suggestions?
Thanks