Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 505

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Accessing and Using Data
<html>
<head>
<title>Searching a collection</title>
</head>
<body>
<h2>Searching a collection</h2>
<form method="post" action="collection_db_results.cfm">
<p>Collection name: <input type="text" name="collname" size="30" maxLength="30"></p>
<p>Enter search term(s) in the box below. You can use AND, OR, NOT,
and parentheses. Surround an exact phrase with quotation marks.</p>
<p><input type="text" name="criteria" size="50" maxLength="50">
</p>
<p><input type="submit" value="Search"></p>
</form>
</body>
</html>
Save the file as collection_db_search_form.cfm in the myapps directory under the web_root.
2
This file is like collection_search_form.cfm, except the form uses collection_db_results.cfm, which you create in
the next step, as its action page.
Create another ColdFusion page with the following content:
3
Last updated 1/20/2012
500

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents