Jump to content

using information from a form in vbscripting


zob
 Share

Recommended Posts

if you are using vbscript from within an asp page it is very simple:

<% nameGoesHere = request("nameGoesHere") response.write nameGoesHere &"<br />"%><form>    <input type=text name="nameGoesHere">    <input type=submit value="Submit"></form>

If you are going to stay in html things get a little trickier:

<script language="vbscript"><!--document.write(location.search)--></script>

The above example brings back the entire querystring. To find specific values of variables you would have to cut it up using functions like split,replace,mid etc.

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...