Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 8281 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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)

Posted

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.

Posted

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.

Posted

Thanks John I forgot that.

Note that it's only in FMP 5.0 and later.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.