Jump to content

using information from a form in vbscripting


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 post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...