May 30, 200223 yr can an HTML string be created in filemaker. i.e. If I have a calc in FMP that results the following: <td><img src= "artists/pb/pb_02.jpg"></td><td><img src= "artists/pb/pb_03.jpg"></td> can it be loaded into the web page? (kind of like an include file, but the string is coming from a field)
May 30, 200223 yr Yes. Just be sure that in the html format file the field is specified as raw [FMP-Field: calcfield, raw] to stop web companion from converting it to viewable text.
May 30, 200223 yr I believe the IncludeField tag will do this as well -- almost no different except that it doesn't require the addition parameter. CDML Reference says: [FMP-IncludeField] is replaced with the contents of a field, usually a text field that contains an HTML format file. ...but of course it doesn't need to contain the text of a full format file (i.e., starting with an HTML tag). It can contain any valid piece of html code.
May 31, 200223 yr RE: [FMP-IncludeField] vs. [FMP-Field] with RAW The [FMP-Field] with RAW is still shorter by couple of letters than [FMP-IncludeField]
Create an account or sign in to comment