Jump to content

White Space and Built-in Web


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

Recommended Posts

  • Newbies

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Newbies

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

Link to comment
Share on other sites

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].

Link to comment
Share on other sites

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