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:
| 1. | Open the file that contains the form from which the hidden value must be passed. |
| 2. | Right-click the form, and then click Form Properties. |
| 3. | In the Form Properties dialog box, click Advanced. |
| 4. | In the Advanced Form Properties dialog box, click Add. |
| 5. | In the Name/Value Pair dialog box, type the name of the field that needs to be passed in the Name box. |
| 6. |
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