Programming instructions
Enhancing the Trip Maintenance application 95
3 Save the file and view the updated tripdetail.cfm page in a browser.
The Trip Search Results page appears:
4 Test the buttons by clicking any navigation button. 
An error occurs because the navigation action page (navigationaction.cfm) does not 
exist. The navigation action page processes the navigation button requests. You will 
build the navigation action page in the next lesson.
Reviewing the code 
The following table describes the navigation code in the Trip Detail page:
Code Explanation
<form action="navigationaction.cfm" method="post">
Form tag identifying 
navigationaction.cfm to 
handle record navigation.
<INPUT type="hidden" name="RecordID" value="#tripID#">
Hidden RecordID field with 
the value of the current 
tripID.
<input type="image" name="btnFirst" src="images/first.gif">
<input type="image" name="btnPrev" src="images/prev.gif">
<input type="image" name="btnNext" src="images/next.gif">
<input type="image" name="btnLast" src="images/last.gif">
Navigation buttons are image 
type HTML input tags. 










