Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Arrays
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 28 October 2001 :  15:50:35  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Ok, the below is an array, that verifies that a string is not empty - I have double and triple checked the variable names versus the array entries, and they are all ok, all of the form data IS submitted, yet it is still returning true - any help?


Dim t_validate1(8)
t_validate1(0) = Trim(t_sitename)
t_validate1(1) = Trim(t_siteurl)
t_validate1(2) = Trim(t_imageurl)
t_validate1(3) = Trim(t_yname)
t_validate1(4) = Trim(t_email)
t_validate1(5) = Trim(t_desc)
t_validate1(6) = Trim(t_pass1)
t_validate1(7) = Trim(t_pass2)
Dim I

For I=0 to 8
if t_validate1(I) = "" then
t_error = "true"
end if
Next


---------------
Da_Stimulator has spoken

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 28 October 2001 :  16:04:37  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
nevermind, the For I=0 to 8 should be For I=0 to 7

---------------
Da_Stimulator has spoken
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.28 seconds. Powered By: Snitz Forums 2000 Version 3.4.07