passing parameters on a link

B

Brian Burgess

Hi all,

Is there a way to pass the value of an element to a link? Like this:

<a href="reset.asp?login={elementName}">Reset?</a>

where {elementName} is the name of an element in the same form as the
link...


Thanks in advance ..

-BB
 
J

Jim Buyens

-----Original Message-----
Hi all,

Is there a way to pass the value of an element to a
link? Like this:

<a href="reset.asp?login={elementName}">Reset?</a>

where {elementName} is the name of an element in the same
form as thelink...

Sure, just right-click the form, choose Form Properties,
and select Send To Other: Custom ISAPI, NDSAPI, CGI, or
ASP Script.

Then, click Options, specify an Action of reset.asp, and
specify a Method of GET.

When the visitor clicks Submit, the browser will assemble
the Action URL plus a name=value pair for each form field
that contains data.

Jim Buyens
Microsoft FrontPage MVP
[email protected]
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
Top