...

View Full Version : HTML forms with vb code



velious
02-11-2004, 07:17 PM
A friend of mine who knows some programming told me that in order to make html forms and validate them with vbs, you need to mix the html tags inside the vbs code...or something like that, does anyone know what he was talking about?

...I go to www.w3schools.com for most of my questions but I could not find it so does anyone else have any good links they can recommend.

shmoove
02-12-2004, 09:10 AM
Probably about ASP:


<%
validAccount = someVBSFunctionThatValidatesTheAccount
if validAccount then
%>
<!-- the html for valid accounts goes here -->
<%
else
%>
<!-- the html for invalid accounts goes here
<%
end if
%>

You need to save this as an *.asp page on your server, and the server needs to support asp and vbscript.
Check out the ASP forums for more info.

shmoove



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum