Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jun 2003
    Location
    California
    Posts
    231
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question HTML forms with vb code

    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.

  • #2
    Regular Coder
    Join Date
    Dec 2003
    Posts
    367
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Probably about ASP:
    Code:
    <%
      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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •