Developer’s Guide

Table Of Contents
8-16 Developer’s Guide
1 browse the database
1 preselect how many records to view at a time
1 add a record to the database
The Employee Database example also provides a demonstration of
the difference between using a static HTML form and dynamic
CDML to display a value list. Examine the difference between two
example links that both go to the same example.htm page but only
one dynamically displays value lists (data) from the database.
The first example link is a simple HREF link to the example.htm
page.
<A HREF=”example.htm”>example</A>
And the CDML replacement tags appear statically on the page.
The second example link contains a FileMaker Pro CGI command
for a CDML -view request. (The -view CDML action tag is usually
used to display format files containing value lists or CDML
replacement tags.)
<A HREF=FMPro?-db=Employees.fp5&-lay=Detail&-
format=example.htm&-view”>example</A>
The CDML replacement tags are replaced with the value lists from
the database.
Guest Book example
The Guest Book example demonstrates how web users can enter
information on a web page (in an HTML form) and submit it to a new
record in a FileMaker Pro database. The HTML form that is used on
the New Record web page includes CDML tags that allow the
database to be accessed and a new record to be created.
Click to search,
browse, and add
records to the
Employees.fp5
database
Click to display the
example.htm page
statically
The New Record page in the Guest Book example
Arrows indicate
required fields
in the database