rivet Posted May 30, 2002 Posted May 30, 2002 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)
Vaughan Posted May 30, 2002 Posted May 30, 2002 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.
john white ifc Posted May 30, 2002 Posted May 30, 2002 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.
Vaughan Posted May 31, 2002 Posted May 31, 2002 Thanks John I forgot that. Note that it's only in FMP 5.0 and later.
Anatoli Posted May 31, 2002 Posted May 31, 2002 RE: [FMP-IncludeField] vs. [FMP-Field] with RAW The [FMP-Field] with RAW is still shorter by couple of letters than [FMP-IncludeField]
Recommended Posts
This topic is 8281 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now