Print Page | Close Window

How to? Prefilled form when clicking link

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=2989
Printed Date: 29 March 2026 at 6:27pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: How to? Prefilled form when clicking link
Posted By: oneminuteguy
Subject: How to? Prefilled form when clicking link
Date Posted: 24 May 2003 at 3:44am
I need to create a function which does this: When you click on a link a prefilled form appears

It's to be used for signing up for different activities, like this:

Sign up for Activity 1
Sign up for Activity 2

Sign up for Activity 3

When you click on 'Sign up for Activity 1' a prefilled form would appear containing the info on activity 1. And since I don't want to make a form for each activity, I'm turning to the asp wizards here.

Being an asp noob, I hope someone can point me in the right direction. Any help appreciated.

Regards,
OMG



Replies:
Posted By: michael
Date Posted: 24 May 2003 at 8:33am

WEll if you do that with links you can always add a query string with something like <a href = "form.asp?activity=blabla&.....">Sign up for Activity 1</a>
Then on form.asp a form field could look like <input type="text" value="<%Request.QueryString("activity")%>">

and so on for any filed.



-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net