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 8605 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

It does not seem to be working and I have no idea why. Is there a place I can find information on how to use calculation fields to provide HTML information or do you have another suggestion? This is assuming that the calculation you gave me should have mimicked the CDML tag with the raw attribute.

Posted

The calculation doesn't mimick the CDML tag, it replaces paragraph returns (which are ignored by the browser) with a <br> tag which will instert a line return. The calculation work in conjunction with the 'Raw' attribute in the field tag. I don't have access to FMP 5 right now and don't use the instant publishing feature. I'm assuming there's a way to identify web formatting for fields.

In the long term, I STRONGLY recommend using custom web publishing pages.

  • Newbies
Posted

I hope someone can help.

When converted to the built-in web page, fields are stripped of any extra white space. This makes nice formatting difficult.

Q: Is there some way to have the white space recognized or is there another method for creating space.

I am limited to the built-in web publisher. Not my decision, but I have to live with it.

Your help is greatly appreciated.

Jeremy

Posted

For the text to display on the web, create a calculation field. If the comment field is 'comment', create one called 'comment_html', for instance. It should be a calculation set to: Substitute(comment, "***new paragraph symbol***", "<br>"). In your CDML, the tag will look like: [FMP-field: comment_html, Raw].

This topic is 8605 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.