Copyright 1984-1998 FileMaker, Inc. HBAM2016AUG95HPro 5.0Rn2fieldfmp-sortfielditemorderfmp-sortorderitembr@issorted@"repeatsthehtmlbetweenfmp-recordandfmp-recordforevery@@EmP@@Ho€2@€3@uP ACA!C" B$#}&A'C(E)G*+A+%#A-,2A/A0.C22A3A41C62B7t85C:2B;A<92A>A?=2AA@BC2ADCEAFBCH2AIAJG 2ALK BNDOFP2BQARM<CTAU2BVAWHXS=CZE[2A\]L^Y>2B`DaAb_?Cd2AeAfHgc@CiEj2AkClhgHBAM3016AUG95@aIWJW|W}WaboutFWGWHW~WW@WBWaboutformatfiles~VV@VBVaboutthewebcompanionplug-inFVGVHVbeforeIWJW|W}Wbook]W^W_W`WaWbWcdmlCWWWZW\WcompanionFWGWHWconsiderationsIWJW|W}WconsiderationsbeforepublishingadatabaseIVJV|V}VcustomAWBWCWDWEWdatabaseIWJW|W}Wexploring]W^W_W`WaWbWexploringtheguestbookformatfiles]V^V_V`VaVbVfiles~WW@WBW]W^W_W`WaWbWformat~WW@WBW]W^W_W`WaWbWgettingAWBWCWDWEWgettingstartedwithcustomwebpublishingAVBVCVDVEVguest]W^W_W`WaWbWplug-inFWGWHWpublishingAWBWCWDWEWIWJW|W}WreferencecdestartedAWBWCWDWEWtheFWGWHWCWWWZW\W]W^W_W`WaWbWtoolCWWWZW\WusingCWWWZW\WWWWWWWWWO@Z BAR STATESBUTTON1UBUTTON2VBUTTON3WBUTTON4XBUTTON5YCURRENT SUB TOPICP CURRENT TOPICO DESCRIPTIONHDESCRIPTION BIG2DEV GUIDE SUB TOPICLDEV GUIDE TEXTDEV GUIDE TOPIC FIND CONCAT4 GERI COMMENTSQ GO TO LAYOUT6H1 CALCMH2 CALCNHEADERKHELP IDF HELP TEXT/ HELP TITLE. MENU STATETORIGINAL LAYOUT9PARAMETER DEFAULT PICTTEXT0PICTURESR RECORD NUMBER RECORD TYPE5TAGTAG ENGLISH NAME TAG OPTIONSBTAG TYPEDTOGGLEZ WHAT'S NEW8 ./025BDFHKLQ46MNUVWXYZ89OPRSTH2L46 F / . 9  05 BD8KMNOPQ R!S"T#U$V%W&X'Y(ZD#ADev Guide TextB GACADev Guide TopicB GAC A US English - Spelling x35-debugB CD^"M%,,./: AM PMNALL OTABSOP^SundayMondayTuesday WednesdayThursdayFridaySaturdayJanuaryFebruaryMarchAprilMayJuneJulyAugust SeptemberOctoberNovemberDecemberQ1Q2Q3Q4 1st Quarter 2nd Quarter 3rd Quarter 4th Quarter,  , X5`A0SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDec 8A!Reserved for New features in CDML!@A AH h` ffHy5P Adding CDML tags to format filesRR R S ReplacementT2RUVWXYZ`@"@,@A Detail - Dev @,@AMain Menu - Dev @,@[AHelp @,A%A Detail - Ref@,@lAFind@,@A-@,@A-@@6A What's New@@AMain Menu - Ref@@AAbout     A Detail - DevB@@NE $,.YesNo/,  , : AM PMe $,.YesNo/,  , : AM PM A Record NumberB GL103ACATagB GAC ATag English NameB GAC AParameter DefaultB GAC.A Help TitleB GAC/A Help TextB GAC0ApictTextB GAC2ADescription BigB GAC4A Find ConcatB A & "" &  A    AC5A Record TypeB GAC6A Go to LayoutB A2(5 = "Tag" 6 "") & 2(5 = "Help" 4 "") & 2(5 = "Dev Guide" 2 "") & 2(5 &  =  1 "") 6A`5Tag@25Help@25 Dev Guide@25?2`AC 8A What's NewB GAC9AOriginal LayoutB GACBA Tag OptionsB GACDATag TypeB GAHelp IDB GACHA DescriptionB GACKAHeaderB GLADev Guide Sub TopicB GACMAH1 CalcB A 2(K = "Yes"  "" ) AKYes2NAH2 CalcB A2(O =  L "" )A OL2  OA Current TopicB GPPPACurrent Sub TopicB GQA Geri CommentsB GRAPicturesB  GBar StateB GTA Menu StateB GUAButton1B A)2(S = "All" /(R 1) ""))ASAllR?/2VAButton2B A.2(S = "Variable" /(R 1) "").ASVariableR?/2WAButton3B A,2(S = "Action" /(R 1) ""),ASActionR?/2XAButton4B A12(S = "Replacement" /(R 1) "")1A!S ReplacementR?/2!YAButton5B A*2(S = "HTML" /(R 1) "")/(R 1) "") <Y*ASHTMLR?/2ZAToggleB Ar  ( K = "Yes"  O = M /(R 3) K = "Yes" /(R 2) "" )rA8 KYesOMR@/KYesR@/ 8| AMain Menu - DevB*'  @'A  $,.YesNo/,  , : AM PME N  w $,.YesNo/,  , : AM PMT  w Z  w ] `  $,.YesNo/,  , : AM PM n  $,.YesNo/,  , : AM PMA" " %" 9""9" 8""8"  " e <<ABAF>> @B?iaqA   B?iaqALF@#T):T.L>?ARe <<ABAF>> @B?iaqA   B?iaqAL AHelpB '  @*M b c d e f g h i j AJf0J2fQJSfrJtfJfJfB&5 */8 ,/83*-8w  C+M:o}, ,,*+N R  ZD E/Click on a heading to display more information.A Developer's Guide@A*ww  ww*A CDML Tag Index@A*ww  ww*]FileMaker Pro CDML Reference @B@qA, ,B@qA  DDZE/Click on a heading to display more information.A Developer's Guide@A*ww  ww*A CDML Tag Index@A*ww  ww*]FileMaker Pro CDML Reference @B@qA. .B@qAB MNZ&' A"9 2"9"92" ""Q$bg 1Q$bg3R%Sf`%afBR%`&Re`fQ$bg1Q*bf ;U(S6aY:Qfb Qfb3RgS`gaRg`h5 A Detail - RefB(@'  @UE i $,.YesNo/,  , : AM PMwww_ b0 $,.YesNo/,  , : AM PMm $,.YesNo/,  , : AM PMwwwo    B*/8'\" 8 u 8#@ 8uj ' j ! 'j '($CK%l&'r(jAH jABAHjAHjbi jbc   bijbij jjjy jyxyjyED0)*j jj    AThis database introduces you to the built-in support for CGI access in FileMaker Pro . It uses a variety of layouts, each intended to display a particular kind of information. When you first open this database, you are presented with the main menu, which allows you to choose from among several options. To choose an option, click the text label of the area you want to view. The icons in the toolbar at the top of most layouts let you change how the information is displayed without haviBng to return to the Main Menu. Note: Not all records in this database have data for every field. If you encounter a blank record while browsing one layout, you have reached the end of the information given for that layout. Choose another layout to see more information. Toolbar Icons The following toolbar icons are available from the layouts to which they apply. When you see these icons at the top of your layout, you use them to navigate to:@ z  b!Using the CDML Reference DatabasecBack to databasedPrevious recorde Next Recordf Main screengFind a specific taghHelp)AUsing the Navigation Layouts Developer's Guide This layout is intended to provide background information about FileMaker Pro's built-in CGI. Each record has an informative text field and examples, when appropriate. Descriptions and Examples This layout provides in-depth detail on a specific tag. An outline of the content provided on this layout is listed below: What it does This section describes the tag and important information that you should know about the tag. Value is This seV  A>   >  )Bction describes what the value should be in a name value pair, e.g.: Syntax This section shows the syntax for the tag. Not all tags have a syntax section. Syntax example(s) This section shows one or more examples of how this tag can be used in an HTML file. Other tags that are required Lists other tags that are required. FileMaker Pro won't perform the action unless all required tags are present. Parameters Explains thCe parameters for the tag. Not all tags have parameters. See also Suggestions of other tags that should be read. List View This layout provides a list of the CDML tags that are supported in FileMaker Pro. Click the tag name to switch to the Decription view for the tag.@ $ )jGo to the CDML tool @B6iaqA B6iaqAL !"#$%&'()*+,-LB iq )A   0    q  ~    Z  o r  y    3  Q       O  Y !A AFindB '  @6C $,.YesNo/,  , : AM PMN  O $,.YesNo/,  , : AM PMT   _ $,.YesNo/,  , : AM PM`   a  b  d   u $,.YesNo/,  , : AM PM  A"  " 9""9" 8""8"  "B" " 3""3"9 2"9"92W AT267A;Q"9 A  ..$.6.H... .D.@P%{s _CDML Description and Example"A<<ABAK>> <<ABAI>>@A>   2  >oTag Type @B7iaqA$ $B7[iaqA 2D$B7[iaqA 2D"A-B('   @Bsi8u qA-B '   @Bsi8u qA What's NewB '  @M $,.YesNo/,  , : AM PMP A>75 8068Y 67Ywww78Y68Y" 9""9" 3" AY ,Yu-uY6zh/  zh/ zh,/fff-p/fffB{i-333zh/|jfff333~nzh/   fff 2$ fff" w  ANFindT Tag Name` DescriptionaFindbCanceld Tag Syntax @BuqA< < 26} 2}s}2$fff 5DANFindT Tag Name` DescriptionaFindbCanceld Tag Syntax @BuqA< < 26$&AMain Menu - RefB"'  @_A  $,.YesNo/,  , : AM PMG """ N  $,.YesNo/,  , : AM PM^ j  w k  w l u 3 v 3 w 3 y 3 z 3 { 3 $,.YesNo/,  , : AM PM3| 3 $,.YesNo/,  , : AM PM3#PWhat's New In CDML @B7{aqA* *B7[{aqABViiq8"9"92"  "" CT""R:"@ \ PWhat's New In CDML @B7{aqA, ,B7[{aqABViiq+-RAAboutB '  @(b c ) e h  AY ,Yu-uY<NK%@#,@  ,@"P,@ (Bb Main Menu#A Programming: Keith Proctor Written by: Clay Maeckel Geraldine Hyde Vahey Keith Proctor Editing: Kathy Osborne Testing: Seiichi Yahata Monet Thomson Terry Barwegen @ Monet Thomson Terry Barwegen @# } 3 $,.YesNo/,  , : AM PM3~ 3 $,.YesNo/,  , : AM PM3 3 $,.YesNo/,  , : AM PM3( CR`QfbQlb <V(Sva9Qb' Qb'3RS%`a&R`R%`&DQb'Qb' =W(Sa7Q&b Q&b3R'S`'aR'`(R`Q&b') EQ,b >X(S?a6Qb Qb3RS`aR`R`QbQb F?Y(Sa 5T b" 3""39"?(Bf*Q(B+Q9C=9e:@(* +G(: ((2,:(:((:f  (2f,:f(:f 9: RH$,o}  )+G-Click on a topic to display more information.^List:*A CDML Tag Index@A*ww  ww*+2,:(:((:f  (2f,:f(:f 9:HV R,o}  G-Click on a topic to display more information.^List:*A CDML Tag Index@A*ww  ww*+*% D+A Developer's Guide@A*ww  ww*lFileMaker Pro CDML ReferenceuHTML input typesvReplacement tagsw Action tagsy Variable tagszAll tags @B@qA  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFB@qAGHIJI HU VWX(Y1b bbb(b1HI-/ *#(A( 1998 FileMaker, Inc. All Rights Reserved. FileMaker is a trademark of FileMaker, Inc., registered in the US and other countries, and Claris Home Page is a trademark of FileMaker, Inc.. Apple, Mac, and QuickTime are trademarks of Apple Computer, Inc., registered in the US and other countries. (@A*   * @BhtaZqA E*Getting started with Custom Web PublishingG1H-DeleteJ Delete Record22J Delete Record2d2%,#Ax.?.G..|}Ppp x02AThis Developers Guide explains how to work with the CDML tags, which allow you to specify how your FileMaker Pro 4.0 data is published on the Web. In addition to providing general information on custom database publishing, this guide explains how to construct format files (HTML pages that contain CDML tags). Format files determine how Web users interact with your FileMaker Pro 4.0 database. This guide also explains how to use the CDML Tool, along with the CDML templates and an HTML edBiting application, to create a format file that makes new records in a FileMaker Pro database. Note Cross references refer to other sections within this Developer's Guide unless otherwise specified. For information on Refer to - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - General database publishing Onscreen Help and chapter 11 of the FileMaker Pro Users Guide Instant Web Publishing ,02AWhat it does Deletes the record specified by -RecID. The -RecID tag indicates which record should be deleted. In order to delete a record, the Web user must have Delete permission for the database. Syntax example(s) Delete a record using a link Delete record with ID 4 Delete a record using a form action
Other tags that are required -DB, -RecID See also [FMP-CurrentRecID] @/. 2AB        0  7  V  {  s  y            BA ..#.5.G.V.G..C.>56 ..#.5.G.V.G..C.> ..#.5.G.V.G..C.>t-Delete Delete RecorduDevGuide Help TagDActionFDeleteH'Deletes the record specified by -RecID.KYesM*Getting started with Custom Web Publishing46AWith FileMaker Pro 4.0 and access to an intranet or the Internet, there are two ways to publish your FileMaker Pro databases on the Web: Instant Web Publishing Custom Web Publishing Instant Web Publishing lets you publish your database on the Web quickly and easily, without changing your database or designing HTML Web pages or format files. All database files have the same interface, or appearance, which is specified by the FileMaker Pro Web Companion. Custom Web Publishing allows yBou to customize the appearance of your FileMaker Pro data on the Web. You will need to create format files, HTML pages that contain CDML tags. CDML consists of special tags that enable FileMaker Pro to interact with standard HTML pages. To create format files, you can use the CDML Tool to move the CDML tags into a text or HTML document. To have format files created for you, use the FileMaker Pro connection assistant in the Claris Home Page 3.0 software. Note To publish your database o.3COnscreen Help and chapter 11 of the FileMaker Pro Users Guide Custom Web Publishing The "Getting started with Custom Web Publishing" section in this Developers Guide, onscreen Help, and chapter 11 of the FileMaker Pro Users Guide CDML tag syntax The CDML Tag Index in this CDML Reference database Using the CDML Tool The "Using the CDML Tool" section in this Developers Guide Working with the CDML Templates The "Using the CDML Tool" section in this Developers Guide Note Creating cDustom Web pages requires basic familiarity with HTML. The CDML Reference database focuses primarily on CDML syntax. For information on HTML tags, refer to an HTML reference book.|@A>      >ALnorkE*Getting started with Custom Web PublishingG2H-DupJDuplicate Record2242AWhat it does Duplicates the record specified by -RecID. The -RecID tag indicates which record should be duplicated. To duplicate a record, the Web user must have Create permission for the database. Syntax example(s) Duplicate a record using a link Duplicate record with ID 6 Duplicate a record using a form action
Other tags that are required -DB, -RecID, - Format See also [FMP-CurrentRecID] @31 2AB        4  8  \    |              BA ..#.5.G.V.G..C.>56 ..#.5.G.V.G..C.> ..#.5.G.V.G..C.>t-Dup Duplicate Recordu DevGuide TagDActionF DuplicateH*Duplicates the record specified by -RecID.LAbout this guide8:AHere's an overview of the steps required to publish your database on the Web using Custom Web Publishing: 1. Create a database, or select an existing database to publish. 2. Create format files, which contain HTML and CDML tags. Format files determine how Web users interact with your FileMaker Pro databases. Perform the following steps on a computer connected to the Internet or an intranet via TCP/IP. 3. Move the format files and any image files to the Web folder in the FileMaker Pro 4B.0 folder. 4. Make sure that the Web Companion plug-in is enabled in Application Preferences. 5. (Optional) Disable Instant Web Publishing in the Web Companion Configuration dialog box. 6. Choose the Home Page and change other settings in the Web Companion Configuration dialog box. 7. Open the database in FileMaker Pro 4.0. 8. Enable Web Companion Sharing in the File Sharing dialog box. 9. Give Web users access to your database by placing a link on an HTML page that contains, at a mi17oCyn the Web, you must have an Internet connection (usually provided though an Internet service provider) and an IP address.U@A.`@DE*Getting started with Custom Web PublishingG3H-EditJ Edit Record2AWhat it does Updates the record specified by -RecID by populating the fields with the contents of any fieldname/value pairs. The -RecID tag indicates which record should be edited. In order to edit a record, the Web user must have Edit permission for the database. Syntax example(s) Edit a record using a link Change the country of record ID 13 to USA Edit a record using a form action
Other tags that are required -DB, -RecID, field name See also [FMP-CurrentRecID] @AB      !  =          %  )  O  P  m      BA  ..#.5.G.V.G..C.>75t-Edit Edit Recordu DevGuide TagDActionFEditHpUpdates the record specified by -RecID by populating the fields with the contents of any fieldname/value pairs.L(Publishing FileMaker Pro data on the Web<>eAThe Web folder in the FileMaker Pro 4.0 application contains three sample solutions you can use as a model for database publishing on the Web. The sample Web solutions include helpful comments to assist you in creating custom Web pages. The Guest Book solution provides an example that allows Web users to "sign" a guest book form, which creates new records in the Guest Book.fp3 FileMaker Pro database. The Employee Database solution is designed to demonstrate the most widely used CDMLB tags. The Shopping Cart solution demonstrates a site that enables Web users to browse through and purchase items from a catalog. t@Av.̙3̙ff4̙335̙6vE*Getting started with Custom Web PublishingG5H-FindAllJFind All Records25;Cnimum, the IP address of the machine hosting the FileMaker Pro database files and the name and path of the format file. For more information, see the "Using the CDML Tool" section. @Ak.TJJf_f_jf_f_fjfkjfkk\jkk\fbE*Getting started with Custom Web PublishingG4H-FindJ Find Record2AWhat it does Submits a search request using defined criteria. A format file is used to display the records found. A Web user must have Browse permission in order to execute this action. You can improve the perceived performance of your Web database by using the -Max tag to limit the number of records returned. Syntax example(s) Find a record using a link Find first USA record Find some records using a fo:< 2Brm action
Other tags that are required -DB, -Format, field name See also -Max, -Skip @AB    @  S  o              @  A  ^  y    B;9 2A ..$.6.H... .D.S6 ..$.6.H... .D.@ ..$.6.H... .D.JKL t-Find Find Recordu DevGuide TagDActionFFindHeSubmits a search request using defined criteria. A format file is used to display the records found.L!Custom Web Publishingan overview?AEAbout the Web Companion plug-inG6H-FindAnyJFind Any Record2AWhat it does Performs a find for a single random record. A format file is used to display the record found. A Web user must have Browse permission in order to execute this action. Syntax example(s) Find any one record using a link Return any record in the database Find any one record using a form action
Other tags that are required -DB, -Format @9?T2AWhat it does Finds all records and displays them using the specified format file. A Web user must have Browse permission in order to execute this action. You can improve the perceived performance of your Web database by using the -Max tag to limit the number of records returned. Syntax example(s) Find all records using a link First 10 records in the database Find all records using a form action
Other tags that are required -DB, -Format See also -Max, -Skip 7@>=  2AB      1  P                    !  *  Bt-FindAll Find All Recordsu DevGuide TagDActionFFind AllHDFinds all records and displays them using the specified format file.L%Working with the sample Web solutionsAC2t-FindAny Find Any Recordu DevGuide TagDActionFFind AnyH_Performs a find for a single random record. A format file is used to display the record found.KYesMAbout the Web Companion plug-in_AFileMaker Pro 4.0 functions as a Web server by communicating with Web browsers that request data from a FileMaker Pro 4.0 database. Similar to other Web server applications, the FileMaker Pro Web Companion delivers HTML pages and image files to the browser. The FileMaker Pro Web Companion delivers the requested file via HTTP, or Hypertext Transfer Protocol. HTTP is a platform-independent mechanism for communicating between Web servers and browsers. In general, accessing an HTML document =@ 2A          $  M  v  -  4  S  T  q  A ..$.6.H... .D.6 ..$.6.H... .D.S ..$.6.H... .D. FHAA CGI (Common Gateway Interface) application typically handles the interaction between a Web server and another software application on the same machine. Usually a CGI application receives data from a Web server and either processes it or sends it to another application for processing. In general, publishing a database on the Web includes: 1. A Web user interacts with a form on a Web site and sends a request to the server, for example to submit name and address information. 2. When theB Web user submits the form, the Web server evaluates the URL and passes the data from the form to the CGI application for processing. The CGI application name is included in the URL, so the Web server is notified to pass the information coming in from the Web browser to the CGI application for processing. 3. The CGI application collects the information and sends it to FileMaker Pro. 4. FileMaker Pro responds to the information and performs the requested action, such as creating a new @DBfrom a Web server includes: 1. The Web user accesses the document through a URL (Uniform Resource Locator)a unique address that contains the transfer protocol, the location of the Web server, and the name of a document. When a viewer types a URL or clicks a link, a Web browser locates the address and sends the request to the Web server. 2. The Web server retrieves the document identified in the URL and sends the HTML-formatted contents back to the browser. 3. The browser interprets theC! HTML tags and displays the data.@Aj L$KdjEAbout the Web Companion plug-inG7H-ImgJ Display Image2CE2AWhat it does Returns an image specified by -DB, -RecID, and a field name, or specified by -DB and an image key. A Web user must have Browse permission in order to execute this action. An image key is a unique specifier to an image that is in a FileMaker Pro database. Use the [FMP-Field] tag to retrieve the image key from a container field. Images stored in formats other than JPEG or GIF are converted before being sent to a Web user. Important Usually there is no need to use thBis tag directly; the [FMP-Image] tag can be used to generate the correct URL for any container field. Syntax example(s) Link to a page containing the image Display the picture from record ID 11 and field name "pictures" Display an image in a page by ID & field Display an image in a page by image key Display an image the recommended way Other tags that are required -DB, -RecID, field name See also [FMP-Image], [FMP-CurrentRecID] @A        V  h          6  w  |  ~              1  2  6  S  l B v   EB 2A ..#.5.G.V.G..C.>h56 ..#.5.G.V.G..C.>4 ..#.5.G.V.G..C.>t-Img Display Imageu DevGuide TagDActionFimageHbReturns an image specified by -DB, -RecID, and a field name, or specified by -DB and an image key.LFileMaker Pro as a Web serverJL E+Considerations before publishing a databaseG9H-ViewJ View Form2AWhat it does Displays search or add form. Used to process any format files that do not require record data. Syntax example(s) View a format file using a link "Take me to a search page" View a format file using a form action
Other tags that are required -DB, -Format )@A    m                   BICrecord or sending a found set of records back to the CGI application. 5. The CGI application receives, and then processes the information that FileMaker Pro has sent by formatting the data as HTML. 6. The CGI application sends the HTML-formatted information to the Web server. 7. The Web server passes the HTML-formatted data to the Web browser. Before FileMaker Pro 4.0, you had to use Web server software and a CGI application in order to publish your database on the Web. Now the FileMDaker Pro Web Companion performs the duties of both the Web server and the CGI application. Note Third-party CGI applications that have been compatible with FileMaker Pro 3.0 should continue to work with FileMaker Pro 4.0 via Apple events on the Mac OS.@AX;EAbout the Web Companion plug-inG8H-NewJ New Record2HJ2AWhat it does Creates a new record and populates that record with the contents of any field name/value pairs. A Web user must have Create permission in order to execute this action. Syntax example(s) Create a new record using a link Create a record for Australia Create a new record using a form action
Other tags that are required -DB, field name @IG 2A        ,  0  Y    y  |        A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.  u  - t-New New Recordu DevGuide TagDActionFNewH_Creates a new record and populates that record with the contents of any field name/value pairs.L"FileMaker Pro as a CGI applicationmLN 2t-View View Formu DevGuide TagDActionFview View FormH^Displays search or add form. Used to process any format files that do not require record data.KYesM+Considerations before publishing a databasej AThere are many important factors to consider before publishing a database on the Web: How Web users will interact with your Web site How Web users will interact with the FileMaker Pro database How many HTML pages and format files you will need How the files that comprise your Web site will interact How you will keep the data secure Before creating the format files, spend some time planning what the purpose of the Web site will be, what content it will contain, and how you want GK  2A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.3PRT <AIn addition to enabling the Web Companion plug-in in Application Preferences, you'll need to modify the Web Companion configuration before using Custom Web Publishing. You should: specify a custom Home Page disable Instant Web Publishing When Web users specify the IP address of a machine sharing a FileMaker Pro 4.0 database, they see the Built-in home page that is generated with Instant Web Publishing by default. Before using Custom Web Publishing, you'll need to create a custom homeB page, and specify the filename in the Web Companion Configuration dialog box. To choose which home page the Web Companion uses: 1. Move your custom home page into the Web folder inside the FileMaker Pro 4.0 folder. 2. Choose Preferences from the Edit menu, and then choose Web Companion. If you don't see the Web Companion menu choice, the Web Companion plug-in is either not enabled or not installed correctly. 3. In the Web Companion View Setup dialog box, click Configure. 4. In theKO Bto structure your site. The complexity of Web sites varies. One Web site might have a custom home page with a link to the FileMaker Pro Instant Web Publishing interface. Another might contain hundreds of files, such as image files, movies, standard HTML pages, and format files. The complexity of your Web site will depend on the amount of information you are broadcasting and the level of interaction your Web users will have with the information. A simple flowchart is a useful way of diaCgramming how your pages will link to each other. If you diagram your links on paper before creating your Web site, you can modify the overall structure without updating the links. Make sure your pages are linked in a way that makes it easy for your viewers to navigate through the site. Hosting a database on the Web makes your data available to anyone with a Web browser and access to the Internet. Be sure to protect valuable data with passwords. Important security considerations: ThereNP D are some important security considerations to keep in mind before sharing a FileMaker Pro 4.0 database: With Instant Web Publishing, if you publish a layout that contains related fields, the related field data is published on the Web. Consider this before choosing which layouts are published. Also, the name of the database that contains the related fields is listed in the Instant Web Publishing Built-in home page. If you want to prevent the database name from appearing in the list of sEhared databases, insert an underscore at the end of the database name, for example, "Orders_" or "Orders_.fp3". Format files must be stored in the Web folder in the FileMaker Pro 4.0 folder. Because of the nature of Web servers, all files in the Web folder can be accessed, replaced, or even deleted by savvy Web users. Don't put sensitive documents inside the Web folder. If anyone opening a FileMaker file has Export Records privileges (even as a guest to a FileMaker file), they can thOQ Fqen publish the database on the Web. It's important to consider this before distributing or sharing your database. @AWY4̼TB/,ucDB FdbsE+Considerations before publishing a databaseG10H-DBJ Database NameL2AWhat it does Specifies the database that all processing of the request will refer to. Value is Name of the database, including the extension if any. The FileMaker Pro Web Companion uses only the name of the database; do not include any path information. The database must be open in FileMakerPro. Syntax example(s) View a format file using a link Take me to a search page View a format file using a form action
Other tags that are required Any action tag @AB    X  a  -  @  a  r  u      #  &        BQM  2A ..$.6.H... .D.@6 ..$.6.H... .D. ..$.6.H... .D.WBug Database.fp30Wt-DB Database Nameu DevGuide TagDVariableFDatabase & LayoutHNUsed to specify the database that all processing of the request will refer to.LPlanning a Web siteXZ<=AAfter you determine what database activity your Web site will support, you should consider how much of your Web page is generated dynamically or statically. The dynamic approach incorporates content from your FileMaker Pro database into your format files before serving it to a Web browser. The static approach specifies all of the details needed to display a format file, such as record data or value list items. Most traditional HTML pages are examples of static Web publishing. The most comBmon deciding factor on whether to publish your data dynamically is how frequently you change your FileMaker Pro data. If some of the data youre publishing on your Web site is constant, you can take advantage of better performance by hard coding the data in the format file (static publishing). If youre publishing data that is likely to change frequently, you should insert the data dynamically into your format file. In some cases, the CDML tag syntax varies depending on whether you're usMU<C Configuration dialog box, for Home Page, choose the home page file you want to use. 5. Click OK. Important Your home page must include a hyperlink containing the IP address of the computer publishing the FileMaker Pro database. Additionally, with Custom Web Publishing, the link must contain the name of the next format file to be displayed. See "Exploring the home page" in the "Exploring the Guest Book format files" section for more information. If you are using Custom Web PublishingD exclusively, you can disable Instant Web Publishing. To disable Instant Web Publishing: 1. Choose Preferences from the Edit menu, and then choose Web Companion. If you don't see the Web Companion menu choice, the Web Companion plug-in is either not enabled or not installed correctly. 2. In the Web Companion View Setup dialog box, click Configure. 3. In the Web Companion Configuration dialog box, deselect Enable Instant Web Publishing. 4. Click OK. @TV L<Aq@%HHJE+Considerations before publishing a databaseG5H-ScriptJPerform ScriptL2AWhat it does Specifies the FileMaker Pro script that should be performed after the finding and sorting of records (if any) during processing of the action. Value is Name of the script to perform. Syntax example(s) Perform a script using a link "Run script" Perform a script using a form action
Other tags that are required -DB, any action tag See also -Script.PreFind, -Script.PreSort@Aj            (  /  X  ~  4  ;            jVX x<2A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.h@lTo`lTVZht-Script Perform Scriptu DevGuide TagBABefore - The script is performed before the action. Presort - The script is performed after the action and just before the sort. After - The script is performed after the action. @Az    4  <    zDVariableFScripts Do ScriptWS<HSpecifies the FileMaker script that should be performed after the finding and sorting of records (if any) during processing of the action.L%Configuring the Web Companion plug-in^`2=>EAbout format filesG7H Field NameJ Field NameL2AWhat it does Field names are used to control find criteria or to upload data to a record. This is not a tag. Usually the name portion of a name/value pair to be processed by FileMaker Pro is either a CDML action or variable tag. When a value for a specific field needs to be sent to FileMaker Pro, the name portion of the name/value pair is the name of a field in the FileMaker Pro database. Field names used in this manner should not start with the hyphen (-) character or contain any perioS[=Cing the dynamic or static publishing. For example, if you are publishing a pop-up menu containing a value list of items that aren't likely to change, static publishing is best: Department: If, however, your value list is likely to change frequently, you can use the dynamic syntax, which retrieves the value list items from the FileMaker Pro database: Department: D The HTML between the [FMP-valuelist: Department] and [/FMP-valuelist] tags is automatically repeated for every value in the value list. The actual value list items are substituted for the [FMP-valuelistitem] tag. While static pages are simply served up, pages with dynamic values must first go through the FileMaker Pro Web Companion before being displayedZ\f=E on a Web browser. Static pages can be served to a Web browser with a simple URL: HTTP://IPAddress/FormatFileName.htm The URL serving dynamic pages needs to contain the following minimum information in order to process the [FMP-valuelistitem] CDML Replacement tag: HTTP://IPAddress/FMPro?-db=DatabaseName&-Format-FormatFileName&CDMLActionTag See the format file example.htm, located in the Employees_database folder in the Web folder to work with an example of dynamic and static CDML syntaFx. E+Considerations before publishing a databaseG6H-ErrorJError ResponseL2[]=2AWhat it does Specifies the HTML format file to be used to generate a response if any error occurs during the processing of the action. In the page you specify with this tag, you can test for which error occurred by using the [FMP-If] tag with CurrentError as the first parameter, or you can simply display the error number by using [FMP-CurrentError]. Value is Path and name to the format file to use to display the error message. Syntax example(s) Attempt to create a new record usingB an HTML file, any error takes you to the failure page
Other tags that are required -DB, any action tag See also -Format, [FMP-CurrentRecID], [FMP-CIf] \^=2@A    e  n      %      {  }        A ..$.6.H... .D.6 ..$.6.H... .D.| ..$.6.H... .D.++++++++++t-Error Error Responseu DevGuide TagDVariableFErrorHySpecifies the HTML format file to be used to generate a response if any error occurs during the processing of the action.]Y5=L&Dynamic vs. static database publishingbd>?AFormat files are HTML pages that contain CDML tags. Typically, a format file performs one type of database transaction. For example, in the Guest Book solution in the Web folder, Web users make new records in a FileMaker Pro database using the gb_new.htm format file. When a record is added successfully, a second format file lets the Web user know the record has been added. A third format file notifies Web users if the new record could not be created. In addition to these three format filesB, the Guest Book solution includes a home page, which is an HTML document that contains a link to the gb_new.htm format file. The number and type of format files you'll need depends on how much your Web users will interact with your FileMaker Pro databases. The most common format file types perform actions, such as: making new records updating existing records deleting records searching for records displaying one record or many records Place the Web solution files (format filYa>2Bd (.) characters. Name is Name of the field in the database. Value is For the -New and -Edit tags, the value contains the data to be uploaded into a record. Multiple occurrences of a field allow the data to be put into separate repetitions of a repeating field. For the -Find tag, the value is a find request on the specified field. For the -Img tag, the first field name in the URL is the name of the container field to retrieve the image from. The value portion is ignored. For allC other action tags, these name/value pairs are not needed. Syntax example(s) Find a record using a link Find first red record Edit a record using a form action
Other tags that are required -DB, any action tag @A         .  7    *  F  s  x              {  |    a_ >2A ..$.6.H... .D.*6 ..$.6.H... .D.{ ..$.6.H... .D.@8[xe<tField Name Field Nameu DevGuide TagD Not a TagFFieldsHLField names are used to control find criteria or to upload data to a record.KYesMAbout format filesgi?@AFormat files can contain: standard HTML elements the HTML FORM tag HTML INPUT tags CDML tags optional elements, such as GIF or JPEG graphics, animated GIFs, AIFF files, JAVA applets, QuickTime movies, tables, and frames Every HTML page and format file contains Header and Body elements. The Header identifies the document as an HTML page and contains the document title. The Body contains most of the page content and, with Custom Web Publishing, the CDML tags. The FORM tag specBifies that a form will be filled out within the HTML document and notifies the Web server to send the contents of the form to FileMaker Pro. Because your Web pages contain some amount of interactivityfor example, capturing Web users name and address information when they "sign" your guest bookyoull need to use the HTML
tag: The ACTION attribute alerts the Web server, in this case FileMaker Pro 4.0, that FileMaker Pro will be processing the form_e?Ces, HTML pages, and image files) inside the Web folder (or a subfolder inside the Web folder). You might want to remove the sample Web solutions from the Web folder. Use relative links between files to prevent links from breaking. For information on creating relative or absolute links, refer to an HTML reference book. Important All files in the Web folder can be accessed, replaced, or even deleted by savvy Web users. Don't put sensitive documents inside the Web folder.@A/$ ZL$EAbout format filesG8H-FormatJ Format FileL2df?2AWhat it does Specifies the HTML format file used to generate a successful response during the processing of the action. Value is Path and name to the format file to use to display the response. Syntax example(s) Find any one record using a link, and display that record in "results.htm" Return any record in the database Find any one record using a form action, and display that record in "results.htm" Other tags that are required -DB, any action tag See also -Error @eg ?2Aj    z       %  A  H      S  Z            jA ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D..H..t-Format Format Fileu DevGuide TagDVariableFformatfc?HjSpecifies the HTML format file used to generate a successful response during the processing of the action.LPlanning format filesmq@BAIn addition to HTML tags, format files also contain CDML tags, which interact directly with FileMaker Pro. There are 3 types of CDML tags: Action tags, which perform a specific action in FileMaker Pro. For example, the -new tag creates a new record in a FileMaker Pro database. Variable tags, which specify an option for the Action tags. For example the -db tag specifies the database name that Web users will interact with. Replacement tags, which act as placeholders and are swapped B8with data from a FileMaker Pro database. For example, the [FMP-field] is replaced with data from a FileMaker Pro field. CDML tags determine how Web users interact with the FileMaker Pro 4.0 database. For a complete list of all CDML tags and sample syntax, see the CDML Tag Index in this CDML Reference database.&@Af ZL <cj@C. The METHOD determines how the filled-out form is sent to the Web server, and it is typically sent with the POST value. The INPUT tag is another common HTML tag that youll see in a format file. The INPUT tag creates an input element, similar to a field or a button, in the form. The INPUT tag has two commonly used attributes: TYPE and NAME. The TYPE attribute specifies the type of element that will be displayed on a form. For example, a one-line text area that captures a Web users firstD name would be: The TEXT FIELD value in this example inserts a one-lined input area on an HTML page, which corresponds to a FileMaker Pro field. Other input types include radio buttons or text area, which yields a scrolling field. The NAME attribute specifies the field name. You can also use the TYPE=HIDDEN attribute to send CDML tags to FileMaker Pro that wont display in the Web browser. For example, each format file must specify the name of theikH@E_ FileMaker Pro database: The NAME attribute above uses the -db CDML tag, whose VALUE specifies the name of the FileMaker Pro database to work with. For information on the other attributes of the INPUT tag, see the "HTML Input Types" section of the CDML Tag Index in this CDML Reference database. @A4 4.0EAbout format filesG9H-LayJ Layout NameL2jl@2AWhat it does Specifies the name of the layout that is used to control which fields are available and how they are displayed. The layout is used to: bind value lists to fields, control which fields are available to be displayed, allow access to related data, set the number of repetitions displayed in a repeating field, and control which fields are listed by the [FMP-LayoutFields] tag. Value is Name of the layout to use. If no layout is given, then the layout is considered to contain alBl fields in the database (but not related fields). Syntax example(s) Find any one record using a link Return any record in the database Find any one record using a form action
Other tags that are required -DB, any action tag 5@AB        !  4  V                     BA ..$6.6Q.Hl... .D.46Q ..$6.6Q.Hl... .D. ..$6.6Q.Hl... .D.>@ t-Lay Layout Nameu DevGuide TagDVariableFlayoutslh@HoSpecifies the name of the layout that is used to control which fields are available and how they are displayed.LHTML format file elementsiusingthecdmltool@db@Nfmp-fieldname@Lfmp-setcookieMformat@J copy@Ecurrentlogicaloperator@Iform@Frangeend@Htype@G211@ 5&-findall@+after@am@anchor@/area@ ascend@been@1browser0browsers@cannot@clay@considered@created@currenterror@currentfoundcount@custom@database@)date@.delsome@8directly@does:domain@7don@ds@either@entirely@5f14failed@'t@returninformationaboutthecurrentfindusinganhtmlfile@sample@seealso@smtp@specifiesthesubjectoftheemail@specify@syntaxexamples@take@the@total@two@united@used@ what@you@Dreplacementlooping@Lguide@planning@Musingthecdmltool@@HmhBEq2AsrC2BtAvuWBwDx2AyA{zZB|D}F~A2BA\BDFHJA/2BA]2BA^BD2AA_BD2BA`BDF2AAa2ACAAb2AAc2BAdB2AAeBD2ACAf2BAg2Ah2Ait€2BA€t€2€2AA€2BA€2A€2A€H€2A€2A€2pkR@D Replacementghifmp-clientaddressgfmp-clientiphfmp-clientpasswordifmp-clienttypefmp-clientusernamefmp-contentmimetypefmp-cookiefmp-currentactionfmp-currentdatabase-currentdayfmp-currenterrorfmp-currentfindfmp-currentfoundcounfmp-currentlopfmp-currentrecidfmp-currentrecordcoufmp-currentrecordnumfmp-currentskipfmp-currentsortfmp-currenttimefmp-currenttokenfmp-fieldfmp-findfielditemfmp-findopitemfmp-findvalueitemfmp-headerfmp-iffmp-imagefmp-includefmp-linkfirstfmp-linklastfmp-linknextfmp-linkpreviousfmp-linkrecidfmp-optionfmp-portalfmp-rangeendfmp-rangesizefmp-rangestartfmp-recordfmp-repeatingfmp-repeatingitemhsBEAbout format filesG10H-LOPJLogical OperatorLand2AWhat it does Combines the find criteria as an AND or OR find request. Value is Either AND or OR. If the -LOP variable tag is not used, then the find request is assumed to be an AND request. Syntax example(s) Find a record using a link Find United states of America or United Kingdom records Find some records using a form action
Enter a country and click Find to see the results.
Other tags that are required -DB, -Find, -Format, field name See also -Op i@stB2t-LOP Logical Operatoru DevGuide TagDVariableF6Logical Operator (AND/OR) Logical Operator (OR) HiddenH8Combines the find criteria as an AND or OR find request.L CDML tagsCEUsing the CDML ToolG11H-MailBCCJBlind Carbon Copy for EmailL2AWhat it does Specifies the email address of the person that should be blind carbon copied. Value is An email address. Syntax example(s) Send mail using a form action
Other tags that are required -DB, -MailTo, -MailFrom, -MailSub, -MailHost, -MailFormat, any action tag See also -MailCC @A    ]  f  z        K  L  i      vwC2t$-MailBCC Blind Carbon Copy for Emailu DevGuide TagDVariableFbccHMSpecifies the email address of the person that should be blind carbon copied.KYesMUsing the CDML ToolWAThe CDML Tool interacts between open FileMaker Pro databases and HTML editing applications, such as Claris Home Page 3.0, to help you construct format files quickly and reduce syntax errors. You can start a new format file by: using one of the format file templates in the CDML Tool copying CDML tags from the CDML Tool to existing HTML pages modifying one of the format files in the Web folder using the FileMaker Pro connection assistant in Claris Home Page 3.0 Follow these generatu C2A ..$.6.H... .D.6 ..$.6.H... .D.K ..$.6.H... .D..$.6.uxWBl steps to use the CDML Tool: 1. Open and share your FileMaker Pro database using Web Companion sharing. 2. From the Web Tools folder, open the CDML Tool. 3. Choose the database and layout names in the Templates tab. By specifying a database and layout name, you customize the CDML syntax in the template text and some CDML tags. 4. Open an HTML editing application. Since youll be working with two applications simultaneously, its best to position the CDML Tool window next to the HCTML page that youll be creating. 5. In the CDML Tool, copy a template from the Format File (Action) list in the Templates tab. 6. Paste the template text into a blank HTML editing document. 7. From the Tags tab of the CDML Tool, copy and paste additional CDML tags into the appropriate location in the format file. Create one format file to handle each database interaction. For step-by-step instructions, see the next two sections: "Using the CDML templates" and "Adding CDML tags to forwyWDmat files." Important considerations when using the CDML Tool: although FileMaker Pro 4.0 files may be opened by the FileMaker Pro 3.x application, most new features, including the CDML Tool, will only operate with FileMaker Pro 4.0 after changing a selection in a CDML Tool list box, you may need to click the Refresh button to update the list items. if you've modified the CDML Tool in any way, and it no longer generates appropriate CDML syntax, install a new copy from the FileMakeEr Pro 4.0 CD-ROM.@A6 d 6EUsing the CDML ToolG49H-MailCCJCarbon Copy for EmailLnHelp2x{W2AWhat it does Specifies the email address of the person who should be carbon copied. Value is An email address. Syntax example(s) Send mail using a form action
Other tags that are required -DB, -MailTo, -MailFrom, -MailSub, -MailHost, -MailFormat, any action tag See also -MailBCC @{|W2t-MailCC Carbon Copy for Emailu DevGuide TagDVariableFccHFSpecifies the email address of the person who should be carbon copied.LAbout the CDML ToolhZAThe CDML templates provide general structure for several types of format files. The templates contain steps that can be used as a guide for inserting CDML tags. Choose this template To create a format file that - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Delete Deletes records from a FileMaker Pro database Delete Reply Notifies the Web user that a record has been deleted successfully yz W2A    V  _  s        D  E  b      A ..$.6.H... .D.6 ..$.6.H... .D.D ..$.6.H... .D..$.6.z}ZB Detail Displays information about one record Edit Edits existing records in a FileMaker Pro database Edit Reply Notifies the Web user that a record has been edited successfully New Creates new records in a FileMaker Pro database New Reply Notifies the Web user that a new record has been created Results Displays information about many records, typically after a search Search Searches records in a FileMaker Pro database The following example uses the CDML Tool to create a format filCe that captures name and address information from the Web. The data will be stored in the Guest Book.fp3 database, available in the FileMaker Pro Web folder. After you've completed these steps, refer to the next section, "Adding CDML tags to format files" to complete the format file. To start a format file that creates new records in the Guest Book.fp3 database: 1. Open an HTML editing application, such as Claris Home Page 3.0. 2. Create a blank HTML editing document. 3. If applicable,|~ZD switch to the HTML editing mode to access the HTML tags. 4. Delete any text, including HTML tags, that the application may have automatically inserted. The template files already contain the necessary standard HTML tags. 5. From the Web folder, open the Guest Book.fp3 database. 6. From the Web Tools folder, open the CDML Tool database. 7. In the Templates tab of the CDML Tool, choose Guest Book.fp3 from the Database list. All open FileMaker Pro 4.0 database names appear in the DaEtabase list. 8. Choose the Form View layout. All layouts in the selected database appear in the Layouts list. Note The layout choice determines which fields FileMaker Pro can access. Including the Layout name increases performance because it reduces the number of fields that FileMaker Pro needs to evaluate. However, all the fields that are added to the format file must be on the specified layout. If no Layout CDML tag has been specified, FileMaker Pro designates Layout 0 as a speci}eZFal virtual layout, which contains all the fields in the database. Since it isn't an actual FileMaker Pro layout, it cannot be used to access layout-specific information such as related fields, field formats, or value lists assigned to fields. 9. Choose the New template from the Format File (Action) list. The CDML Tool templates are listed here. 10. Click the "Copy to clipboard" button to copy the New template to the Clipboard. 11. Switch to the HTML editing application and paste the NGew template into the blank HTML document. After the template has been moved to the HTML editing application, you're ready to insert CDML tags to add the functionality to your format file. See the next section, "Adding CDML tags to format files," for more information.  @A>    >?ZEUsing the CDML ToolG12H -MailFormatJFormat File for MailL2AWhat it does Specifies a text format file used for the body of the email message. This format file can contain CDML replacement tags. Value is A text file to send as the body of the message. Syntax example(s) Send mail using a form action
Other tags that are required -DB, -MailTo, -MailFrom, -MailSub, -MaC4ilHost, any action tag See also -MailCC, -MailBCC @A            3  >            Z2t -MailFormat Format File for Mailu DevGuide TagDVariableF Mail FormatHDSpecifies a text format file used for the body of the email message.LUsing the CDML templates\ANote These instructions build on the format file started in the previous section, "Using the CDML templates." To insert Text field tags in the format file that adds records to the Guest Book.fp3 database: 1. In the Tags tab of the CDML Tool, be sure Guest Book.fp3 is the selected file in the Database list. 2. In the Category list, choose Fields (Add) Dynamic. The category determines which CDML tags are displayed. The Fields (Add) Dynamic category displays tags that create field are Z2A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.``0`5\Bas on the format file. 3. In the Tags list, choose Text Field. The Text Field tag inserts a one-line field in the HTML page. Note If the pop-up menu displays blank or inappropriate choices, click the Refresh button. 4. In the Fields list, select the First Name field. The following syntax appears in the box below: First Name: 5. Click the "Copy to clipboard" button to copy the CDML syntax to the Clipboard. 6. Switch to the HTML docCument. 7. In the HTML document, insert the cursor in the line below Step 5. The New template (and the other format file templates) contains steps that can be used as a guide for inserting CDML tags. 8. Paste the tag into the appropriate location of the format file. This inserts the Text tag,which provides a field that Web users can enter data into. 9. Repeat the steps above to insert the Last Name and Email address fields. This inserts the CDML tags that provide fields for Last Nam\De and Email Address. Web users will be able to type information into these fields from a Web browser, When they submit the form, their information will be added to the Guest Book.fp3 database. When inserting fields with value lists, the CDML syntax will vary, depending on whether you want to have the value list items generated using the dynamic or static approach. In this example, the value list items will be generated using the static method, since the value list items aren't likely to Echange. To insert a field that displays a value list of choices on the Web browser: 1. In the Tags tab of the CDML Tool, select Fields Add (Static) in the Category list. 2. Select Radio Buttons from the Tags list. The Radio Buttons tag type provides an interface that allows the Web user to choose from a list of items. 3. In the Fields list, select the Use Our Products field. 4. In the Value list box, select the Yes/No value list. This adds the value list items to the syntax gener\Fated below. 5. Click the "Copy to clipboard" button to copy the CDML tag syntax to the Clipboard. 6. In the HTML document, insert the cursor below the Email field you inserted in Step 5. 7. Paste the tag into the format file. 8. Edit the HTML radio button label text. Replace the first label value, "Label" with "Yes." Replace the second label value, "Label" with "No." 9. Save the document to the Web folder inside the FileMaker Pro 4.0 folder. When this document is accessed from a WGeb browser, the Web user will be able to enter values in the inserted fields to update the Guest Book.fp3 database. For information on specific tags, see the CDML Tag Index in this CDML Reference database. For more information on dynamic and static publishing, see "Dynamic vs. static database publishing" in the "Considerations before publishing a database" section. Explore the Guest_book format files in the Web folder to see the completed solution. Use this CDML tag type To create a fo\Hrmat file that - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Action Performs an action in a FileMaker Pro database, such as create a new record or executing a script Email Sends Email using data from a FileMaker Pro database or an HTML form Fields (Add) Dynamic Retrieves field information before displaying the form in the Web browser. This is useful if displaying field value lists that mIight change. Fields (Add) Static Displays field information that has been hard coded when creating format files. Useful for value list items or field data that wont change. Fields (Display) Displays field data that does not need to be updated or added. Useful when Web users are just browsing database data. Fields (Updating) Allows Web users to edit records, which includes adding, editing, and deleting field data Find operators Contains search operator tags that determine how Web users\J find records Hidden Contains CDML tags that don't display in the Web browser. Useful for specifying the database name or determining which format file is displayed after the Web user clicks the Submit button. Links Inserts CDML syntax inside an HTML link Logical Use conditional "If, Then, Else" statements. Useful for reporting a variety of error messages in one format file. Looping Repeats the HTML and CDML tags for each item between [tag] and [/tag]. Useful for displaying records in Ka table-like format. Replacement Strips out the CDML tags and replaces them with field data. Useful for dynamically displaying FileMaker Pro field data or information, such as the Current Date. Variables (Add) Auto-enters values into a field without displaying values in the Web browser. Useful for tracking statistics about Web users. Variables (Display) Displays information in the format file without interacting with the database, such as the current Sort field #@K\EUsing the CDML ToolG1H -MailFromJ From for MailL/ This database is designed to introduce users to the support for Apple events in FileMaker Pro 2.0. It uses a variety of layouts, each intended to display a particular kind of information.  When you first open this database, you are presented with the main screen, which allows you to choose from among several options. To choose an option, click on the text or the button icon next to it. These icons are used throughout the database to let you change the information displayed without having to return to the main screen. The forward and backward arrow icons above switch to the next and previous records, respectively. You can also use the layout pop-up menu in the status area, record book or scripts to move through the database.  \A>  ]   >A p l ]j2j!`\/ Note: not all records in this database have data for every field. If you encounter a blank record while browsing one layout, you have reached the end of the information given for that layout. Choose 2another layout to continue with more information.     Using the Navigation Layouts    $ Introduction to Apple Events  This layout is intended to provide background information about Apple events, the Apple Event Object Model, and the Apple Event Registry, as well as information about support for Apple events in ^FileMaker Pro. Each record has an informative text field as well as an (optional) example.   FileMaker Objects Map  This layout is a navigation aid for getting to the information about a specific Event or Object. It displays all of the Events and Objects which are supported in FileMaker Pro 2.0, grouped according to a\/mApple Event Suites. Clicking on the title of an Object or Event will switch to a detailed view of the item.   Object Hierarchy  This layout provides a view of the containment hierarchy in FileMaker Pro. That is, objects appearing to the right are contained in objects to the right of them. This containment is indicated by dotted ^gray lines. Clicking on the title of an Object will switch to a detailed view of that class.   Objects and Events List  This layout provides a list view all of the Events and Objects which are supported in FileMaker Pro 2.0. It provides the same infomation as the FileMaker Objects Map in a different manner. Clicking on Lthe title of an Object or Event will switch to a detailed view of the item.  Using the Content Layouts   FileMaker Events \/ This layout gives detailed information about each Event which FileMaker Pro 2.0 supports. The information supplied includes the event class, ID, terminology, and input and result parameters. The  Examples field provides some samples for using the event using a fictitious syntax similar to the HyperTalk language. The Notes field provides some additional information about the event. Extensions to !Gthe standard parameters for events are denoted by their bold keywords. " 2AWhat it does Specifies the email address of the person who is sending the message. Value is An email address. Syntax example(s) Send mail using a form action
Other tags that are required -DB, -MailTo, -MailSub, -MailHost, -MailFormat, any action tag See also -MailCC, -MailBCC @A    U  ^  r      '  C  D  a      \2t-MailFrom From for Mailu DevGuide TagDVariableFFromHESpecifies the email address of the person who is sending the message.L Adding CDML tags to format files]E%Exploring the Guest Book format filesG2H -MailHostJ Host for MailL2AWhat it does Specifies the address of the SMTP server host that will actually send the message. Value is Name or IP address of an SMTP mail host. Syntax example(s) Send mail using a form action
Other tags that are required -DB, -MailTo, -MailFrom, -MailSub, -MailFormat, any action tag See also -MailCC, -MaCilBCC @A    b  k          g  h        ]2t-MailHost Host for Mailu DevGuide TagDVariableFHostHRSpecifies the address of the SMTP server host that will actually send the message.KYesM%Exploring the Guest Book format filesJ^AThis section examines the format files that comprise the Guest Book Web site, available in the Web folder in the FileMaker Pro 4.0 folder. The Guest Book solution provides an example that allows Web users to create new records in the Guest Book.fp3 FileMaker Pro database. This table shows the files and folders included with the Guest Book Web solution. File or folder Description - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ]2A ..$.6.H... .D.6 ..$.6.H... .D.g ..$.6.H... .D.Y ^B - - - - - - - - - - - - - - - - - - - Guest Book.fp3 The FileMaker Pro database file that stores new records created by Web users default.htm An HTML page that contains a link to the gb_new.htm format file gb_new.htm The format file Web users interact with in order to create records in the Guest Book.fp3 database gb_sum.htm The format file that notifies Web users that their record has been added successfully gb_err.htm An HTML page that notifies Web users if a new record could not be Ccreated Images folder The folder containing all the image files used in the Guest Book Web solution arrow_gold.gif The image file that indicates which fields are required art.jpg An image file positioned similarly to a corporate logo on the Guest Book Web pages background.gif The background image for the Guest Book Web pages The Guest book format files are fairly simple examples because Web users have limited interaction with a FileMaker Pro database. Web users can create new recordh^Ds in the Guest Book.fp3 database, but cannot add, search, edit, or delete records. For an example of a more complex Web site, explore the Shopping_cart and Employee_database format files. All the solution files in the Web folder can be viewed in any text or HTML editing application.@A>  f    >Afn(EFE%Exploring the Guest Book format filesG3H-MailSubJSubject for MailL2^2AWhat it does Specifies the subject of the email. Value is Subject text. Syntax example(s) Send mail using a form action
Other tags that are required -DB, -MailTo, -MailFrom, -MailHost, -MailFormat, any action tag See also -MailCC, -MailBCC @^2t-MailSub Subject for Mailu DevGuide TagDVariableFSubjectH#Specifies the subject of the email.L!About the Guest Book Web solutionf_ALike all HTML pages, the default.htm Guest Book solution home page contains the standard HTML tags indicating where the document Head and Body start and end. It also contains additional elements that are common on HTML pages, such as a JPEG graphic, text, and a link to the gb_new.htm format file. Because the home page doesnt interact directly with a FileMaker Pro database, it contains only HTMLnot CDML tags. Before using Custom Web Publishing, you'll need to create a custom home page a ^2A    4  =  M  _  ~  :  B      <  ~    A ..$.6.H... .D._6 ..$.6.H... .D. ..$.6.H... .D..6.H._Bnd specify the filename in the Web Companion Configuration dialog box. For more information on changing the default home page, refer to "Configuring the Web Companion plug-in" in the "Considerations before publishing a database" section. Your home page must include a hyperlink (link) with the IP address of the computer where the database you want to publish on the Web is shared. You can also include: a description of what your database contains a Table of Contents or a list of whatC your Web pages contain your email address, or an automated email link so users can contact you if they have questions your company logo or other graphics If the next format file to be displayed doesn't contain any Replacement CDML tags, the only information that the hyperlink must contain is the path to the next format file to display. Below is a sample of an HTML hyperlink tag: Guest Book If, however, the next format file to be displayed does contain Replac_Dement CDML tags, you'll need to supply the following minimum information in the link before any CDML replacement tags can be replaced with data by FileMaker Pro: HTTP://IPNumOrName/Path/FMPro?-db=DatabaseName&-format=FormatFileName&-AnActionTag@A{ t likely to change. E%Exploring the Guest Book format filesG4H-MailToJTo address for mailL2AWhat it does Specifies the email address of the person who the message is going to. Value is An email address. Syntax example(s) Send mail using a form action
Other tags that are required -DB, -MailFrom, -MailSub, -MailHost, -MailFormat, any action tag See also -MailCC, -MailBCC @A    V  _  s    `  g  D  E  b      _2t-MailTo To address for mailu DevGuide TagDVariableFToHFSpecifies the email address of the person who the message is going to.LExploring the home page^`AThe gb_new.htm file is the format file used to create new records in the Guest Book.fp3 FileMaker Pro database. It is accessed by a link from the default.htm home page. The bold text below is HTML and CDML syntax that appears in the gb_new.htm format file.
The FORM HTML tag specifies that a form will be filled out within the HTML document and alerts the Web server, in this case FileMaker Pro 4.0, that FileMaker Pro will be processing the form. The -db CDML tag is critical to every format file; it specifies the name of the database that the Web user interacts with. The TYPE attribute is HIDDEN to prevent the CDML from being displayed in the Web browser. The NAME attribute specifies the -db CDML tag, whose VALUE specifies the exact name of the FileMaker Pro database that will store the records created from the Web browser. The previous two lines determine which format file is displayed after the Web user clicks the Submit button. The -format tag specifies the name of the format file displayed when the form has been processed successfully. The -error tag is used if FileMaker Pro cannot process the form. For example, if all the required fields do not have values, FileMaker Pro will display the gb_Err.htm format file. The -lay CDML tag specifies the name of the layout that is used to control which fields are available to be displayed. The layout also provides value lists for fields, allows access to related data, and controls which fields are listed. If no layout is specified, the layout is considered to contain all fields in the database (but not related fields). The next HTML INPUT tags define input objects that reference the First Name, Last Name, and Email Address fields onE the format file. The "text" TYPE signifies that text will be entered into a one-lined box. The corresponding VALUE is blank, which will display as an entry "field" in the Web browser. These three text areas correspond with the field names in the FileMaker Pro database Guest Book.fp3. The First Name, Last Name, and Email AddA`Fress fields all have the Validation option "Not empty" selected in Field Options. The "radio" and "checkbox" types are used to present the Web user with a list of options to choose from. YesNo Include me on a mailing list for industry related products. The Submit HTML Input tag appears sends the data that Web userGs typed to the Web server. The -new tag alerts FileMaker Pro to create a new record in the database whose name is specified by the VALUE in the -db tag. E%Exploring the Guest Book format filesG5H-MaxJ Max RecordsL502`2AWhat it does Specifies the maximum number of records that should be returned per page. Value is A number from 1 thru 2147483647, or the word "All". The default value is 25. Syntax example(s) Specify the maximum number of records using a link First 10 Records Specify the maximum number of records using a form action B
Other tags that are required -DB, -Format, -Find or -FindAll See also -Skip @^`2t-Max Max Recordsu DevGuide TagDVariableF Max RecordsHISpecifies the maximum number of records that should be returned per page.L$Exploring the New Record format fileXaAIThe gb_sum.htm file is returned when a record is successfully created in the Guest Book.fp3 database. The [FMP-field] CDML tags add a personal touch by including the first and last name that the Web user typed in the gb_add.htm format file. A link at the bottom of the document returns the Web user to the home page, default.htm.IE%Exploring the Guest Book format filesG6H-OpJOperatorL begins with2 8`2AB    Y  b      Q    F  I            BA ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D. \Pp a2AWhat it does Specifies the comparison operator to apply to the field name/value pair that follows it in a -Find action. Value is The operator to use. There are short and long versions of each operator. The default operator is "begins with". The list of valid operators is: Short Long FileMaker Pro Equivalent Operator eq equals =word cn contains "word" bw begins with word* ew ends with *word gt greater than > word gte greater than or equals >= word lt less than < word lte less tBhan or equals <= word neq not equals omit, word You can use any FileMaker Pro Find operator by specifying the begins with (bw) parameter. E.g., To specify the "Find Content Match" (==) operator, you would specify the begins with parameter (bw) and then you would place the characters "==" before the actual search criteria. The required lines would look like this: Syntax exampleTa2C(s) Specify an operator using a link Find Bob but not Bobbie Specify an operator using a form action
OtDKher tags that are required -DB, -Format, field name, -Find See also -LOP@a2t -Op Operatoru DevGuide TagDVariableF9Operator (Hidden) Operator (Number/Dates) Operator (Text)HjSpecifies the comparison operator to apply to the field name/value pair that follows it in a -Find action.LExploring the Reply format fileYbAThe gb_err.htm file is returned when a record cannot be added to the Guest Book.fp3 database. An error is likely to occur when fields specified by the database designer in the FileMaker Pro Validation panel of Entry Options don't contain a required value. Similar to the Guest Book home page, default.htm, all of the tags are HTML tags. For a more complex error handling example, view the errors.htm sample file in the Employee_database folder in the Web folder. Note If you don't use the -eBrror CDML tag, which species the Error Response filename, the FileMaker Pro Web Companion will automatically display an error page.qE%Exploring the Guest Book format filesG7H-RecIDJ Record IDL2 Sa2A)    z      B  S  T  g  h  }  ~                          b BK             .  1  c    F  H          6 a2A( ..$.6.H... .D..3..=. ..$.6.H... .D.6 ..$.6.H... B.D. ..$.6.H... .D.N^qb2AWhat it does Defines which record should be operated on. Used mainly by the -Edit, -Dup (duplicate), and -Delete actions. Value is A record ID, which is a unique specifier to a record in a FileMaker Pro database. The [FMP-CurrentRecID] replacement tag is used to get the ID of a record. Syntax example(s) Delete a record using a link Delete record with ID 4 Delete a record using a form action
Other tags that are required -DB, -Format, any action tag See also [FMP-CurrentRecID] T@b2t-RecID Record IDu DevGuide TagDVariableF Record IDHlDefines which record should be operated on. Used mainly by the -Edit, -Dup (duplicate), and -Delete actions.LExploring the Error page`cE ReferenceG8H-SkipJ Skip RecordsL2AWhat it does Tells FileMaker Pro how many records to skip before displaying the set of records. Used with the -Max tag to display a series of pages with a subset of the current found set on each one. Value is A number from 0 through 2147483647, or the word "All". If the value is greater then the number of records in the found set or the value is "All" then the last record is displayed. The default value is 0. Syntax example(s) Display some records using a link Display records 11 thru 15 in the database Display some records using a form action
Other tags that are requireC3d -DB, -Format, -Find or -FindAll See also -Max @Aj                  R  |  2  7             jc2t-Skip Skip Recordsu DevGuide TagDVariableF Skip RecordsHRTells FileMaker Pro how many records to skip before displaying the set of records.KYesM Reference`dAFollow these tips to increase the performance of your Web site: Design layouts with the Web in mind; layouts should only contain fields that you are publishing. Use the -lay CDML tag to reduce the number of fields FileMaker Pro 4.0 needs to evaluate. If a field included on a format file is not on the layout specified with the -lay CDML tag, it will not appear. Use static Web publishing with fields containing value lists if the value list items won't be changing. For more informati c2A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D. P)P4PMQdBon, see "Dynamic vs. static database publishing" in the "Considerations before publishing a database" section. Use the -max CDML tag to reduce the number of records being returned. If you're publishing graphic images directly from a container field, store JPEG and GIF images (instead of PICT or BMPs). This prevents FileMaker from converting the images before passing them to a Web browser. Use small graphics created with a lower dpi (dots per inch). Because monitors display imagesC at a relatively low dpi, creating images that store higher dpis add unnecessary overhead. Note Many performance issues are general HTML/Web server issues. Refer to an HTML reference book for general tips.@AA8ed @d Options. The "radio"E ReferenceG9H -SortFieldJ Sort Field2d2AWhat it does Specifies the field that will be used for sorting. This tag can been used multiple times to perform multiple field sorts. The order in which the tag appears in the URL or format file will determine the order of the fields. Value is Name of a FileMaker Pro field. Syntax example(s) Specify sort field using a link Sort by First Name Specify sort field using a form action
Other tags that are required -DB, -Format, -Find or -FindAll See also -SortOrder @d2t-SortField Sort Fieldu DevGuide TagDVariableF Sort FieldH2Specifies the field that will be used for sorting.LPerformance tipseeAProblem: After changing a selection in the CDML Tool, the list no longer presents appropriate choices. Solution: Click the Refresh button after changing a selection in the CDML Tool. If this does not update the choices in a list, close and re-open the CDML Tool. Problem: Upper ASCII characters don't display properly in the Web browser. Solution: HTML doesn't offer direct support of upper ASCII or non-ASCII characters. To use these extended characters, you need to encode them by typ d2A          /  P  |                @  A  ^      A ..$.6.H... .D./6 ..$.6.H... .D.@ ..$.6.H... .D.eBing decimal or entity references. When working with some of the CDML Replacement tags, for example, publishing data from a FileMaker Pro field, you can enable FileMaker Pro to automatically encode upper ASCII characters by choosing the HTML encoding parameter in the CDML Tool. For more information on upper ASCII character encoding, refer to an HTML reference book. Problem: A URL containing CDML tags has not been processed correctly. Solution: URLs should follow the following format: CHTTP://IPAddress/Path/Filename?CDMLTagName1=Value1&Name2=Value2 If a tag doesn't require a value then the URL would look like this: HTTP://IPAddress/Path/Filename?CDMLTagName1=&Name2=Value2 Additional considerations: Each CDML tag (and its accompanying value) must be separated by an ampersand (&) Each CDML tag "name" attribute must be followed by a "=" Upper ASCII characters may need to be encoded (for example, you can't have a space in a URL). Problem: Replacement tagseD2 aren't displaying replacement data. Solution: Before any CDML replacement tags can be replaced with data by FileMaker Pro, the URL accessing the format file containing the tags must have the following minimal information: HTTP://IPAddress/Path/FMPro?-db=DatabaseName&-format=FormatFileName&-AnActionTag@A<ZL - 4.0th(ZLE ReferenceG10H -SortOrderJ Sort OrderL ascending2e2AWhat it does Indicates the direction of a sort. If used, -SortOrder must directly follow the -SortField it applies to. Value is The sort order. The list of valid sort orders is: Keyword (short) Keyword (long) FileMaker Pro Equivalent Operator Ascend Ascending Sort a to z, -10 to 10 Descend Descending Sort z to a, 10 to -10 Custom Sort using the value list associated with the field on the layout Custom=Value List Name Sort using the value list named Syntax example(Bs) Specify sort field using a link Sort by First Name, descending Specify sort field using a form action
e2C type="submit" name="-FindAll" value="Sort by Color"> Other tags that are required -DB, -Format, -Lay (if using a custom sort order), -Find, or -FindAll See also -SortField @A    y        !  "  M  N                    O  Y         Bo     :      Ze2t-SortOrder Sort Orderu DevGuide TagDVariableF Sort OrderH"Indicates the direction of a sort.LTroubleshootingfG11H-TokenJTokenL2AWhat it does Passes any value to a format file. Whatever value you set -Token equal to can be retrieved in the format file by using the [FMP-CurrentToken] tag, or it can be used in an [FMP-If] tag. Value is User defined. Syntax example(s) Pass a record ID as a token using a form action
Continue to pass as token Specify a token using a link Set a token Other tags that are required -DB, -Format, any action tag See also [FMP-CurrentToken] s@A           %      J  e                  7  V  _  f2t -Token TokenuTagv6DVariableFTokenH"Passes any value to a format file.EgG12H[FMP-ClientAddress]JClient Address2AWhat it does [FMP-ClientAddress] is replaced with the current client's domain name. If the domain name is not available, the client's IP number is provided. Note Looking up the domain name of client can be a lengthy operation; consider using [FMP-ClientIP] if all you want to track is a specific client. Syntax example(s) Return current address using an HTML file Your Domain Address is: [FMP-ClientAddress] See also [FMP-ClientIP] "@A         8  J  u            f2A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.333333̙33ffg2t"[FMP-ClientAddress] Client AddressuTagv6D ReplacementFClient AddressHF[FMP-ClientAddress] is replaced with the current client's domain name.@hG13H[FMP-ClientIP]JClient IP Address2A1What it does [FMP-ClientIP] is replaced with the current client's IP address. Syntax example(s) Return client's current IP address using an HTML file Your IP number is: [FMP-ClientIP] See also [FMP-ClientAddress] 1@A     P  b            g2A ..$.6.H... .D.J6 ..$.6.H... .D. ..$.6.H... .D.Y  b h2t [FMP-ClientIP] Client IP AddressuTagv6D ReplacementFClient IP AddressH@[FMP-ClientIP] is replaced with the current client's IP address.AiG14H[FMP-ClientPassword]JClient Password2AWhat it does [FMP-ClientPassword] is replaced with the current HTTP-authenticated client password. Syntax example(s) Return the client password using an HTML file Your password is: [FMP-ClientPassword] @A    e  w     AB ..$.6.H... .D.w6 ..$.6.H... .D. B h2A ..$.6.H... .D.b6 ..$.6.H... .D. ..$.6.H... .D.Y  b it$[FMP-ClientPassword] Client PassworduTagv6D ReplacementFClient PasswordHU[FMP-ClientPassword] is replaced with the current HTTP-authenticated client password.B€G37H[FMP-ClientType]J Client Type2AWhat it does [FMP-ClientType] is replaced with the current browser client type. The browser client type, also known as the "user agent", is an arbitrary text string of up to 256 characters sent by the browser in the HTTP request header. The client type can be used in the [FMP-If] tag with the "contains" operator to determine what sort of browser the person accessing your Web site is using. Syntax example(s) Return the client type using an HTML file Your browser type is: [FMP-Client€2BType] Checking the type of browser in an HTML file [FMP-If: ClientType .cn. Mozilla/2.0 ] This page contains JavaScript that will work only on Netscape 3.0 compatible or better browsers. [/FMP-If] Some common browser client types Browser Browser Client Type (User Agent) Netscape Navigator 3.0 (Mac PPC) Mozilla/3.0 (Macintosh; I; PPC) Netscape Navigator 3.0C{ (Win 95) Mozilla/3.0 (Win95; I) Microsoft Internet Explorer 2.1 (Mac PPC) Mozilla/2.0 (compatible; MSIE 2.1; Mac_PowerPC) Microsoft Internet Explorer 3.0 (Win 95) Mozilla/2.0 (compatible; MSIE 3.0; Windows 95) America Online 3.0 (Mac PPC) Mozilla/2.0 (compatible; AOL 3.0; Mac_PowerPC) America Online 3.0 (Win 95) Mozilla/2.0 (compatible; AOL-IWENG 3.0; Win16) W@€2t[FMP-ClientType] Client TypeuTagv6D ReplacementF Client TypeHB[FMP-ClientType] is replaced with the current browser client type.;€G38H[FMP-ClientUserName]JClient User Name2AWhat it does [FMP-ClientUserName] is replaced with the client's user name from HTTP authentication. Syntax example(s) Return the client's user name using an HTML file Your name is: [FMP-ClientUserName] @A    f  x     AB ..$.6.H... .D.x6 ..$.6.H... .D., B €2A~              b        ,  -  N  O  S  Z  \  |  ~A ..$.6.H... .D.6 ..$.6.H... .D., ..$.6.H... .D.O..B7..... "€t%[FMP-ClientUserName] Client User NameuTagv6D ReplacementFClient User NameHV[FMP-ClientUserName] is replaced with the client's user name from HTTP authentication./€G39H[FMP-ContentMimeType]JContent MIME Type2AWhat it does [FMP-ContentMIMEType] is replaced with nothing in the HTML and changes the MIME type returned to the browser. This tag changes the content type line in the HTTP header to the MIME type specified. The default MIME type for format files return by the FileMaker Pro Web Companion is text/html. Consult RFC 2068, Hypertext Transfer Protocol -- HTTP/1.1 for more infomation about HTTP header lines and MIME type specification. Syntax [FMP-B ContentMIMEType: Mime Type ] Parameter(s) First parameter: MIME type. Syntax example(s) Change the Content MIME type using an HTML file Some sample [FMP-ContentMIMEType: text/plain] text. €2@AV    ;  l               6  7  8  J  {      VAB ..$.6.H... .D.J6 ..$.6.H... .D.J  { Bt'[FMP-ContentMimeType] Content MIME TypeuTagv6D ReplacementFContent Mime TypeHm[FMP-ContentMIMEType] is replaced with nothing in the HTML and changes the MIME type returned to the browser.A€G40H[FMP-CurrentAction]JCurrent Action2€2AWhat it does [FMP-CurrentAction] is replaced with the name of the current action, such as: find, findall, new, edit, delete, view, or dup. Syntax [FMP-CurrentAction: Encoding ] Parameter(s) First parameter: Encoding. Use one of the following reserved words: HTML - (default) Perform HTML encoding Display - Returns the action in the language specified by the Web Companion Configuration Syntax example(s) Return the name of the current action using an HTML file Last action was: B_[FMP-CurrentAction] M@A                           €2t"[FMP-CurrentAction] Current ActionuTagv6D ReplacementFCurrent ActionHt[FMP-CurrentAction] returns the name of the current action, such as: find, findall, new, edit, delete, view, or dup.,€G41H [FMP-Cookie]JCookie2AWhat it does [FMP-Cookie] is replaced with the current value of the specified cookie. A cookie is saved by the browser; therefore, your user's browser must support this feature. Older browsers may not support this feature. Syntax [FMP-Cookie: CookieName , Encoding ] Parameter(s) First parameter: Name of the cookie to return. Second parameter (optional): Encoding. Use one of the following reserved words: Raw - (default) Don't perform any encoding URL - Perform URL encoding Y€2AB ..$.6.H... .D.6 ..$.6.H... .D..rB€2BSyntax example(s) Return the value of the current cookie using an HTML file [FMP-If: CurrentCookie:ColorChoice .neq. ""] Thanks for coming back! The latest products in [FMP-Cookie: ColorChoice] are listed below. [/FMP-If] See also [FMP-SetCookie] r@Aj                         ;      W  X  `  j€2t[FMP-Cookie] CookieuTagv6BAURL - Perform URL Encoding @A*    *D ReplacementFCurrent CookieHO[FMP-CurrentCookie] is replaced with the current value of the specified cookie.N€G42H[FMP-CurrentDate]J Current Date2AWhat it does [FMP-CurrentDate] is replaced with the current date. Syntax [FMP-CurrentDate: Format ] Parameter(s) First parameter (optional): Format. Use one of the following reserved words: Short - (default) returns the current date in the OS's definition of a short date (e.g. 3/3/98). Abbrev - returns the current date in the OS's definition of an abbreviated date (e.g. Tue, Mar 3, 1998). Long - returns the current date in the OS's definition of a long date (e.g. Tuesday, MarBch 3, 1998). Syntax example(s) Returns the current date using an HTML file Current date is: [FMP-CurrentDate] @ €2A ..$.6.H... .D.6 ..$.6.H... .D.X ..$.6.H... .D.333333̙33ff€2t[FMP-CurrentDate] Current DateuTagv6D ReplacementF Current DateH4[FMP-CurrentDate] is replaced with the current date.<€G43H[FMP-CurrentDay]J Current Day2AWhat it does [FMP-CurrentDay] is replaced with the name of the current day of the week. Syntax [FMP-CurrentDay: Format ] Parameter(s) First parameter (optional): Format. Use one of the following reserved words: Short - (default) returns the current day name in the OS's definition of a short day name (e.g. MON). Long - returns the current day name in the OS's definition of a long day name (e.g. Monday). Syntax example(s) Returns the current day using an HTML file Current day iBgs: [FMP-CurrentDay: Long] U@ €2A.    D  J  ^  d  i  v          ;  O  ^  .A$ ..$.6.H... .D.v6 ..$.6.H... .D. ..$.6.H... .D.6 ..$Bs.6.H... .D.  ^€2t[FMP-CurrentDay] Current DayuTagv6D ReplacementF Current DayHJ[FMP-CurrentDay] is replaced with the name of the current day of the week.;€G44H[FMP-CurrentError]J Current Error2AWhat it does [FMP-CurrentError] is replaced with the FileMaker Pro error number from the current action. For information on possible result numbers, search FileMaker's onscreen Help for status functions and then find "Status(CurrentError) function". Syntax example(s) Return the current error number using an HTML file The last operation failed with error number [FMP-CurrentError]. @A        B  q    t [FMP-CurrentError] Current ErroruTagv6D ReplacementF Current Error €2A.    Z  `  s  y  ~                  .AB ..$.6.H... .D.~6 ..$.6.H... .D. 8|}  B€H[FMP-CurrentError] is replaced with the FileMaker error number from the current action. See FileMaker error code numbers for possible results.2€G45H[FMP-CurrentFind]J Current Find2AWhat it does Repeats the HTML between [FMP-CurrentFind] and [/FMP-CurrentFind] for each find criteria that was part of the request that created this page. Syntax example(s) Return information about the current find using an HTML file Current find request is: [FMP-CurrentFind] Field: [FMP-FindFieldItem], Op: [FMP-FindOpItem], Value: [FMP-FindValueItem]
[/FMP-CurrentFind] Other tags that are required [/FMP-CurrentFind] See also [FMP-FindFieldItem], [FMP-FindOpItem], [FMP-FindValueItem] @"€2t[FMP-CurrentFind] Current FinduTagv6DReplacement (looping)F Current FindHRepeats the HTML between [FMP-CurrentFind] and [/FMP-CurrentFind] for each find criteria that was part of the request that created this page.>€G46H[FMP-CurrentFoundCount]JCurrent Found Count2ALWhat it does [FMP-CurrentFoundCount] is replaced with the total number of records in the current found set. Syntax example(s) Returns the total number of records in the found set using an HTML file Record(s) in found set: [FMP-CurrentFoundCount] L@A    n       €2A            t    3  4  Q  f  n  A ..$.6.H... .D.6 ..$.6.H... .D.3 ..$.6.H... .D.t`q!€2t+[FMP-CurrentFoundCount] Current Found CountuTagv6D ReplacementFCurrent Found CountH^[FMP-CurrentFoundCount] is replaced with the total number of records in the current found set.'€G47H[FMP-CurrentLOP]JCurrent Logical Operator2AJWhat it does [FMP-CurrentLOP] is replaced with the logical operator used for the current search. Syntax example(s) Returns the current logical operator using an HTML file You just did an "[FMP-CurrentLOP]" style search. See also -LOP J@A     c  u     ;  C   Y€2AB ..$.6.H... .D.6 ..$.6.H... .D.34"3&@B€2t)[FMP-CurrentLOP] Current Logical OperatoruTagv6D ReplacementFCurrent Logical OperatorHS[FMP-CurrentLOP] is replaced with the logical operator used for the current search.,€G48H[FMP-CurrentRecID]JCurrent Record ID2AWhat it does [FMP-CurrentRecID] is replaced with the record keya number representing the current record. If [FMP-CurrentRecID] is placed between the [FMP-Record] and [/FMP-Record] tags, [FMP-CurrentRecID] is replaced with the record key of each record in the sequence. Syntax example(s) Delete a record using a form action
Display a hit list using [FMP-CurrentRecID] instead of [FMP-LinkRecID] [FMP-Record]Click here to view record [FMP-CurrentRecordNumber].
[/FMP-Record] See also -RecID, [FMP-LinkRecID]  @€2t$[FMP-CurrentRecID] Current Record IDuTagv6D ReplacementFCurrent Record IDH_[FMP-CurrentRecId] is replaced with the record keya hex value representing the current record.;€G49H[FMP-CurrentRecordCount]JCurrent Record Count2AnWhat it does [FMP-CurrentRecordCount] is replaced with the total number of records in the database. Syntax example(s) Returns the total number of records in the database using an HTML file Total number of records in the database is: [FMP-CurrentRecordCount] n@A    f  x       €2A       $  I      p            A ..#.5.Gp....Cx.|$5l ..#.5.Gp....Cx.| ..#.5.Gp....Cx.|€2t-[FMP-CurrentRecordCount] Current Record CountuTagv6D ReplacementFCurrent Record CountHV[FMP-CurrentRecordCount] is replaced with the total number of records in the database.%€G50H[FMP-CurrentRecordNumber]JCurrent Record Number2A@What it does [FMP-CurrentRecordNumber] is replaced with the record's position in the current found set. Syntax example(s) Returns the current record number using an HTML file Current record in found set: [FMP-CurrentRecordNumber] @@A    j  |      Y€2AB ..$.6.H... .D.x6 ..$.6.H... .D.%{s  BT€2t/[FMP-CurrentRecordNumber] Current Record NumberuTagv6D ReplacementFCurrent Record NumberHZ[FMP-CurrentRecordNumber] is replaced with the record's position in the current found set.%€G51H[FMP-CurrentSkip]JCurrent Skip Setting2A~What it does [FMP-CurrentSkip] is replaced with the number of records skipped from the beginning of the found set. This is useful as a value to pass to the -Skip tag. Syntax example(s) Returns current record with -Skip instead of -RecID using a link View more details See also -Skip ~@A         8  G  n  v   Y€2AB ..$.6.H... .D.|6 ..$.6.H... .D.33=33>33?33ff@B€2t&[FMP-CurrentSkip] Current Skip SettinguTagv6D ReplacementF Current SkipH[FMP-CurrentSkip] is the number of records skipped from the beginning of the found set. This is useful as a value to pass to the -Skip tag.5€G52H[FMP-CurrentSort]JCurrent Sort Order2AWhat it does Repeats the HTML between [FMP-CurrentSort] and [/FMP-CurrentSort] for each sort argument that was part of the request that created this page. Syntax example(s) Return information about the current sort using an HTML file Current sort order is:
[FMP-CurrentSort] Field: [FMP-SortFieldItem], Order: [FMP-SortOrderItem]
[/FMP-CurrentSort] Other tags that are required [/FMP-CurrentSort] See also [FMP-SortFieldItem], [FMP-SortOrderItem] p@ €2A ..$.6.H... .D.6 ..$.6.H... .D.n ..$.6.H... .D.fx€2t$[FMP-CurrentSort] Current Sort OrderuTagv6DReplacement (looping)F Current SortHRepeats the HTML between [FMP-CurrentSort] and [/FMP-CurrentSort] for each sort argument that was part of the request that created this page..€G53H[FMP-CurrentTime]J Current Time2AWhat it does [FMP-CurrentTime] is replaced with the current time. Syntax [FMP-CurrentTime: Format ] Parameter(s) First parameter (optional): Format. Use one of the following reserved words: Short - (default) returns the current time in the OS's definition of a short time (e.g. 10:12 AM). Long - returns the current time in the OS's definition of a long time (e.g. 10:12:32 AM). Syntax example(s) Returns the current time using an HTML file Current time is: [FMP-CurrentTime: shoBTrt] B@ €2A             a  p     '  <  D  A ..$.6.H... .D.6 ..$.6.H... .D.  ..$.6.H... .D.#$%&'()*+,-./01€2t[FMP-CurrentTime] Current TimeuTagv6D ReplacementF Current TimeH4[FMP-CurrentTime] is replaced with the current time..€G54H[FMP-CurrentToken]J Current Token2AWhat it does [FMP-CurrentToken] is replaced with the value of -Token variable tag used to create the current page. Syntax [FMP-CurrentToken: Encoding ] Parameter(s) First parameter (optional): Encoding. Use one of the following reserved words: Raw - Don't perform any encoding URL - Perform URL encoding HTML - (default) Perform HTML encoding Syntax example(s) Returns the current token using an HTML file Your last reply was [FMP-CurrentToken: HTML]. See also -Token 9@ €2A.    D  J  ^  d  i  v                .AB ..$.6.H... .D.6 ..$.6.H... .D.- Revert RecordB€2t [FMP-CurrentToken] Current TokenuTagv6D ReplacementF Current TokenHe[FMP-CurrentToken] is replaced with the value of -Token variable tag used to create the current page.C€G55H [FMP-Field]JField2AWhat it does [FMP-Field] is replaced with the contents of the specified field. The layout specified by the -Lay tag that was part of the request that created this page must contain the fields to be displayed. Related fields cannot be used if the -Lay tag was not specified. Syntax [FMP-Field: Field name , Encoding ] Parameter(s) First parameter: The name of the field Second parameter (optional): Encoding. Use one of the following reserved words: Raw - Don't perform any encoding u€2A~    u  {               f  x        '  (  0  ~A ..$.6.H... .D.x6 ..$.6.H... .D.' ..$.6.H... .D.MW({€2B URL - Perform URL encoding HTML - (default) Perform HTML encoding Break - Perform HTML encoding and replace soft returns with
Syntax example(s) Create an editable area for field data using an HTML file First Name: Return field data using an HTML file First Name: [FMP-Field: First Name] @A        +  6  8  B  C  E  R      z            I  V  _  l  m  €2t[FMP-Field] FielduTagv6D ReplacementFFieldHA[FMP-Field] is replaced with the contents of the specified field.L€G56H[FMP-FindFieldItem]JFind Field Item2AWhat it does [FMP-FindFieldItem] is replaced with the field name that was part of the find request that created this page. [FMP-FindFieldItem] must be placed between the [FMP-CurrentFind] and [/FMP-CurrentFind] tags. Syntax [FMP-FindFieldItem: Encoding ] Parameter(s) First parameter (optional): Encoding. Use one of the following reserved words: Raw - Don't perform any encoding URL - Perform URL encoding HTML - (default) Perform HTML encoding Syntax example(s) Return the cur Y€2AB ..$.6.H... .D.6 ..$.6.H... .D.z   B€2Brent find criteria using an HTML file Current find request is:
[FMP-CurrentFind] Field: [FMP-FindFieldItem], Op: [FMP-FindOpItem] Value: [FMP-FindValueItem]
[/FMP-CurrentFind] Other tags that are required [FMP-CurrentFind], [/FMP-CurrentFind] See also [FMP-FindOpItem], [FMP-FindValueItem] @A~                a  b        R  c  [  y      ~€2t#[FMP-FindFieldItem] Find Field ItemuTagv6D ReplacementFFind Field ItemHh[FMP-FindFieldItem] is replaced with the field name that was part of the request that created this page.C€G57H[FMP-FindOpItem]JFind Operator Item2AWhat it does [FMP-FindOpItem] is replaced with the search opererator that was part of the find request that created this page. [FMP-FindOpItem] must be placed between the [FMP-CurrentFind] and [/FMP-CurrentFind] tags. Syntax [FMP-FindOpItem: Format ] Parameter(s) First parameter (optional): Format. Use one of the following reserved words: Short - Returns the find operator in short format (i.e: bw, cn, eq, ...) Long - (default) Returns find operator in long format (i.e. begins €2A ..$.6.H... .D.6 ..$.6.H... .D.[ ..$.6.H... .D.++++++€2Bwith, contains, equals, ...) Display - Returns the find operator in the language specified by the Web Companion Configuration Syntax example(s) Return the current find criteria using an HTML file Current find request is:
[FMP-CurrentFind] Field: [FMP-FindFieldItem], Op: [FMP-FindOpItem] Value: [FMP-FindValueItem]
[/FMP-CurrentFind] Other tags that are required [FMP-CurrentFind], [/FMP-CurrentFind] See also [FMP-FindFieldItem], [FMP-FindValueItem] w@€2t#[FMP-FindOpItem] Find Operator ItemuTagv6D ReplacementFFind Operator ItemHl[FMP-FindOpItem] is replaced with the search opererator that was part of the request that created this page.B€G58H[FMP-FindValueItem]JFind Value Item2AWhat it does [FMP-FindValueItem] is replaced with the value that was part of the find request that created this page. [FMP-FindValueItem] must be placed between the [FMP-CurrentFind] and [FMP-CurrentFind] tags. Syntax [FMP-FindValueItem: Encoding ] Parameter(s) First parameter (optional): Encoding. Use one of the following reserved words: Raw - Don't perform any encoding URL - Perform URL encoding HTML - (default) Perform HTML encoding Syntax example(s) Return the current f €2A                \  ]  p                D  L  A- ..$.6.H... .D.]6 ..$.6.H... .D.o ..$.6.H... .D.6 ..$ €2B.6.H... .D. ..$.6.H... .D. 팠ퟰ0€2Bind criteria using an HTML file Current find request is:
[FMP-CurrentFind] Field: [FMP-FindFieldItem], Op: [FMP-FindOpItem], Value: [FMP-FindValueItem]
[/FMP-CurrentFind] Other tags that are required [FMP-CurrentFind], [/FMP-CurrentFind] See also [FMP-FindFieldItem], [FMP-FindOpItem] @A                 [  \        ~    X  Y  v      €2t#[FMP-FindValueItem] Find Value ItemuTagv6D ReplacementFFind Value ItemHc[FMP-FindValueItem] is replaced with the value that was part of the request that created this page.;€G59H [FMP-Header]JHeader2AWhat it does The HTTP header of the page sent to the browser is replaced with the text between the [FMP-Header] and [/FMP-Header] tags. None of the text between the tags will appear in the HTML portion of the page. The [FMP-Header] tag must be placed before the [FMP-ContentMimeType] and [FMP-SetCookie] tags in order for them to function properly. The [FMP-Header] tag will replace the current header entirely. Since these tags modify the header, their position is important. One exampl €2A ..$.6.H... .D.6 ..$.6.H... .D.X ..$.6.H... .D.h6.. .€2Be of the use of a header would be to redirect a browser to a different HTTP server instead of displaying the formatted page. Consult RFC 2068, Hypertext Transfer Protocol -- HTTP/1.1 for more infomation about HTTP headers. Syntax example(s) Direct the user's brower to the FileMaker home page after processing the request [FMP-Header] HTTP/1.0 302 Moved Temporary Location: http://www.FileMaker.com [/FMP-Header] Other tags that are requiredC [/FMP-Header] @A     t        \  j  k        €2t[FMP-Header] HeaderuTagv6D ReplacementFHeaderHzThe HTTP header of the page sent to the browser is replaced with the text between the [FMP-Header] and [/FMP-Header] tags.$€G60H[FMP-If]JIf2AWhat it does Along with the [FM-Else] and [/FMP-If] tags, the [FMP-If] tag controls what HTML is shown by the browser. The [FMP-Else] tag is optional. Syntax [FMP-If: LeftSide Operator RightSide ] ...HTML if condition is true... [FMP-Else] ...HTML if condition is false... [/FMP-If] Parameter(s) First parameter: The left side of the operator. Can be one of the following reserved words: Boolean comparisons CanDelete - Do password privileges allow for deleting records? Ca €2A ..$.6.H... .D. 6 ..$.6.H... .D. ..$.6.H... .D.ZLScript:ZLScript:€2BnEdit - Do password privileges allow for editing records? CanNew - Do password privileges allow creation of new records? IsSorted - Is the database currently sorted? Numeric comparisons CurrentError - Returns the current error number. See FileMaker Pro error code numbers, in the develop guide section of this database, for possible values CurrentFoundCount - Returns how many records are in the found set CurrentMax - Returns the current -Max value, which describes how many recoCrds should be shown CurrentRecordCount - Returns how many records are in the database CurrentRecordNumber - Returns the current record number CurrentSkip - Returns how many records were skipped to the beginning of the range RangeEnd - Returns the record number of the last record in the range RangeSize - Returns the number of records that were actually shown in the range RangeStart - Returns the record number of the first record in the range Text comparisons ClientPasswor€2Dd - Returns the client's password ClientType - Returns the type of browser the Web user is using ClientUsername - Returns the client's user name as typed in by the Web user in the authentication dialog box CurrentAction - Returns the current action (e.g.: Delete, New) CurrentCookie: Cookie Name - Returns the value of the named cookie CurrentDatabase - Returns the current database name CurrentFormat - Returns the name of the current format file CurrentLayout - Returns the curErent layout name CurrentToken - Returns the current token value Text or numeric comparisons depending on field type Field: Field Name - Name of a field to compare with Value list comparisons ValueListItem - Returns the current value list item Date/time comparisons CurrentDate - Returns the current date in short format CurrentDay - Returns the current day name in short format CurrentTime - Returns the current time in short format Address comparisons ClientAdd€2Fress - Returns the domain address ClientIP - Returns the IP address Second parameter: The comparison operator .eq. - equals .neq. - not equal to .gt. - greater than .gte. - greater than or equal to .lt. - less then .lte. - less than or equal to .cn. - contains .ncn. - does not contain Third parameter: The right side of the operator, depends on the comparison type of the left side. Boolean comparisons (only with .eq. and .neq. operators) False True NumeGric comparisons (only with eq, neq, gt, gte, lt, lte) Field: Field Name - Name of a field to compare with, should be a number Literal Numeric Value - A number Text comparisons (all operators allowed) Field: Field Name - Name of a field to compare with Literal Value - Any literal text that does not contain a ] character (right square bracket) Value list comparisons (all operators, except for Checked, which can only use eq) Checked - Used with .eq. to test if the €2Hvalue list item should be checked Field: Field Name - Name of a field to compare with Literal Value - Any literal text that does not contain a ] character (right square bracket) Date/time comparisons (only with eq, neq, gt, gte, lt, lte) Literal Value - Proper date, day, or time literal in current OS's format Address comparisons (only with eq) List of Literal Value - list of address or IP numbers, with wild cards if wanted, separated by commas Notes about liteIral values: If specifying a literal value, FileMaker Pro treats everything from the end of the operator to the closing right square bracket (minus leading and trailing blanks) as the comparison value. Don't enclose literal values in quotes. If you include quotes, they're treated as part of the comparison value. Literal values are not case-sensitive and can include spaces within text or number values. Syntax example(s) Boolean example Decide which HTML to send: [FMP-If: Ca€2JnDelete .eq. True] Show the delete button... [/FMP-If] Address example [FMP-If: ClientAddress .eq. keith.company.com] Hi, Keith! [/FMP-If] Text example [FMP-If: CurrentAction .eq. Delete] [include: filename.htm] [FMP-Else] [include: anotherFile.htm] [/FMP-If] [FMP-If: First Name .eq. field: Nick Name] How boring, your nick name is the same as your name. [/FMP-If] [FMP-If: ClientUserName .neq.] Everyone who has entered a user name will see thiKs message. [/FMP-If] Wild card and address list examples [FMP-If: ClientIP .eq. 168.191.* ] [FMP-Include: realformatfile.htm] [FMP-Else] Sorry, you are not allowed to visit this site from outside the company! [/FMP-If] [FMP-If: ClientIP .eq. 5.5.5.5, 6.6.6.6 ] Faster than a speeding bullet. [/FMP-If] [FMP-If: ClientAddress .eq. *.filemaker.com, *.newton.com, *.next.com, *.apple.com] Ask about Apple employee discounts. [/FMP-If] @€2t [FMP-If] IfuTagv6BfieldD ReplacementFif ElseHAlong with the [FM-Else] and [/FMP-If] tags, the [FMP-If] tag controls what HTML is shown by the browser. The [FMP-Else] tag is optional.b€G61H [FMP-Image]JImage2AWhat it does [FMP-Image] is replaced with an image URL pointing to the picture in the specified field. Usually used inside the HTML image () tag or anchor () tag as the URL to the picture. Syntax [FMP-Image: Field name ] Parameter(s) First parameter: The name of a container field Syntax example(s) Display a picture using an HTML file Link to a picture using an HTML file View the image! See alsBo -Img @ €2A            '  4              '  *  h  k               B       3  6  n  q            [  ^                ,  /      €2C        "  %  X  [            2  3  <  G  i  j  n           D             I  L                      D  |  }         €2E           -  ?  g  h  q  |            X              B  } F                    #  4  T  Z                         €2G  M  U  {                                            HW  Y  [  a  e  f            0  6  ;  <  B  D  L  f  i            K€2I                        BA!..$.6... .D.46..$.6... .D._..$.6... .D., ...,..BO.. .D.Configurations.fp3:€2t[FMP-Image] ImageuTagv6D ReplacementFImageHY[FMP-Image] is replaced with an image URL pointing to the picture in the specified field.1€G62H [FMP-Include]JInclude2A|What it does [FMP-Include] is replaced with the contents of another file, usually an HTML format file. Syntax [FMP-Include: Filename ] Parameter(s) First parameter: Name of the file to include. Syntax example(s) Include a file using an HTML file [FMP-If: CurrentError .eq. 509] [FMP-Include: requirefield.htm] [FMP-Else] [FMP-Include: othererror.htm] [/FMP-If] |@AB    i  o                #  .  S  ^  B €2A                 +  =  c  p  y              A ..$.6.H... .D.=6 ..$.6.H... .D. ..$.6.H... .D.3Y)8h010l#€2t[FMP-Include] IncludeuTagv6D ReplacementFIncludeHY[FMP-Include] is replaced with the contents of another file, usually an HTML format file.0€G63H[FMP-LinkFirst]J Link First2AWhat it does The HTML between [FMP-LinkFirst] and [/FMP-LinkFirst] is replaced with a link to the first range of records based on the -Max value used to create the current page. The link that is generated includes all the search and sort criteria that was used to generate the page this tag was on. The text between the two tags is not displayed if the first record is being displayed. Syntax example(s) Display first set of records using an HTML file [FMP-LinkFirst]First set of recordsBV.[/FMP-LinkFirst] See also -Max, [FMP-LinkNext], [FMP-LinkLast], [FMP-LinkPrevious] D@ Y€2AB ..$.6.H... .D.6 ..$.6.H... .D.1PHHB E€2t[FMP-LinkFirst] Link FirstuTagv6DReplacement (looping)F Link FirstHlThe HTML between [FMP-LinkFirst] and [/FMP-LinkFirst] is replaced with a link to the first range of records.E€G64H[FMP-LinkLast]J Link Last2AWhat it does The HTML between [FMP-LinkLast] and [/FMP-LinkLast] is replaced with a link to the last range of records based on the -Max value used to create the current page. The link that is generated includes all the search and sort criteria that was used to generate the page this tag was on. The text between the two tags is not displayed if the last record is being displayed. Syntax example(s) Display the last set of records using an HTML file [FMP-LinkLast]Last set of records.BU[/FMP-LinkLast] See also -Max, [FMP-LinkFirst], [FMP-LinkNext], [FMP-LinkPrevious] C@ €2A                        A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.33qffrffsfftff̙  U€2t[FMP-LinkLast] Link LastuTagv6D ReplacementF Link LastHiThe HTML between [FMP-LinkLast] and [/FMP-LinkLast] is replaced with a link to the last range of records.?€G65H[FMP-LinkNext]J Link Next2AWhat it does The HTML between [FMP-LinkNext] and [/FMP-LinkNext] is replaced with a link to the next range of records based on the -Max and -Skip values used to create the current page. The link that is generated includes all the search and sort criteria that was used to generate the page this tag was on. The text between the two tags is not displayed if the last record in the found set is being displayed. Syntax example(s) Display the next set of records using an HTML file [FMP-LiBunkNext]Next set of records[/FMP-LinkNext] See also -Max, -Skip, [FMP-LinkFirst], [FMP-LinkLast], [FMP-LinkPrevious]c@ €2A                       A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.1kp01l`1i  s€2t[FMP-LinkNext] Link NextuTagv6D ReplacementF Link NextHkThe HTML between [FMP-LinkNext] and [/FMP-LinkNext] is replaced with a link to the next range of records.>€G66H[FMP-LinkPrevious]J Link Previous2AWhat it does The HTML between [FMP-LinkPrevious] and [/FMP-LinkPrevious] is replaced with a link to the previous range records based on the -Max and -Skip value used to create the current page. The link that is generated includes all the search and sort criteria that was used to generate the page this tag was on. The text between the two tags is not displayed if the first record in a found set is being displayed. Syntax example(s) Display the previous set of records using an HTML fileB [FMP-LinkPrevious]Previous set of records[/FMP-LinkPrevious] See also -Max, -Skip, [FMP-LinkFirst], [FMP-LinkLast], [FMP-LinkNext] w@ €2A                     "  A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D. €2t [FMP-LinkPrevious] Link PreviousuTagv6D ReplacementF Link PreviousHrThe HTML between [FMP-LinkPrevious] and [/FMP-LinkPrevious] is replaced with a link to the previous range records.6€G67H[FMP-LinkRecID]JLink to a Record ID2AWhat it does [FMP-LinkRecID] is replaced with a URL to a specific record in a database. The link that is generated includes all the search and sort criteria that was used to generate the page this tag was on. Syntax [FMP-LinkRecID: Format=Pathname , Layout=Layout Name ] Parameter(s) First parameter: Path to the format file to use in the link. Second parameter (optional): Name of a layout to use in the link. Syntax example(s) Display a specific record using a link More detail   €2A                 ,  .  8  A ..$.6.H... .D.6 ..$.6.H... .D.. ..$.6.H... .D..6.H. €2@A                  #  a  b                3  5  AB ..$.6.H... .D.6 ..$.6.H... .D.1PBt#[FMP-LinkRecID] Link to a Record IDuTagv6D ReplacementFLink to RecordHJ[FMP-LinkRecID] is replaced with a URL to a specific record in a database.9€G68H [FMP-Option]JOption2€2AWhat it does [FMP-Option] is replaced with all the values in the value list of the field in that layout. Syntax [FMP-Option: Field Name , List=Value List Name ] Parameter(s) First parameter: Name of a field that the value list is associated with. Second parameter (optional): Name of a value list to use, the default is to use the value list associated with the field on the specified layout. Syntax example(s) Display a pop-up menu with value list using an HTML file Other tags that are required -Lay (required if you haven't specified a list), See also [FMP-ValueList] j@€2t[FMP-Option] OptionuTagv6D ReplacementFOptionH[[FMP-Option] is replaced with all the values in the value list of the field in that layout.6€G69H [FMP-Portal]JPortal2AWhat it does Repeats the HTML between [FMP-Portal] and [/FMP-Portal] for each record in a specified portal. The layout specified by the -Lay tag that was part of the request that created this page must contain fields specified by the relationship in this tag. This tag cannot be used if the -Lay tag was not specified. Syntax [FMP-Portal: Relationship name ] Parameter(s) First parameter: Name of the relationship to repeat over. Syntax example(s) Display a portal using an HTML filBe [FMP-Portal: InvoiceID] [FMP-Field: InvoiceID::Product Name] - [FMP-Field: InvoiceID::Product Count]
[/FMP-Portal] Other tags that are required [/FMP-Portal]  @ €2A    k  q                                       P  X  A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.%30  R€2t[FMP-Portal] PortaluTagv6DReplacement (looping)FPortalH^Repeats the HTML between [FMP-Portal] and [/FMP-Portal] for each record in a specified portal.?€G70H[FMP-RangeEnd]J Range End2AWhat it does [FMP-RangeEnd] is replaced with the record number of the last record being displayed. Syntax example(s) Display the record number of the last record in the range using an HTML file Records [FMP-RangeStart] through [FMP-RangeEnd] of [FMP-CurrentFoundCount] See also [FMP-RangeStart] @A     c  d  e  w     d  m   u€2A~    F  L  [  m  p  }                b  l      ~A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.e [5W({,€2t[FMP-RangeEnd] Range EnduTagv6D ReplacementF Range EndHAo[FMP-RangeEnd] is the replaced with the record number of the last record being displayed (i.e. 11 through 20)o@A>  l  n  >-€G71H[FMP-RangeSize]J Range Size2AWhat it does [FMP-RangeSize] is replaced with the number of records actually displayed on this page. Usually this is equal to [FMP-CurrentMax] except in the case when you are at the end of the record list and -Max records are not available. Syntax example(s) Display the current number of records being viewed using an HTML file You are viewing [FMP-RangeSize] records. See also -Max @ €2A ..$.6.H... .D.w6 ..$.6.H... .D.c ..$.6.H... .D.    i€2t[FMP-RangeSize] Range SizeuTagv6D ReplacementF Range SizeHW[FMP-RangeSize] is replaced with the number of records actually displayed on this page.;€G72H[FMP-RangeStart]J Range Start2AWhat it does [FMP-RangeStart] is replaced with the record number of the first record being displayed. Syntax example(s) Display the record number of the first record being displayed using an HTML file Records [FMP-RangeStart] through [FMP-RangeEnd] of [FMP-CurrentFoundCount] See also [FMP-RangeEnd] @A     f  g  h  z     j  k  t   €2A         N  a  n        A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.  @  ^€2t[FMP-RangeStart] Range StartuTagv6D ReplacementFRange Start Record RangesHAn[FMP-RangeStart] is replaced with the record number of the first record being displayed. (i.e. 11 through 20)n@Af  X  Y  `  b  f2€G73H [FMP-Record]JRecord2AWhat it does Repeats the HTML between [FMP-Record] and [/FMP-Record] for every record up to -Max, starting after skipping -Skip records. Syntax example(s) Display several records using an HTML file [FMP-Record] [FMP-Field: Country] - [FMP-Field: Capital]
[/FMP-Record] Other tags that are required [/FMP-Record] See also -Max, -Skip@ €2A ..$.6.H... .D.z6 ..$.6.H... .D.j ..$.6.H... .D.  @  €2t[FMP-Record] RecorduTagv6DReplacement (looping)FRecordH{Repeats the HTML between [FMP-Record] and [/FMP-Record] for every record up to -Max, starting after skipping -Skip records.2€G74H[FMP-Repeating]J Repeating2AWhat it does Repeats the HTML between [FMP-Repeating] and [/FMP-Repeating] for all the repetitions of the specified field. The tag [FMP-RepeatingItem] is replaced with the contents of a specific repetition. Repeating fields within portals are not supported. The number of repetitions displayed in a repeating field is controlled by the layout specified in the -Lay tag. Syntax [FMP-Repeating: Field Name ] Parameter(s) First parameter: Name of the repeating field. Syntax example( €2A                       A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.%{s Zh<€2Bls) Display a repeating field using an HTML file [FMP-Repeating: Extensions] Alternate phone extensions: [FMP-RepeatingItem]
[/FMP-Repeating] Other tags that are required -DB, [/FMP-Repeating] See also [FMP-RepeatingItem] Z@A    |                      "  /  x      #  <  D  C€2t[FMP-Repeating] RepeatinguTagv6DReplacement (looping)FRepeating FieldsHRepeats the HTML between [FMP-Repeating] and [/FMP-Repeating] for all the repetitions of the specified field. The tag [FMP-RepeatingItem] is replaced with the contents of a specific repetition.?€G75H[FMP-RepeatingItem]JRepeating Item2AWhat it does [FMP-RepeatingItem] is replaced with the contents of the next repetition. Syntax [FMP-RepeatingItem: Encoding ] Parameter(s) First parameter (optional): Encoding. Use one of the following reserved words: Raw - Don't perform any encoding URL - Perform URL encoding HTML - (default) Perform HTML encoding Break - Perform HTML encoding and replace soft returns with
Syntax example(s) Display a repeating field using an HTML file [FMP-Repeating: Extensions]  €2A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.WP r!€2B Alternate phone extensions: [FMP-RepeatingItem]
[/FMP-Repeating] Other tags that are required -DB, [FMP-Repeating], [/FMP-Repeating] @Aj    Y  _  u                           j!"€2t"[FMP-RepeatingItem] Repeating ItemuTagv6D ReplacementFRepeating ItemHI[FMP-RepeatingItem] is replaced with the contents of the next repetition.6€G76H[FMP-SetCookie]J Set Cookie2AWhat it does The [FMP-SetCookie] tag is replaced with nothing in the HTML and is used to store a variable in the user's browser. It is used to store information that will be needed in future visits. A cookie is saved by the browser. Therefore your user's browser must support this feature, and the user must have the feature enabled. Consult the Preliminary Specification for Persistent Client State HTTP Cookies from Netscape for more infomation about Cookies. . You may also check the Cookies and Privacy FAQ from netscape at Syntax [FMP-SetCookie: CookieName =CookieValue, Expires=Minutes , Path=Pathname , Domain=DomainName ] Parameter(s) First parameter: The name and value for the cookie CookieName - The name of the cookie. Must be fewer than 1024 characters. Can either be the contents of a field specified by "field: fieldname" or a text constanCt. CookieValue - The data value of the cookie. Must be fewer than 1024 characters. Can either be the contents of field specified by "field: fieldname" , the reserved word CurrentRecID, or a text constant. Other parameters (optional): These may appear in any order. Expires - The number of minutes in the future that the cookie will expire. If not set, the cookie will expire at the end of the user's session. A value of 0 or a negative number may be used to have cookies expire immedia"$€2Dtely. Path - Sets the path attribute for the cookie. 'Pathname' must be fewer than 256 characters. If not specified, the path defaults to the path to FileMaker Pro. Domain - Sets the domain attribute for the cookie. 'Domain' must be fewer than 256 characters. If not set, the domain defaults to the domain of the server. The total number of characters between the opening and closing square brackets of the [FMP-SetCookie] tag must be less than 2048. Syntax example(s) Set a cookie Eusing an HTML file You have selected your favorite color to be [FMP-Field: ColorChoice]. A "cookie" has been set on your local machine so that the next time you visit our site within the next month we will display the latest products that come in the color [FMP-Field: ColorChoice]. [FMP-SetCookie: ColorChoice=Field: ColorChoice, Expires=43200] See also [FMP-Cookie]  U@A'    `    &  =                              8  9      b B# v                         =  G  &',€2t[FMP-SetCookie] Set CookieuTagv6D ReplacementF Set CookieHThe [FMP-SetCookie] tag is replaced with nothing in the HTML and is used to store a variable in the user's browser. It is used to store information that will be needed between visits.D€G77H[FMP-SortFieldItem]JSort Field Item2AWhat it does [FMP-SortFieldItem] is replaced with the field name that was part of the request that created this page. [FMP-SortFieldItem] should be placed inside the [FMP-CurrentSort] and [/FMP-CurrentSort] tags. Syntax [FMP-SortFieldItem: Encoding ] Parameter(s) First parameter: Encoding. Use one of the following reserved words: Raw - Don't perform any encoding URL - Perform URL encoding HTML - (default) Perform HTML encoding Syntax example(s) Return information about the$% w€2A$ ..$.6.H... .D.H ..$.6.H... .D.6 ..$.6.H... .D. = ..$Bs.6.H... .D.o initialize security.+Error occur^%) €2B current sort using an HTML file Current sort order is:
[FMP-CurrentSort] Field: [FMP-SortFieldItem], Order: [FMP-SortOrderItem]
[/FMP-CurrentSort] Other tags that are required [FMP-CurrentSort], [/FMP-CurrentSort] See also [FMP-SortOrderItem] @AV                      K  \  +  H  p  x  V)*€2t#[FMP-SortFieldItem] Sort Field ItemuTagv6D ReplacementFSort Field ItemHh[FMP-SortFieldItem] is replaced with the field name that was part of the request that created this page.7€G78H[FMP-SortOrderItem]JSort Order Item2AWhat it does [FMP-SortOrderItem] is replaced with the sort order that was part of the request that created this page. [FMP-SortOrderItem] should be placed between the [FMP-CurrentSort] and [/FMP-CurrentSort] tags. Syntax [FMP-SortOrderItem: Encoding ] Parameter(s) First parameter: Encoding. Use one of the following reserved words: Raw - Don't perform any encoding URL - Perform URL encoding HTML - (default) Perform HTML encoding Display - Returns the sort order in the langu'( €2A ..$.6.H... .D.6 ..$.6.H... .D.+ ..$.6.H... .D. 1 (,€2Bage specified by the Web Companion Configuration Syntax example(s) Return information about the current sort using an HTML file Current sort order is:
[FMP-CurrentSort] Field: [FMP-SortFieldItem], Order: [FMP-SortOrderItem]
[/FMP-CurrentSort] Other tags that are required [FMP-CurrentSort], [/FMP-CurrentSort] See also [CFMP-SortFieldItem] @Aj                   2  p                j,-€2t#[FMP-SortOrderItem] Sort Order ItemuTagv6D ReplacementFSort Order Item Sort OrderHh[FMP-SortOrderItem] is replaced with the sort order that was part of the request that created this page.A€G79H[FMP-ValueList]J Value List2AWhat it does Repeats the HTML between [FMP-ValueList] and [/FMP-Valuelist] for all the values in the specified value list. Syntax [FMP-ValueList: Field Name , List=Value List Name ] Parameter(s) First parameter: Name of a field that the value list is associated with. Second parameter (optional): Name of a value list to use. The default is to use the value list associated with the field on the specified layout. Syntax example(s) Display value List using an HTML file [FMP-Value*+ €2A ..$.6.H... .D.26 ..$.6.H... .D. ..$.6.H... .D.HH+/P€2BList: Groups, List=GroupList] [FMP-ValueListItem] [/FMP-ValueList] Other tags that are required [/FMP-ValueList]CF See also [FMP-Option], [FMP-ValueListChecked], [FMP-ValueListItem] "@01€2t[FMP-ValueList] Value ListuTagv6DReplacement (looping)F Value ListHnRepeats the HTML between [FMP-ValueList] and [/FMP-Valuelist] for all the values in the specified value list. 5€G80H[FMP-ValueListChecked]JValue List Checked2AWhat it does [FMP-ValueListChecked] is replaced with the word "checked" for every value list item that has been selected in the specified field. Syntax example(s) Display a value list as radio buttons using an HTML file [FMP-ValueList: Groups] [FMP-ValueListItem] [/FMP-ValueList] Other tags that are required [FMP-ValueList], [/FMP-ValueList] See also [FMP-ValueListItem], [FMP-Option]  @A         ?  S  D  K          45€2t)[FMP-ValueListChecked] Value List CheckeduTagv6D ReplacementFValue List CheckedH[FMP-ValueListChecked] is replaced with the word "checked" for every value list item that has been selected in the specified field.-€G81H[FMP-ValueListItem]JValue List Item2AWhat it does [FMP-ValueListItem] is replaced with the next element of a value list. [FMP-ValueListItem] must be placed between the [FMP-ValueList] and [/FMP-ValueList] tags. Syntax [FMP-ValueListItem: Checked, Encoding ] Parameter(s) First parameter (optional): Checked. Use one of the following reserved words: Checked - Replace with the value list item if it is selected in the database. Replace with nothing if the value list item is not selected in the database. Always - (defau€€2B5D6A87€2B9A;B<:€2B=A?A@>€2BAACB€2BDAFAGE€2BHAJI€2BKFL€2BMAON€2AQP€2BRATS€2AVU€2AXW€2AZY€2A\[€2B]A_^€2@`€Ja2CcAdb€2BeAgf€2Aih€2Bjtkpfmp-currentdate@Rfmp-setcookie@QP @ll€@t€ vunsAxwuBzD{F|H}J~LNPRTVXZ\^`bdfhjlnprtvxz|~@BDFHJLNLN12 €2A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.3333̙33ff333326€2Blt) Always replace with the value list item. Second parameter (optional): Encoding. Use one of the following reserved words: Raw - Don't perform any encoding URL - Perform URL encoding HTML - (default) Perform HTML encoding Syntax example(s) Display value list as radio buttons using an HTML file [FMP-ValueList: Groups] [FMP-ValueListItem] [/FMP-ValueList] Display only value list items that are selected using an HTML file [FMP-ValueList: Groups] [FMP-ValueListItem: checked] [/FMP-ValueList] Other tags that are required -DB, [FMP-ValueList], [/FMP-ValueList] See also [FMP-ValueListChecked], [FMP-Option]Q@A                 ?  @      "  m  ~        )  G  X      # B +   89€2t#[FMP-ValueListItem] Value List ItemuTagv6D ReplacementFValue List ItemHF[FMP-ValueListItem] is replaced with the next element of a value list.F€G82HCheckBoxJ Check Boxes2AWhat it does An HTML input type. Used by a browser to display checkbox(es). This is not a FileMaker Pro tag, This is standard HTML. Do not include calculation or summary field types on add or update format files, as data can't be entered into these field types. Syntax Checkbox Label Field - The name of the field that you want the data to go into. Data - The information that should be placed into the field. Checked (opti67 €2A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.UU U**U7;€2Bonal) - Specifies that the checkbox is checked. If the word "checked" is not present, the checkbox is not checked. Checkbox Label - The label that the user sees in the browser. Syntax example(s) Display checkboxes using an HTML file
France Germany Iceland USA
@<=€2tCheckBox Check BoxesuTagv6DHTMLF Check BoxesH?An HTML input type. Used by a browser to display checkbox(es).M€G83HSelectJ Pop-up Menu2AWhat it does An HTML input type. Used by a browser to display a pop-up menu. This is not a FileMaker Pro tag, This is standard HTML. Do not include calculation or summary field types on add or update format files as data can't be entered into these field types. Syntax Field - The name of the field that you want the data to go into. Data - The information that should be placed into the field. Select9< €2A        $  ,  4  9  B  F  P  ^                    B  J  A$ ..$.6.H... .D.`$ ..$.6.H... .D. ..$.6.H... .D.6 ..$;: €2Bs.6.H... .D.l0 XPZh^:?€2Bed (optional) - Specifies that the menu item is selected. If the word "selected" is not present, the menu item is not selected. Visible Value - The value that the user sees in the browser. Syntax example(s) Display a pop-up menu using an HTML file
h@@A€2tSelect Pop-up MenuuTagv6DHTMLF Pop-up MenuH@An HTML input type. Used by a browser to display a pop up menu.8€G84HRadioJ Radio Buttons2AWhat it does An HTML input type. Used by a browser to display a radio buttons. This is not a FileMaker Pro tag, This is standard HTML. Do not include calculation or summary field types on add or update format files as data can't be entered into these field types. Syntax Radio Button Label Field - The name of the field that you want the data to go into. Data - The information that should be placed into the field. Checked (o=@ €2A            %  *  0  6  >  B  M  Z  ^  d                   B           $  n?> w€2A$ ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.6 ..$Bs.6.H... .D.33ff33333333ff^>C€2Bptional) - Specifies that the radio button is selected. If the word "checked" is not present, the radio button is not selected. Radio Button Label - The label that the user sees in the browser. Syntax example(s) Display radio buttons using an HTML file
France Germany Iceland USA
@CD€2tRadio Radio ButtonsuTagv6DHTMLF Radio ButtonsHBAn HTML input type. Used by a browser to display a radio buttons.4€G85HSelectJScrolling List2AWhat it does An HTML input type. Used by a browser to display a scrolling list. This is not a FileMaker Pro tag, This is standard HTML. Do not include calculation or summary field types on add or update format files as data can't be entered into these field types. Syntax Rows - Number of rows to display in the scrolling list. Field - The name of the field that you want the data to go into.AB K€2A        &  +  3  8  A  E  O  a                      N  S  AB ..$.6.H... .D.6 ..$.6.H... .D.   BBF€2B Data - The information that should be placed into the field. Selected (optional) - Specifies that the scrolling list item is selected. If the word "selected" is not present, the scrolling list item is not selected. Visible Value - The value that the user sees in the browser. Syntax example(s) Display a scrolling list using an HTML file
C
@GH€2tSelect Scrolling ListuTagv6DHTMLFScrolling ListHBAn HTML input type. Used by a browser to display a scrollinglist.4€G86HSubmitJSubmit2AWhat it does An HTML input type. Used by a browser to create a button that will perform an action. FileMaker Pro action tags can be used with a submit button. This is not a FileMaker Pro tag, This is standard HTML. Do not include calculation or summary field types on add or update format files, as data can't be entered into these field types. Syntax Action Tag - Action to perform when the button is pressed. Button TeDG €2A#          !  "  &  '  +  2  7  =  C  K  O  Z  g  k  q      F     B     )  /  H  N  g  m      FE Y€2AB ..$.6.H... .D.6 ..$.6.H... .D.3333ff333333333333BEJ€2Bxt - Button label text. Syntax example(s) Create a new record using an HTML file
France Germany Iceland USA
@AV    c  i  j  x  ~                A      VJK€2t Submit SubmituTagv6DHTMLFSubmitHAn HTML input type. Used by a browser to create a button that will be used to perform an action. FileMaker Pro Action tags can be used with a submit button..€G87HTextJText2AWhat it does An HTML input type. Used by a browser to display a single line of text. This is not a FileMaker Pro tag, This is standard HTML. Do not include calculation or summary field types on add or update format files as data can't be entered into these field types. Syntax Field - The name of the field that you want the data to go into. Data - The information that should be placed into the field. Syntax example(s) Display a teHI Y€2AB ..$.6.H... .D.j6 ..$.6.H... .D.H.bPjPZhBIL€2B'xt field using an HTML file
@A.        ,  0  8  =  F  J            .AB ..$.6.H... .D.6 ..$.6.H... .D.r0sBt Text TextuTagv6DHTMLKMv€F Text FieldHHAn HTML input type. Used by a browser to display a single line of text.'€G88HTextAreaJ Text Area2AWhat it does An HTML input type. Used by a browser to display multiple lines of text. This is not a FileMaker Pro tag, This is standard HTML. Do not include calculation or summary field types in an add or update format files as data can't be entered into these field types. Syntax Field - The name of the field that you want the data to go into. Rows - Number of rows of text to display. Columns - Number of charactLO€2Bers to display per row. Data - The information that should be placed into the field. Syntax example(s) Display a text area using an HTML file
@A      "  $  ,  3  8  ?  C  I  Q  S  W  Z  b  E  W        e  m  OQ€2tTextArea Text AreauTagv6DHTMLF Text AreaHIAn HTML input type. Used by a browser to display multiple lines of text.*€G90H-Script.PreFindJPerform Script Before FindL2AWhat it does Specifies the FileMaker Pro script that should be performed before the finding and sorting of records (if any) during processing of the action. Value is Name of the script to perform. Syntax example(s) Perform a script using a link Run script Perform a script using a form action
Other tags that are required -DB, any action tag See also -Script, -Script.PreSort@MN Y€2AB ..$.6.H... .D."6 ..$.6.H... .D.W  Z BQR#€2t*-Script.PreFind Perform Script Before FinduTagv6DVariableFScripts Do ScriptHSpecifies the FileMaker script that should be performed before the finding and sorting of records (if any) during processing of the action.€G91H-Script.PreSortJPerform Script Before SortL2AWhat it does Specifies the FileMaker Pro script that should be performed after the finding and before the sorting of records (if any) during processing of the action. Value is Name of the script to perform. Syntax example(s) Perform a script using a link Run script Perform a script using a form action
Other tags that are required -DB, any action tag See also -Script, -Script.PreFind@Aj             3  B  e    A  P            jTV€2t*-Script.PreSort Perform Script Before SortuTagv6DVariableFScripts Do ScriptHSpecifies the FileMaker script that should be performed after the finding and before the sorting of records (if any) during processing of the action.€G92H[FMP-CurrentDatabase]JCurrent Database2AWhat it does [FMP-CurrentDatabase] is replaced with the name of the database being processed. Syntax [FMP-CurrentDatabase: Encoding ] Parameter(s) First parameter (optional): Encoding. Use one of the following reserved words: Raw - Don't perform any encoding URL - Perform URL encoding HTML - (default) Perform HTML encoding Syntax example(s) Returns the name of the current database, using an HTML file You are viewing the [FMP-CurrentDatabase: HTML] database. See also -DB P@RS €2A ..$.6.H... .D.6 ..$.6.H... .D. ..$.6.H... .D.(Q @r(VX€2t&[FMP-CurrentDatabase] Current Databasev1D ReplacementFACurrent Database@A  HP[FMP-CurrentDatabase] is replaced with the name of the database being processed.€G93H[FMP-CurrentFormat]JCurrent Format File2AWhat it does [FMP-CurrentFormat] is replaced with the name of the current format file being processed. Syntax [FMP-CurrentFormat: Encoding ] Parameter(s) First parameter (optional): Encoding. Use one of the following reserved words: Raw - Don't perform any encoding URL - Perform URL encoding HTML - (default) Perform HTML encoding Syntax example(s) Returns the name of the current format file, using an HTML file This page was formatted with file: [FMP-CurrentFormat]. See also -Format a@SU €2A    _  `  f  }             T  f        A  B  J  A ..$.6.H... .D.f6 ..$.6.H... .D.B ..$.6.H... .D... .XZ€2t'[FMP-CurrentFormat] Current Format Filev1D ReplacementFACurrent Format@A  HY[FMP-CurrentFormat] is replaced with the name of the current format file being processed.€G94H[FMP-CurrentLayout]JCurrent Layout2AWhat it does [FMP-CurrentLayout] is replaced with the name of the layout being used to process this page. Syntax [FMP-CurrentLayout: Encoding ] Parameter(s) First parameter (optional): Encoding. Use one of the following reserved words: Raw - Don't perform any encoding URL - Perform URL encoding HTML - (default) Perform HTML encoding Syntax example(s) Returns the name of the current layout, using an HTML file This page was formatted using the layout: [FMP-CurrentLayout]. B See also -Lay m@UW €2A    h  i  o               [  m        N  O  W  A ..$.6.H... .D.m6 ..$.6.H... .D.O ..$.6.H... .D.` Z\€2t"[FMP-CurrentLayout] Current Layoutv1D ReplacementFACurrent Layout@A  H\[FMP-CurrentLayout] is replaced with the name of the layout being used to process this page.€G95H[FMP-CurrentMax]J Current Max2AWhat it does [FMP-CurrentMax] is replaced with the maximum number of records that was specified to be displayed on this page. It is the value of the -Max variable that was passed in. Syntax example(s) Returns the current -Max value, using an HTML file Click the button at the bottom of the page to see the next [FMP-CurrentMax] records. See also -Max @A                WY €2A    k  l  r               ^  p        ]  ^  f  A ..$.6.H... .D.p6 ..$.6.H... .D.^ ..$.6.H... .D.`  \]€2t[FMP-CurrentMax] Current Maxv1D ReplacementFA Current Max @A  Hg[FMP-CurrentMax] returns the maximum number of records that was specified to be displayed on this page.€G96H[FMP-FieldName]J Field Name2AWhat it does [FMP-FieldName] is replaced with the name of the current field when this tag is between the [FMP-LayoutFields] and [/FMP-LayoutFields] tags. Syntax [FMP-FieldName: Encoding ] Parameter(s) First parameter (optional): Encoding. Use one of the following reserved words: Raw - Don't perform any encoding URL - Perform URL encoding HTML - (default) Perform HTML encoding Syntax example(s) Create a pop-up menu with all the fields on a layout, using an HTML file