HOW TO: Pass a Hidden Value from One Page to Another in FrontPage 2000 (265189)
The information in this article applies to:
This article was previously published under Q265189 SUMMARY
This article describes how use Microsoft FrontPage 2000 to pass a hidden value from one page in a web and then use that value to query another page in the web.
back to the top
Pass a Hidden Value
To pass a hidden value from one page in a web and then use that value to query another page, follow these steps:
- Open the file that contains the form from which the hidden value must be passed.
- Right-click the form, and then click Form Properties.
- In the Form Properties dialog box, click Advanced.
- In the Advanced Form Properties dialog box, click Add.
- In the Name/Value Pair dialog box, type the name of the field that needs to be passed in the Name box.
-
If the first form uses the POST method, type the following data in the Value box:
<% = request("field_name") %>
-or-
If the first form uses the GET method, type the following data in the Value box: <% = request.querystring("field_name") %>
The resulting Hypertext Markup Language (HTML) is a hidden tag that looks like one of the following:
- <input type="hidden" name="form_field" value="<% =request("form_field") %>">
- <input type="hidden" name="form_field" value="<%
=request.querystring("form_field") %>">
back to the top
Modification Type: | Major | Last Reviewed: | 10/27/2002 |
---|
Keywords: | kbhowto kbHOWTOmaster KB265189 |
---|
|