MACROMEDIA COLDFUSION 5 - INSTALING AND CONFIGURING SERVER Manuel d'instructions Page 82

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 154
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 81
72 Lesson 2 Writing Your First ColdFusion Application
<td>
<select name="departureOperator">
<option value="EQUALS">is
<option value="BEFORE">before
<option value="AFTER">after
</select>
</td>
<td>
<input type="text" name="departureValue">
</td>
</tr>
<!--- Field: price --->
<tr>
<td>Price
</td>
<td>
<select name="priceOperator">
<option value="EQUAL">is
<option value="GREATER">greater than
<option value="SMALLER">smaller than
</select>
</td>
<td>
<input type="text" name="priceValue">
</td>
</tr>
</table>
<p>
<input type="submit" value="Search">
</form>
</body>
</html>
Reviewing the code
The following table describes the search criteria code and its function:
Code Explanation
<form action="tripsearchresult.cfm" method="post">
Identifies tripsearchresult.cfm as the
search action page. Results of user
entry are passed to the search action
page.
<select name="tripLocationOperator">
<option value="EQUALS">is
<option value="BEGINS_WITH">begins with
</select>
Builds a drop-down list offering the
query operators for tripLocation.
There must one operator list box for
each queryable column.
<input type="text" name="tripLocationValue">
Input text control to capture value to
test. There is one text control for
each queryable column.
Vue de la page 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 153 154

Commentaires sur ces manuels

Pas de commentaire