|
|
|
CDML
- Using Multiple Tokens With FileMaker Pro 5.0
Up to nine tokens
can now be utilized in Custom Web Pages hosted by FileMaker Pro 5.0, by
using a slightly different syntax than that used for the token tag in
previous versions. The variable tag -Token can now have an optional token
specifier, in the form “-Token.X” where X can be a number 0 through 9.
If no period follows the -Token keyword, token zero is implied.
To retrieve the value of a token, the FMP-CurrentToken tag now also accepts
another parameter that is a number, of value 0 through 9. If there is
no number parameter then token zero is returned.
When used within an FMP-IF conditional statement, the CurrentToken constant
now has an optional specifier for which token to evaluate, in the form
“CurrentToken:3”
Syntax Examples:
<INPUT TYPE="HIDDEN" NAME ="-Token.3" VALUE ="[FMP-CurrentToken:
3]">
[FMP-If: CurrentToken:5.eq.{CurrentToken:6}]
<B>Token 5 equals token 6.</B>
[/FMP-If]
Many enhancements and new CDML tags have been
added to the FileMaker Pro Web Companion version 5. Click
here for the .PDF File
|