[Javascript] what is the maximum for a drop down box...I stuff it with 4418 it ems

Scott.Wiseman swiseman at remax-cahi.com
Fri Dec 21 17:57:43 CST 2001


and I can't do a request.form("thebox")

I get an error

testing 2 before myArray Split
error '80020009' 

<%
	DIM ux,xinfo(),emailname(),emailaddress(),myArray
	
response.write "<BR>testing one before the request.form check<BR>"	
'---------------------------------------------------------
'  Test if we have Emails to Send from the Drop Down Box
'---------------------------------------------------------
'    response.write Request.Form("emailslistnames")
    
'	if len(Request.Form("emailslistnames"))>3 then
'---------------------------------------------------------
'  Break Down the Drop Down Box into an Array
'---------------------------------------------------------

  			response.write "<BR>testing 2 before myArray
Split<BR>"	
 
			myArray =
Split(Request.form("emailslistnames"),",",-1)
			
 			response.write "<BR>testing 2<BR>"	
 			
			ux= ubound(myArray)
		   redim xinfo(ux)
		   redim emailaddress(ux)
		   redim emailname(ux)		   
			response.write "<BR>testing 3<BR>"	
			
			for x= lbound(myArray) to ubound(myArray)
	
				xinfo(x) = myArray(x)

			emailname(x)		=  RTrim ( replace ( left(
xinfo(x), instr(xinfo(x),":") ) , ":","") )
			
			emailaddress(x) 	= RTRIM ( Ltrim ( Mid(
xinfo(x), instr(xinfo(x),":") + 1 ) ) )

				
				
			NEXT
'	else
		response.write "error accessing this page...not email
address were sent!!!!"
		response.end		

'	end if	
response.write "<BR>testing 4<BR>"	
	
%>	

<%



More information about the Javascript mailing list